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,509
    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,715
    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!

 

 

Similar Threads

  1. Custom style sheet for one product category only
    By BiillO in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 3 Aug 2011, 01:38 PM
  2. Custom style sheet (css) does not display
    By airohead in forum Installing on a Linux/Unix Server
    Replies: 8
    Last Post: 25 Jan 2009, 07:51 AM
  3. CSS question - class defined multiple times in default style sheet
    By ksolito in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 19 Feb 2008, 01:49 AM
  4. Need additional style sheet for all categories
    By rwoody in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 15 Oct 2007, 08:34 AM
  5. New future Default Style sheet issue
    By jmauto in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 29 May 2006, 07:22 AM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR