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

#   hikashop css is loaded after user.css is loaded

##

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

Less More

- Posts: 40
- Thank you received: 0
-
-

10 months 1 day ago [\#369975](#369975) by [W13ear](/forum/user/46011-w13ear "View W13ear's Profile")  *[hikashop css is loaded after user.css is loaded](/forum/27-checkout/910024-hikashop-css-is-loaded-after-user-css-is-loaded#369975 "-- HikaShop version -- : 6.1.1 -- Joomla version -- : 5.3.4 -- PHP version -- : 8.4.x -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : none  When I change, in the user.css, the colors of the buttons, they are overwritten by the Hikashop css files. How can I force the user.css to be loaded after the Hikashop css files?  Thanks in advance.")* was created by *[W13ear](/forum/user/46011-w13ear "View W13ear's Profile")*

-- HikaShop version -- : 6.1.1
-- Joomla version -- : 5.3.4
-- PHP version -- : 8.4.x
-- Browser(s) name and version -- : any
-- Error-message(debug-mod must be tuned on) -- : none

When I change, in the user.css, the colors of the buttons, they are overwritten by the Hikashop css files.
How can I force the user.css to be loaded after the Hikashop css files?

Thanks in advance.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkxMDAyNC1oaWthc2hvcC1jc3MtaXMtbG9hZGVkLWFmdGVyLXVzZXItY3NzLWlzLWxvYWRlZD90bXBsPW1hcmtkb3du) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86540
- Thank you received: 14301
-
-

10 months 1 day ago [\#369979](#369979) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[hikashop css is loaded after user.css is loaded](/forum/27-checkout/910024-hikashop-css-is-loaded-after-user-css-is-loaded#369979 "-- HikaShop version -- : 6.1.1 -- Joomla version -- : 5.3.4 -- PHP version -- : 8.4.x -- Browser(s) name and version -- : any -- Error-message(debug-mod must be tuned on) -- : none  When I change, in the user.css, the colors of the buttons, they are overwritten by the Hikashop css files. How can I force the user.css to be loaded after the Hikashop css files?  Thanks in advance.")*

Hi,

The order of the CSS files can be changed in the templates/YOUR_TEMPLATE/index.php file (or in some other file of your template based on how it is developed).
However, usually, you don't want to change that because you're loose your change after each update of the template.
Ideally, rather than doing that, you want to write your CSS code in a way which makes your CSS with a higher priority. For example, a way to do that is to use !important in your CSS:
[ developer.mozilla.org/en-US/docs/Web/CSS...nce/Values/important](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/important)

The following user(s) said Thank You: [W13ear](/forum/user/46011-w13ear "View W13ear's Profile")

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

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