[Skip to main content](#vessel-content)

#   Comment changer couleur bouton ajouter au panier

##

- **[Myck\_1977](/forum/user/61512-myck-1977 "View Myck&#95;1977's Profile")**
- [![Myck&#95;1977's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/61512-myck-1977 "View Myck&#95;1977's Profile") Topic Author
- [ Offline](/forum/user/61512-myck-1977)

Less More

- Posts: 18
- Thank you received: 2
-
-

4 years 9 months ago [\#339432](#339432) by [Myck\_1977](/forum/user/61512-myck-1977 "View Myck&#95;1977's Profile")  *[Comment changer couleur bouton ajouter au panier](/forum/5-support-en-francais-french-support-/903975-comment-changer-couleur-bouton-ajouter-au-panier#339432 "-- HikaShop version -- : 4.4.5 -- Joomla version -- : 4.0.6 -- PHP version -- : 7.4 -- Browser(s) name and version -- : Chrome  Comment changer la couleur de ses boutons ? Même si je change de template, il y a aucune différence sur eux.")* was created by *[Myck\_1977](/forum/user/61512-myck-1977 "View Myck&#95;1977's Profile")*

-- HikaShop version -- : 4.4.5
-- Joomla version -- : 4.0.6
-- PHP version -- : 7.4
-- Browser(s) name and version -- : Chrome

Comment changer la couleur de ses boutons ? Même si je change de template, il y a aucune différence sur eux.

- [ ![bouton.jpg](/forum/attachment/54361) ](/forum/attachment/54361 "bouton.jpg") [ ](/forum/attachment/54361?download=1 "bouton.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vOTAzOTc1LWNvbW1lbnQtY2hhbmdlci1jb3VsZXVyLWJvdXRvbi1ham91dGVyLWF1LXBhbmllcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86587
- Thank you received: 14325
-
-

4 years 9 months ago -  4 years 9 months ago [\#339436](#339436) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Comment changer couleur bouton ajouter au panier](/forum/5-support-en-francais-french-support-/903975-comment-changer-couleur-bouton-ajouter-au-panier#339436 "-- HikaShop version -- : 4.4.5 -- Joomla version -- : 4.0.6 -- PHP version -- : 7.4 -- Browser(s) name and version -- : Chrome  Comment changer la couleur de ses boutons ? Même si je change de template, il y a aucune différence sur eux.")*

Bonjour,

Ces boutons utilisent par défaut le CSS d'HikaShop, et non celui du template.
Dans la configuration HikaShop, vous avez une option "CSS pour les boutons" dans l'onglet "Affichage". Par défaut, vous avez "hikabtn" dans cette option qui correspond à la classe des boutons dans HikaShop. En dessous de cette option, vous avez également l'option "CSS en plus pour les boutons d'ajout au panier" avec la valeur "hikacart" qui correspond à la classe des boutons d'ajout au panier dans HikaShop.

Vous avez plusieurs solutions à votre disposition:

- Votre template dispose de CSS pour les boutons. Auquel cas, il suffit de changer ces classes par les classes fournies par votre template. Par exemple, les templates utilisant bootstrap devraient avoir la classe "btn" et la classe "btn-dark" si vous voulez que le bouton soit noir : [ getbootstrap.com/docs/4.0/components/buttons/](https://getbootstrap.com/docs/4.0/components/buttons/)
Donc là, il faut voir ce que propose votre fournisseur de template.

- Vous pouvez sinon acheter le pack de style que nous proposons: [ www.hikashop.com/download/styles-for-hikashop.html](https://www.hikashop.com/download/styles-for-hikashop.html)
En fonction de la couleur du pack, les boutons et autres éléments d'HikaShop utiliseront automatiquement la gamme de couleur du pack. Donc c'est un bon moyen pour adapter HikaShop aux couleurs de votre template sans vous prendre la tête.

- Enfin, vous pouvez également directement rajouter du code CSS pour la classe hikacart. Par exemple:
.hikacart{ background-color: blue !important; }
Nous avons un tutoriel qui explique comment rajouter du code CSS à HikaShop: [ www.hikashop.com/support/documentation/1...ize-the-display.html](https://www.hikashop.com/support/documentation/153-customize-the-display.html)

Last edit: 4 years 9 months ago by [nicolas](/forum/user/63-nicolas "View nicolas's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vOTAzOTc1LWNvbW1lbnQtY2hhbmdlci1jb3VsZXVyLWJvdXRvbi1ham91dGVyLWF1LXBhbmllcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Myck\_1977](/forum/user/61512-myck-1977 "View Myck&#95;1977's Profile")**
- [![Myck&#95;1977's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/61512-myck-1977 "View Myck&#95;1977's Profile") Topic Author
- [ Offline](/forum/user/61512-myck-1977)

Less More

- Posts: 18
- Thank you received: 2
-
-

4 years 9 months ago -  4 years 9 months ago [\#339457](#339457) by [Myck\_1977](/forum/user/61512-myck-1977 "View Myck&#95;1977's Profile")  Replied by *[Myck\_1977](/forum/user/61512-myck-1977 "View Myck&#95;1977's Profile")* on topic *[Comment changer couleur bouton ajouter au panier](/forum/5-support-en-francais-french-support-/903975-comment-changer-couleur-bouton-ajouter-au-panier#339457 "-- HikaShop version -- : 4.4.5 -- Joomla version -- : 4.0.6 -- PHP version -- : 7.4 -- Browser(s) name and version -- : Chrome  Comment changer la couleur de ses boutons ? Même si je change de template, il y a aucune différence sur eux.")*

Salutation!

Merci pour votre aide rapide ! Tout fonctionne très bien !

[ ![w2.jpg](/forum/attachment/54362) ](/forum/attachment/54362 "w2.jpg")

[ ![w1.jpg](/forum/attachment/54365) ](/forum/attachment/54365 "w1.jpg")

J'ai fait --warning vraiment simple !

- [ ![w2.jpg](/forum/attachment/54362) ](/forum/attachment/54362 "w2.jpg") [ ](/forum/attachment/54362?download=1 "w2.jpg")
- [ ![w1.jpg](/forum/attachment/54365) ](/forum/attachment/54365 "w1.jpg") [ ](/forum/attachment/54365?download=1 "w1.jpg")

Last edit: 4 years 9 months ago by [Myck\_1977](/forum/user/61512-myck-1977 "View Myck&#95;1977's Profile").

The following user(s) said Thank You: [Philip](/forum/user/34318-philip "View Philip's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzUtc3VwcG9ydC1lbi1mcmFuY2Fpcy1mcmVuY2gtc3VwcG9ydC0vOTAzOTc1LWNvbW1lbnQtY2hhbmdlci1jb3VsZXVyLWJvdXRvbi1ham91dGVyLWF1LXBhbmllcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.052 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
