diff --git a/.idea/workspace.xml b/.idea/workspace.xml index fc962f77..c0ea94fa 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -11,13 +11,9 @@ - - - - + - @@ -29,17 +25,18 @@ - - - - - + + + + + + @@ -143,6 +140,7 @@ + @@ -213,66 +211,68 @@ - - - + + + - + - + - + - + - + - + - - + + - + - - + + - - + + - - + + - + - - + + + + @@ -293,7 +293,6 @@ - @@ -369,7 +368,7 @@ - + 1602059851601 @@ -434,7 +433,14 @@ - @@ -465,7 +471,8 @@ - @@ -480,70 +487,70 @@ - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + @@ -553,10 +560,10 @@ - + - + diff --git a/modules/mesCategories/translations/fr.php b/modules/mesCategories/translations/fr.php index d365b061..d4c779a4 100644 --- a/modules/mesCategories/translations/fr.php +++ b/modules/mesCategories/translations/fr.php @@ -13,3 +13,4 @@ $_MODULE['<{mescategories}prestashop>mescategories_c9cc8cce247e49bae79f15173ce97 $_MODULE['<{mescategories}prestashop>configure_464e37a930f5702c14f862ab9497860d'] = 'Module d\'affichage de vos catégories'; $_MODULE['<{mescategories}prestashop>configure_0b79795d3efc95b9976c7c5b933afce2'] = 'Bienvenue sur le module d\'affichage de vos catégories !'; $_MODULE['<{mescategories}prestashop>configure_261addf78c7b2c961032b3dd08ba0b1f'] = 'Ce module peut être inséré sur votre page d\'accueil (par exemple) et y faire apparaitre la liste de vos catégories (sous forme d\'images) ainsi que toutes les sous-catégories contenues dans chacune d\'elles.'; +$_MODULE['<{mescategories}prestashop>displayhome_7b058d2a2bc435374b0243f59844e3b1'] = 'Nos produits'; diff --git a/modules/mesCategories/views/css/front.css b/modules/mesCategories/views/css/front.css index acdd41b4..03481048 100644 --- a/modules/mesCategories/views/css/front.css +++ b/modules/mesCategories/views/css/front.css @@ -1,3 +1,7 @@ +#content > section.section-mesCategories > h2 { + display: block; + text-align: center; +} /* Container principal */ #mesCategories { @@ -9,7 +13,6 @@ text-align: center; } - /* Sous-catégories (liens hypertexte) */ .subcategory { display: flex; @@ -36,10 +39,8 @@ text-align: center; } - - .subcategories-list { - margin-left: -150px; + margin-left: -145px; line-height: 1.7rem; z-index: 3; text-align: left; diff --git a/modules/mesCategories/views/templates/hook/displayHome.tpl b/modules/mesCategories/views/templates/hook/displayHome.tpl index 249ac771..65b246d8 100644 --- a/modules/mesCategories/views/templates/hook/displayHome.tpl +++ b/modules/mesCategories/views/templates/hook/displayHome.tpl @@ -1,32 +1,33 @@ - -
-
    - {foreach from=$categories item=category name=category_list} -
  • -
    -
    - {if $SHOW_IMAGES} -
    -
    {$category.category_name}
    - {$category.category_name|escape:'html':'UTF-8'} -
    - {else} -

    {$category.category_name}

    - {/if} -
    +
    +

    {l s='Section title' mod='mesCategories'}

    +
    + -
    - \ No newline at end of file +
  • + {/foreach} +
+
+ diff --git a/themes/classic-child/assets/css/custom.css b/themes/classic-child/assets/css/custom.css index 64878347..aa7a912f 100644 --- a/themes/classic-child/assets/css/custom.css +++ b/themes/classic-child/assets/css/custom.css @@ -24,7 +24,6 @@ color: black; } -/* Barre des catégories */ #header .header-top { padding-bottom: 0; } @@ -38,6 +37,11 @@ white-space: nowrap; } +#searchbox > p { + margin-right: 10px; +} + + /* Espace au-dessus de la bannière */ #wrapper {