Forums / Templates, Stylesheets, Page Layout / Where are the stylesheets files?

Where are the stylesheets files?

Locked

Views: 2,121

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
13 Jan 2010, 4:32 AM
#1
ishikawa91 avatar

ishikawa91

New Zenner

Join Date:
Jan 2010
Posts:
9
Plugin Contributions:
0

Where are the stylesheets files?

Hi, I want to combine all the 5 css files into a single so there is only 1 http request instead of 5. Apparently that will make the site load faster (or so I have been told). My site takes a very long time to load and I am trying everything to make it load faster.

The link is https://www.kreativeclothing.com.

Its particularly slow on the product pages, so I limited the dropdown menus to 4 instead of 6. I got rid of the my two longest dropdown menus and saw absolutely no change.

So I was told from someone that putting all the css files into a single one, would make the overall file size smaller and make the site load faster? But my dilemma is I can do that but the php files will still call out the other sheets. Where can I delete/comment out those links? And is this a good idea or not?

And one more question :smile:, can you guys tell me how long the homepage and (sample) product pages load respectively. Thanks!

13 Jan 2010, 4:47 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Where are the stylesheets files?

Ishikawa91:

I want to combine all the 5 css files into a single so there is only 1 http request instead of 5. Apparently that will make the site load faster (or so I have been told).In principle, yes, but stylesheets are also cached, so it's equally appropriate to use a few smaller files than one larger one.
It's unlikely that the stylesheets are causing your performance problems.

It seems more like a problem with your hosting server. It's probably overcrowded, making it slow. Maybe you can get your hosting company to move your site onto a less crowded server?

Ishikawa91:

So I was told from someone that putting all the css files into a single one, would make the overall file size smaller and make the site load faster? But my dilemma is I can do that but the php files will still call out the other sheets. Where can I delete/comment out those links? And is this a good idea or not?Zen Cart is smarter than that. There are actually no hard-coded links. Instead, it loads the files in the css folder.
If you're going to combine them, just do it. ref: http://www.zen-cart.com/wiki/index.php/Customisation_-_Templates_-_Stylesheets_-_Per-Page-Rules

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

13 Jan 2010, 7:07 PM
#3
ishikawa91 avatar

ishikawa91

New Zenner

Join Date:
Jan 2010
Posts:
9
Plugin Contributions:
0

Re: Where are the stylesheets files?

Alright, I will contact my host and request moving boxes. I appreciate the quick reply!