Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    May 2007
    Location
    Port Charlotte, FL
    Posts
    125
    Plugin Contributions
    0

    Default Re: Screen Resolution IS important!

    Actually, I was wrong. I renamed the original file rather than overwrite it. For some reason, zencart was smart enough to know that and read the old file that I called stylesheetORIG.css. However, the change resized and shifted the screen to the right. Looks like I am going to have to hire someone to fix it.
    Thanks for you help.
    H. Light
    Florida

  2. #2
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: Screen Resolution IS important!

    In case anyone else stumbles into this thread...

    ALL stylesheets in the css folder for your template will be read by Zen Cart if their name ends in .css -- so if you want to leave one there for some reason but exclude it from ZC's consideration, simply rename it to remove the .css ending. Something like stylesheet.orig will work fine.

    Rob

  3. #3
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Screen Resolution IS important!

    Quote Originally Posted by rstevenson View Post
    ALL stylesheets in the css folder for your template will be read by Zen Cart if their name ends in .css -- so if you want to leave one there for some reason but exclude it from ZC's consideration, simply rename it to remove the .css ending. Something like stylesheet.orig will work fine.
    This is not completely accurate. There are a number of naming conventions that determine which stylesheet is loaded for page, product, category, language, etc. Only stylesheets matching the criteria for the specific page being loaded will be included.

    A detailed explanation of this can be found in the css readme file in the docs folder that comes with each Zen Cart release package.

    However, rstevenson's point about taking care about what stylesheet live in a css folder is valid. I'd go further, any file that is a backup rather than not intended to be executed should not be kept on a live site. Zen Cart has a number of folders where it loads (or considers loading) all the files, and unless you know how to avoid it backups are always at risk of being mistaken for live files and used inappropriately.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  4. #4
    Join Date
    May 2007
    Location
    Port Charlotte, FL
    Posts
    125
    Plugin Contributions
    0

    Default Re: Screen Resolution IS important!

    GREAT information! I did not realize that. Thank you so much!
    H. Light
    Florida

  5. #5
    Join Date
    Nov 2006
    Location
    Dartmouth, NS Canada
    Posts
    2,378
    Plugin Contributions
    0

    Default Re: Changing the page width

    This is not completely accurate. There are a number of naming conventions that determine which stylesheet is loaded for page, product, category, language, etc. Only stylesheets matching the criteria for the specific page being loaded will be included.
    You're right of course. I was being a little too emphatic, and not thinking about the page- or category-specific possibilities.

    Rob

 

 

Similar Threads

  1. changing the width of my main page
    By Dale Dugas in forum Templates, Stylesheets, Page Layout
    Replies: 19
    Last Post: 15 Apr 2011, 06:04 PM
  2. change width on the categories page (price width)
    By oberheimer in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 3 Sep 2010, 05:53 PM
  3. Help with changing the width of page
    By ert0000 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 18 Oct 2009, 10:35 AM

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