Need-Design Posted February 27, 2014 Share Posted February 27, 2014 Bonjour, J'ai un petit soucis avec ce module. J'aimerais qu'il affiche en horizontal. Or ce n'est pas le cas (voir fichier 15.png). Je suppose qu'il faut intervenir en dur sur le fichier tpl, mais je n'ai absolument aucune idée de comment faire.. J'ai tant bien que mal essayé de chercher sur le forum, mais c'est très vague et aucune solution ne fonctionne. Pouvez-vous m'éclairer ? En vous remerciant infiniment. Prestashop (1.5.6.2) Link to comment Share on other sites More sharing options...
Szed Posted February 27, 2014 Share Posted February 27, 2014 C'est simplement du CSS. Mais sans lien, difficile de vous dire précisément quoi modifier. Dans l'idée, il faut passer les blocs (ca doit être des éléments li, ou des div) en float:left, de façon a ce qu'il se positionne les uns à la suite des autres, donc horizontalement. Il y aura ensuite un peu de CSS pour les margins, la hauteur, etc. Link to comment Share on other sites More sharing options...
Amokless Posted February 27, 2014 Share Posted February 27, 2014 Bonjour, Appliquer un float:left dans le css du module. une url aurait était utile pour vous donner la solution... Cordialement, Math Link to comment Share on other sites More sharing options...
Need-Design Posted February 27, 2014 Author Share Posted February 27, 2014 http://cjoint.com/?DBBmAxj9EZq Voici le fichier ZIP contenant le module concerné. Il y'a le fichier TPL dedans. http://paniclope.fr Voici le lien de la boutique Link to comment Share on other sites More sharing options...
Amokless Posted February 27, 2014 Share Posted February 27, 2014 greenstyle.css ligne 1314 rajouter float:left Link to comment Share on other sites More sharing options...
Need-Design Posted February 27, 2014 Author Share Posted February 27, 2014 Je ne trouve pas le fichier greenstyle. Il est dans le dossier du module concerné ? Link to comment Share on other sites More sharing options...
Need-Design Posted February 27, 2014 Author Share Posted February 27, 2014 C'est bon je l'ai trouvé. Il est dans thème/trendy/ J'ai bien modifié la ligne 1314 en ajoutant dans celle ci : . carousel li.item { float:left; padding-top:5px; margin-left:16px; width:156px;} Ca fonctionne, impeccable. Je vous remercie infiniment. 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