Kasbabutik Posted February 8, 2015 Share Posted February 8, 2015 Bonjour à tous, Comment modifier le nom (libellé) dans le bouton Ajouter au Panier, par par exemple "Acheter" ? et en profiter pour diminuer la taille du bouton (thème par defaut v1.6). Merci par avance Patrik Link to comment Share on other sites More sharing options...
Dooky Posted October 20, 2015 Share Posted October 20, 2015 Bonjour, avez vous trouvé une réponse pour modifier la taille du bouton? la réponse m'intéresse! Cordialement Link to comment Share on other sites More sharing options...
Mediacom87 Posted October 20, 2015 Share Posted October 20, 2015 Bonjour, ce genre de texte se change par l'outil de traduction de PrestaShop (http://doc.prestashop.com/display/PS16/Traductions) Pour la taille du texte cela se passe au niveau de la configuration CSS de votre template. Link to comment Share on other sites More sharing options...
Alexandre Carette Posted October 20, 2015 Share Posted October 20, 2015 Bonjour, je vous ai fait un screen cast http://www.alexandrecarette.com/mp4/Kazam_screencast_00001.mp4 Link to comment Share on other sites More sharing options...
Dooky Posted October 20, 2015 Share Posted October 20, 2015 Bonjour, merci pour votre aide! je pense avoir trouvé l'endroit où la dimension du bouton doit être changé, mais je ne vois pas où exactement, j'ai plusieurs instances de button.ajax_add_to_cart_button, mais pas d'iindication sur la taille du bouton dans le global.css .button.ajax_add_to_cart_button { font: 300 14px/20px Arial, Helvetica, sans-serif; color: white; padding: 0; border: 1px solid; border-color: #333333; } .button.ajax_add_to_cart_button span { border: 1px solid; border-color: #333333; padding: 5px 10px; display: block; background: #333333; background: -webkit-gradient(linear, 0 0, 0 bottom, from(#333333), to(#222222)); background: -webkit-linear-gradient(#333333, #222222); background: -moz-linear-gradient(#333333, #222222); background: -ms-linear-gradient(#333333, #222222); background: -o-linear-gradient(#333333, #222222); background: linear-gradient(#333333, #222222); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='$a', endColorstr='$b',GradientType=0); } .button.ajax_add_to_cart_button:hover { border-color: #333333; background: #222222; background: -webkit-gradient(linear, 0 0, 0 bottom, from(#222222), to(#333333)); background: -webkit-linear-gradient(#222222, #333333); background: -moz-linear-gradient(#222222, #333333); background: -ms-linear-gradient(#222222, #333333); background: -o-linear-gradient(#222222, #333333); background: linear-gradient(#222222, #333333); filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='$a', endColorstr='$b',GradientType=0); } .button.ajax_add_to_cart_button:hover span { filter: none; background: #0084bf; } une idée? Cordialement Link to comment Share on other sites More sharing options...
Mediacom87 Posted October 21, 2015 Share Posted October 21, 2015 Salut, Vous souhaitez jouer au jeu du "Je te propose un code et tu me dit si c’est le bon" ? Perso pas trop, donc donnez nous accès au site pour que nous puissions analyser celui-ci et vous donner la ligne à traiter. Link to comment Share on other sites More sharing options...
Dooky Posted October 21, 2015 Share Posted October 21, 2015 Bonjour, Merci pour votre réponse j'avoue ne pas être très à l'aise avec le code... le site est le suivant: www.dooky.fr le problème est la taille du bouton "ajouter au panier" lorsque l'on rentre dans le détail du produit, Cordialement Link to comment Share on other sites More sharing options...
Dooky Posted October 21, 2015 Share Posted October 21, 2015 Bonsoir, bon j'ai résolu le problème! L'installation du module paypal m'avait ajoutée une icone dans la colone de droite... je l'ai simplement supprimé, Cordialement 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