Forums / Templates, Stylesheets, Page Layout / Is default style sheet read at all while custom style sheet is on?

Is default style sheet read at all while custom style sheet is on?

Locked

Views: 3,076

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
12 May 2007, 10:27 AM
#1
cochlear avatar

cochlear

Zen Follower

Join Date:
Apr 2007
Location:
Sydney
Posts:
110
Plugin Contributions:
0

Is default style sheet read at all while custom style sheet is on?

When the store is on a custom template with a custom style sheet, is the default style sheet completely ignored, or does it still affect store presentation in those CSS properties that are not specified by the custom sheet?

12 May 2007, 11:11 AM
#2
thepatch avatar

thepatch

Zen Follower

Join Date:
Sep 2006
Posts:
281
Plugin Contributions:
0

Re: Is default style sheet read at all while custom style sheet is on?

my understanding is that it would use the 'last' css command that it got and that anything that was not specified by your own css would yes read back to the original ZenCart CSS

Samuel Turnmire
co-Founder
geekFoundry

12 May 2007, 12:12 PM
#3
econcepts avatar

econcepts

Totally Zenned

Join Date:
Dec 2005
Posts:
1,505
Plugin Contributions:
2

Re: Is default style sheet read at all while custom style sheet is on?

ANY stylesheet that falls under your "css" directory will affect the layout. As long as they all start with "stylesheet-[your unique name].css" they will NOT be ignored.

For custom sytlesheets, I suggest you make your own styles to a new "css" file (and leave the default one go as much as possible) then simply name your custom sylesheet in the proper "naming convention" in accordance with Zen Standards.

**My suggestion would be to read the "CSS_read_me.txt" file found in the following directory /includes/templates/css/
**
These posts may help:

http://www.zen-cart.com/forum/showthread.php?t=65473&highlight=stylesheet+system

Eric
20 Ways to Increase Sales Using Zen Cart
Zen Cart contribs: Simple Google Analytics, Export Shipping Information

12 May 2007, 1:48 PM
#4
cochlear avatar

cochlear

Zen Follower

Join Date:
Apr 2007
Location:
Sydney
Posts:
110
Plugin Contributions:
0

Re: Is default style sheet read at all while custom style sheet is on?

Guys thanks for the replies, but to clarify, let me rephrase my question.

I understand all style sheets in the same template folder are read in the sequence described in readme. But, is template_default/css/stylesheet.css part of the styling cascade when custom/css/stylesheet.css is turned on?

12 May 2007, 3:06 PM
#5
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,684
Plugin Contributions:
0

Re: Is default style sheet read at all while custom style sheet is on?

No, the default template's stylesheet is not in the cascade.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

12 May 2007, 3:14 PM
#6
cochlear avatar

cochlear

Zen Follower

Join Date:
Apr 2007
Location:
Sydney
Posts:
110
Plugin Contributions:
0

Re: Is default style sheet read at all while custom style sheet is on?

Thanks Kim! :smile: