Korenn Posted July 1, 2016 Share Posted July 1, 2016 Bonjour, Je découvre tout juste le CSS pour essayer de personnaliser ma boutique prestashop, et je n'ai pas trouvé de quelle manière centrer les titres des catégories (voir image). Est-ce que quelqu'un sait comment faire ? Merci d'avance Link to comment Share on other sites More sharing options...
Ariane Web et Plus Posted July 1, 2016 Share Posted July 1, 2016 Bonjour, Dans le fichier catégory.css vers la ligne 15 : Trouvez le bloc .content_scene_cat span.category-name { font: 600 42px/51px "Open Sans", sans-serif; color: #fff; margin-bottom: 12px; } et rajoutez à la fin display: block; text-align: center; Ca devrait marcher. bonne journée Link to comment Share on other sites More sharing options...
Korenn Posted July 4, 2016 Author Share Posted July 4, 2016 Merci beaucoup, j'attendais de pouvoir tester au boulot avant de répondre, et ça fonctionne. En fait j'avais tenté text-align: center tout seul et ça ne fonctionnait pas. 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