Loïc Casadei Posted May 30, 2016 Share Posted May 30, 2016 Bonjour à tous, Je viens de me lancer dans la création de mon site internet avec presta 1.6... Je suis au gros débutant.J'aimerais changer la couleur de fond de mon bouton "SHOP NOW" dans le slider.J'ai ce code : <p><button class="btn btn-default">Shop now !</button></p> Et j'aimerais ajouter une couleur de fond : #d60270 et une écriture blanche mais je n'arrive pas à écrire le code Quelqu'un pour me sortir de là ? Merci www.test.leptitcasa.com Link to comment Share on other sites More sharing options...
ChDUP Posted May 31, 2016 Share Posted May 31, 2016 ajoutez un peu de css en bas de votre global.css #homepage-slider .homeslider-description button.btn { color:#FFFFFF; background-color:#D60270; } Link to comment Share on other sites More sharing options...
Loïc Casadei Posted May 31, 2016 Author Share Posted May 31, 2016 (edited) Bonjour et merci pour votre réponse.Tu es un champion du monde ahah Du coup j'en profite : Comment on modifie la couleur du bouton ajouter au panier dans la page d'accueil (quand on survole les produits ?) Edited May 31, 2016 by Loïc Casadei (see edit history) Link to comment Share on other sites More sharing options...
ChDUP Posted May 31, 2016 Share Posted May 31, 2016 ligne 6142 du global.css notez que ça va également modifier les boutons présents dans les pages catégories. Si vous ne voulez changer que ceux de l'accueil, il faut cibler l’élément plus précisement. 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