decembre Posted January 20, 2024 Share Posted January 20, 2024 Prestashop 1.7.8.8 Bonjour, Je souhaiterais avoir 3 images sur une ligne (3 coonnes) au lieu de 4 (4 colonnes) sur la page d'accueil comme les pages des autres catégories. Comment puis-je faire la modification ? (J'ai évité de parler de colonnes dans le titre pour ne pas confondre avec les colonne gauche et droite du thème). Merci de votre aide. Cordialement. Link to comment Share on other sites More sharing options...
decembre Posted February 8, 2024 Author Share Posted February 8, 2024 Bonjour, Merci pour votre réponse mais je ne trouve pas. Cordialement. Link to comment Share on other sites More sharing options...
Mediacom87 Posted February 8, 2024 Share Posted February 8, 2024 On 2/8/2024 at 7:51 AM, decembre said: Bonjour, Merci pour votre réponse mais je ne trouve pas. Cordialement. Expand Bonjour, c'est tout à fait logique puisqu'il n'a jamais existé d'éditeur de code dans PrestaShop pour modifier les fichiers du thème. Pour modifier le nombre de produits afficher par ligne sur votre page d'accueil, il faut identifier quel(s) module(s) est (sont) affichées sur la page d'accueil et se rendre dans le code des templates liés à ces modules et surcharger ceux-ci pour en modifier le comportement. Link to comment Share on other sites More sharing options...
Ushavilash Posted February 8, 2024 Share Posted February 8, 2024 On 1/20/2024 at 8:12 AM, decembre said: Prestashop 1.7.8.8 Hello, I would like to have 3 images on a line (3 columns) instead of 4 (4 columns) on the home page like the pages of the other categories. How can I make the modification? (I avoided talking about columns in the title so as not to confuse them with the left and right columns of the theme). Thank you for your help. Sincerely. Expand You can do this by using grid layout in your CSS file. Look for the section that controls the homepage grid layout and change the column settings from 4 to 3. Link to comment Share on other sites More sharing options...
Mediacom87 Posted February 8, 2024 Share Posted February 8, 2024 On 2/8/2024 at 9:09 AM, Ushavilash said: Vous pouvez le faire en utilisant la disposition en grille dans votre fichier CSS. Recherchez la section qui contrôle la disposition en grille de la page d'accueil et modifiez les paramètres des colonnes de 4 à 3. Expand @Ushavilash Merci à vous de respecter la langue correspondant à la section du forum dans laquelle vous déposez votre réponse. Link to comment Share on other sites More sharing options...
Ushavilash Posted February 15, 2024 Share Posted February 15, 2024 On 2/8/2024 at 10:46 AM, Mediacom87 said: @UshavilashPlease respect the language corresponding to the section of the forum in which you post your response. Expand Sorry for that I'll keep in my mind. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now