Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2007
    Location
    Sydney
    Posts
    109
    Plugin Contributions
    0

    Default 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?

  2. #2
    Join Date
    Sep 2006
    Posts
    281
    Plugin Contributions
    0

    Default 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
    [FONT="Georgia"]Samuel Turnmire[/FONT]
    [FONT="Century Gothic"]co-Founder[/FONT]
    [FONT="Book Antiqua"]geekFoundry[/FONT]

  3. #3
    Join Date
    Dec 2005
    Posts
    1,475
    Plugin Contributions
    6

    Default 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/showth...lesheet+system
    Eric
    20 Ways to Increase Sales Using Zen Cart
    Zen Cart contribs: Simple Google Analytics, Export Shipping Information

  4. #4
    Join Date
    Apr 2007
    Location
    Sydney
    Posts
    109
    Plugin Contributions
    0

    Default 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?

  5. #5
    Join Date
    Jun 2003
    Posts
    33,823
    Plugin Contributions
    0

    Default 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.

  6. #6
    Join Date
    Apr 2007
    Location
    Sydney
    Posts
    109
    Plugin Contributions
    0

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

    Thanks Kim!

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •