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

#   how to make one big css and one big js file?

##

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

Less More

- Posts: 222
- Thank you received: 1
-
-

9 years 8 months ago -  9 years 8 months ago [\#264787](#264787) by [Vero](/forum/user/5108-vero "View Vero's Profile")  *[how to make one big css and one big js file?](/forum/4-how-to/889314-how-to-make-one-big-css-and-one-big-js-file#264787 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5  Hi,  1. custom.css (my template) 2. hikashop.css?v=301 3. notify-metro.css  At first I have placed all code from (2) and (3) into custom.css (1). I have tried to change css links in &quot;adm/components/com&#95;hikashop/helpers/helper.php&quot; to my template, but it breakes a back end hikashop css. Then I saved as &quot;none&quot; front end css and styles for the front end css files in configuration &gt; css options. But the hikashop.css?v=301 file is still downloaded. The same with notify-metro.css  Where have I to add the changes?  Thanks")* was created by *[Vero](/forum/user/5108-vero "View Vero's Profile")*

-- HikaShop version -- : 3.0.1
-- Joomla version -- : 3.6.5

Hi,
**1.** I want to make one big css file (custom.css) from 3 css files to make one request:
1. custom.css (my template)
2. hikashop.css?v=301
3. notify-metro.css

At first I have placed all code from (2) and (3) into custom.css (1).
I have tried to change css links in "adm/components/com_hikashop/helpers/helper.php" to my template, but it breakes a back end hikashop css.
Then I saved as "none" front end css and styles for the front end css files in configuration &gt; css options. But the hikashop.css?v=301 file is still downloaded.
The same with notify-metro.css

**2.** Can I place notify.min.js code into hikashop.js?v=301 to make one request?

Where have I to add the changes?

Thanks

Last edit: 9 years 8 months ago by [Vero](/forum/user/5108-vero "View Vero's Profile").

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

9 years 8 months ago [\#264788](#264788) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[how to make one big css and js file?](/forum/4-how-to/889314-how-to-make-one-big-css-and-one-big-js-file#264788 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5  Hi,  1. custom.css (my template) 2. hikashop.css?v=301 3. notify-metro.css  At first I have placed all code from (2) and (3) into custom.css (1). I have tried to change css links in &quot;adm/components/com&#95;hikashop/helpers/helper.php&quot; to my template, but it breakes a back end hikashop css. Then I saved as &quot;none&quot; front end css and styles for the front end css files in configuration &gt; css options. But the hikashop.css?v=301 file is still downloaded. The same with notify-metro.css  Where have I to add the changes?  Thanks")*

Hi,

You need to use Joomla dedicated plugin to do so, like JCHoptimize

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 222
- Thank you received: 1
-
-

9 years 8 months ago [\#264837](#264837) by [Vero](/forum/user/5108-vero "View Vero's Profile")  Replied by *[Vero](/forum/user/5108-vero "View Vero's Profile")* on topic *[how to make one big css and js file?](/forum/4-how-to/889314-how-to-make-one-big-css-and-one-big-js-file#264837 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5  Hi,  1. custom.css (my template) 2. hikashop.css?v=301 3. notify-metro.css  At first I have placed all code from (2) and (3) into custom.css (1). I have tried to change css links in &quot;adm/components/com&#95;hikashop/helpers/helper.php&quot; to my template, but it breakes a back end hikashop css. Then I saved as &quot;none&quot; front end css and styles for the front end css files in configuration &gt; css options. But the hikashop.css?v=301 file is still downloaded. The same with notify-metro.css  Where have I to add the changes?  Thanks")*

Sorry, can you read, please, one more time my question (the whole text)?

To make one css file (from 3 files) and to make one js file (from 2 files) I think I need no extra plugin.
I saved as "none" front end css and styles for the front end css files in configuration &gt; css options. But the hikashop.css?v=301 file is still downloaded. Before Hikashop 3 I had this problem not.

I just asked:
how to stop download hikashop.css?v=301 (where can I change the link?)

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

9 years 8 months ago [\#264841](#264841) 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 make one big css and js file?](/forum/4-how-to/889314-how-to-make-one-big-css-and-one-big-js-file#264841 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5  Hi,  1. custom.css (my template) 2. hikashop.css?v=301 3. notify-metro.css  At first I have placed all code from (2) and (3) into custom.css (1). I have tried to change css links in &quot;adm/components/com&#95;hikashop/helpers/helper.php&quot; to my template, but it breakes a back end hikashop css. Then I saved as &quot;none&quot; front end css and styles for the front end css files in configuration &gt; css options. But the hikashop.css?v=301 file is still downloaded. The same with notify-metro.css  Where have I to add the changes?  Thanks")*

Hi,

That hikashop.css file is always added. There is no setting to not add it.
We do that as it contains crutial CSS for the display of the layouts of HikaShop's frontend.
It's like hikashop.js

If you don't want to load these files, it's going to be complex. You'll have to edit the core files of HikaShop.
For example for the hikashop.css, you would have to edit the file administrator/components/com_hikashop/helpers/helper.php and remove:
$doc-&gt;addStyleSheet(HIKASHOP_CSS.'hikashop.css?v='.HIKASHOP_RESSOURCE_VERSION);

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

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