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

#   How to override style\_custom.css

##

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

Less More

- Posts: 13
- Thank you received: 3
-
-

3 years 10 months ago [\#348109](#348109) by [Mea Arte](/forum/user/69990-mea-arte "View Mea Arte's Profile")  *[How to override style\_custom.css](/forum/4-how-to/905667-how-to-override-style-custom-css#348109 "-- HikaShop version -- : 4.7.0 -- Joomla version -- : 4.2.6 -- PHP version -- : 8.1.1 -- Browser(s) name and version -- : Safari  Hi,  Joomla has made using the user.css as private styling css-file. Hikashop is pressing their own way by creating a style&#95;custom.css.  I just want only one CSS-file to maintain! So how can I overrule the use of the style&#95;custom.css? If I comment parts out (which I don't want to, for obvious reasons) the styling from hikashop.css is pushed, instead of my styling in user.css.  Can you point me to the right way to use my user.css to style HikaShop instead of styles&#95;custom.css?  Thanks.")* was created by *[Mea Arte](/forum/user/69990-mea-arte "View Mea Arte's Profile")*

-- HikaShop version -- : 4.7.0
-- Joomla version -- : 4.2.6
-- PHP version -- : 8.1.1
-- Browser(s) name and version -- : Safari

Hi,

Joomla has made using the user.css as private styling css-file. Hikashop is pressing their own way by creating a style_custom.css.

I just want only one CSS-file to maintain! So how can I overrule the use of the style_custom.css? If I comment parts out (which I don't want to, for obvious reasons) the styling from hikashop.css is pushed, instead of my styling in user.css.

Can you point me to the right way to use my user.css to style HikaShop instead of styles_custom.css?

Thanks.

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

3 years 10 months ago [\#348112](#348112) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How to override style\_custom.css](/forum/4-how-to/905667-how-to-override-style-custom-css#348112 "-- HikaShop version -- : 4.7.0 -- Joomla version -- : 4.2.6 -- PHP version -- : 8.1.1 -- Browser(s) name and version -- : Safari  Hi,  Joomla has made using the user.css as private styling css-file. Hikashop is pressing their own way by creating a style&#95;custom.css.  I just want only one CSS-file to maintain! So how can I overrule the use of the style&#95;custom.css? If I comment parts out (which I don't want to, for obvious reasons) the styling from hikashop.css is pushed, instead of my styling in user.css.  Can you point me to the right way to use my user.css to style HikaShop instead of styles&#95;custom.css?  Thanks.")*

Hi,

By default, HikaShop doesn't have the style_custom.css file.
That file is only added if you use the "styles for frontend" setting under the Display tab of the HikaShop configuration to add your custom CSS. By default, that setting is set to "none".
So you could choose you add your custom CSS in user.css and leave that setting to "none" so that it doesn't add style_custom.css at all on the pages.

Now, regarding hikashop.css that's the main CSS file of HikaShop. This file is normally required as it contains a lot of CSS for the positioning of the elements of HikaShop. It doesn't contain much styling so it shouldn't interfer much with your custom CSS in user.css
Also, normally, the template adds the user.css file after the hikashop.css file and thus it's the CSS in user.css which overrides the CSS in hikashop.css

Now, it is potentially possible to disable the addition of the hikashop.css file on the frontend as well as any other CSS file HikaShop may need. To do that, you can just add an entry with the namekey "load_css" and the value 0 in the hikashop_config table. However, I don't recommend doing that as you'll be missing many CSS code necessary for the proper display of HikaShop elements on the pages. This should only be done to optimize the CSS files of the website after you've copied all the CSS code from the CSS files of HikaShop to your template's CSS (when you're building your own template), and even so, I still don't recommend it as you'll miss any future CSS we'll add to HikaShop for new features of the support of future versions of Joomla.

I'm not clear on what is your issue though so I'm not sure what else to tell you.

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

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