Nérim Posted March 25, 2011 Share Posted March 25, 2011 Bonjour,J'adapte mon thème version 1.3 vers la 1.4 et je viens de m'apercevoir que le thème prestashop de base avec la 1.4 permet l'alignement de 5 sous catégories par lignes, c'est bien mais il y a un hic...Le texte sous l'image d'une sous catégorie se décale lorsque l'on commence à avoir pas mal de sous catégorie. (voir image)Il s'agit du category.css /* category.tpl */ body#category #subcategories li { height: 136px; width: 108px; margin-right: 3px } div.cat_desc { margin: 0 1em } body#category div#subcategories .inline_list a img { display: inline; border: 1px solid #3399ff } #category img#categoryImage { margin-top: 1em } Et hélas je bloque bêtement dessus...Une aide serait la bienvenue Link to comment Share on other sites More sharing options...
Nérim Posted March 28, 2011 Author Share Posted March 28, 2011 J'ai donc trouvé la solution, la voici pour ceux qui seront éventuellement confronté à ce problème plus tard.Il faut donc modifier le category.css ça : body#category #subcategories li { height: 136px; width: 108px; margin-right: 3px } avec ça body#category #subcategories li { height: 136px; width: 17%; margin-left: 14px } Je passe le sujet en résolu. Link to comment Share on other sites More sharing options...
brag Posted July 10, 2012 Share Posted July 10, 2012 Merci, ça m'a dépanné. ++ 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