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

#   Set button color of cart module

##

- **[aromamassage](/forum/user/64297-aromamassage "View aromamassage's Profile")**
- [![aromamassage's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/64297-aromamassage "View aromamassage's Profile") Topic Author
- [ Offline](/forum/user/64297-aromamassage)

Less More

- Posts: 48
- Thank you received: 5
-
-

2 years 3 days ago -  2 years 3 days ago [\#364557](#364557) by [aromamassage](/forum/user/64297-aromamassage "View aromamassage's Profile")  *[Set button color of cart module](/forum/27-checkout/908896-set-button-color-of-cart-module#364557 "Hi all, I created a user.css for my cassiopeia template where the buttons and cards have a dark background and light text.  now I have this problem: the hikashop cart module (set as card module style in settings) appears with a light background and light text. basically from what I saw of the user.css it only takes the text color and from hikashop.css it takes the light background of the hikabtn that I can't change in any way.  how can I set it using only the user.css? or only the hikabtn css only for this module?")* was created by *[aromamassage](/forum/user/64297-aromamassage "View aromamassage's Profile")*

Hi all, I created a user.css for my cassiopeia template where the buttons and cards have a dark background and light text.

now I have this problem:
the hikashop cart module (set as card module style in settings) appears with a light background and light text.  [ ![Immagine1.png](/forum/attachment/60015) ](/forum/attachment/60015 "Immagine1.png")

basically from what I saw of the user.css it only takes the text color  [ ![Immagine3&#95;2024-11-20.png](/forum/attachment/60013) ](/forum/attachment/60013 "...2024-11-20.png")

and from hikashop.css it takes the light background of the hikabtn that I can't change in any way.  [ ![Immagine4&#95;2024-11-20.png](/forum/attachment/60012) ](/forum/attachment/60012 "...2024-11-20.png")

how can I set it using only the user.css? or only the hikabtn css only for this module?

**\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_
Moderator :**
Please don't edit your message long after posting it, this messes up our ticket service system,
and increases our response times for everyone, you understand.
Thank you for understanding

- [ ![Immagine4&#95;2024-11-20.png](/forum/attachment/60012) ](/forum/attachment/60012 "...2024-11-20.png") [ ](/forum/attachment/60012?download=1 "...2024-11-20.png")
- [ ![Immagine3&#95;2024-11-20.png](/forum/attachment/60013) ](/forum/attachment/60013 "...2024-11-20.png") [ ](/forum/attachment/60013?download=1 "...2024-11-20.png")
- [ ![Immagine2.png](/forum/attachment/60014) ](/forum/attachment/60014 "Immagine2.png") [ ](/forum/attachment/60014?download=1 "Immagine2.png")
- [ ![Immagine1.png](/forum/attachment/60015) ](/forum/attachment/60015 "Immagine1.png") [ ](/forum/attachment/60015?download=1 "Immagine1.png")

Last edit: 2 years 3 days ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwODg5Ni1zZXQtYnV0dG9uLWNvbG9yLW9mLWNhcnQtbW9kdWxlP3RtcGw9bWFya2Rvd24=) 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: 86582
- Thank you received: 14322
-
-

2 years 3 days ago [\#364562](#364562) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Set button color of cart module](/forum/27-checkout/908896-set-button-color-of-cart-module#364562 "Hi all, I created a user.css for my cassiopeia template where the buttons and cards have a dark background and light text.  now I have this problem: the hikashop cart module (set as card module style in settings) appears with a light background and light text. basically from what I saw of the user.css it only takes the text color and from hikashop.css it takes the light background of the hikabtn that I can't change in any way.  how can I set it using only the user.css? or only the hikabtn css only for this module?")*

Hi,

Why can't you change the color of the hikabtn in your user.css ? I'm not following you.

For example, if you use: Code:

.hikabtn{ color: blue !important; }

in your user.css, I don't see how the CSS from the hikashop.css would be able to take priority.

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

- **[aromamassage](/forum/user/64297-aromamassage "View aromamassage's Profile")**
- [![aromamassage's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/64297-aromamassage "View aromamassage's Profile") Topic Author
- [ Offline](/forum/user/64297-aromamassage)

Less More

- Posts: 48
- Thank you received: 5
-
-

2 years 2 days ago [\#364571](#364571) by [aromamassage](/forum/user/64297-aromamassage "View aromamassage's Profile")  Replied by *[aromamassage](/forum/user/64297-aromamassage "View aromamassage's Profile")* on topic *[Set button color of cart module](/forum/27-checkout/908896-set-button-color-of-cart-module#364571 "Hi all, I created a user.css for my cassiopeia template where the buttons and cards have a dark background and light text.  now I have this problem: the hikashop cart module (set as card module style in settings) appears with a light background and light text. basically from what I saw of the user.css it only takes the text color and from hikashop.css it takes the light background of the hikabtn that I can't change in any way.  how can I set it using only the user.css? or only the hikabtn css only for this module?")*

I can't change it because if I insert the string you suggested it changes all the writings of all the hika buttons, therefore also of the add to cart, details and whishlist buttons that I would like to remain the same, because they see themselves well as they are

Similarly, if I insert Code:

.hikabtn{ background-color: blue !important; }

it changes the background of all the buttons.

I actually want to change or set only the cart module button.

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

- **[Philip](/forum/user/34318-philip "View Philip's Profile")**
- [![Philip's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34318-philip "View Philip's Profile")
- [ Offline](/forum/user/34318-philip)

Less More

- Posts: 4820
- Thank you received: 652
-
-

2 years 2 days ago -  2 years 2 days ago [\#364575](#364575) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Set button color of cart module](/forum/27-checkout/908896-set-button-color-of-cart-module#364575 "Hi all, I created a user.css for my cassiopeia template where the buttons and cards have a dark background and light text.  now I have this problem: the hikashop cart module (set as card module style in settings) appears with a light background and light text. basically from what I saw of the user.css it only takes the text color and from hikashop.css it takes the light background of the hikabtn that I can't change in any way.  how can I set it using only the user.css? or only the hikabtn css only for this module?")*

Hello,

Then you can add another **class**/**id** in your **selector** in order to restrict the command to the required context.
In details, **before :**
**.hikabtn{ color: blue !important; }**
**after :**
**.required\_context\_class\_html .hikabtn{ color: blue !important; }**

Regards

Last edit: 2 years 2 days ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

- **[aromamassage](/forum/user/64297-aromamassage "View aromamassage's Profile")**
- [![aromamassage's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/64297-aromamassage "View aromamassage's Profile") Topic Author
- [ Offline](/forum/user/64297-aromamassage)

Less More

- Posts: 48
- Thank you received: 5
-
-

2 years 2 days ago [\#364594](#364594) by [aromamassage](/forum/user/64297-aromamassage "View aromamassage's Profile")  Replied by *[aromamassage](/forum/user/64297-aromamassage "View aromamassage's Profile")* on topic *[Set button color of cart module](/forum/27-checkout/908896-set-button-color-of-cart-module#364594 "Hi all, I created a user.css for my cassiopeia template where the buttons and cards have a dark background and light text.  now I have this problem: the hikashop cart module (set as card module style in settings) appears with a light background and light text. basically from what I saw of the user.css it only takes the text color and from hikashop.css it takes the light background of the hikabtn that I can't change in any way.  how can I set it using only the user.css? or only the hikabtn css only for this module?")*

Solved adding hikashop_cart_proceed_to_checkout.

Thanks

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwODg5Ni1zZXQtYnV0dG9uLWNvbG9yLW9mLWNhcnQtbW9kdWxlP3RtcGw9bWFya2Rvd24=) 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.088 seconds

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