Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2006
    Posts
    17
    Plugin Contributions
    0

    Default Need help for having the page size change automatically to the viewer screen size

    Hi,

    I've searched the forum, and all I can find is how to make the screen size static.

    What I need is for the screen size to adjust to that of the viewer.

    In other words, I do not want to stick it at 1024x768 or anything like that.

    If a person has a screen at 1280, it will take that width. If a person has a screen at 1600, it will take that width. If a person has a screen at 800 it will take that width.

    Can anyone inform me how to change the sizes as I've tried. I even tried changing the .centershop area in the .css

    Thanks.

    Chris

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Need help for having the page size change automatically to the viewer screen size

    1. open your /includes/templates folder
    2. rename ALL EXCEPT template_default to xxxxxyyyyzzzzz_HIDE (add _HIDE to the existing name)
    3. Now look at your site in your browser.
    What do you see ? (besides the snazzy colors!!)

    If that's the desired effect, then make a copy of the template_default/css/stylesheet.css file to use in your own template.

    oh, and rename the _HIDE folders back again
    .

    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.

  3. #3
    Join Date
    Aug 2006
    Posts
    17
    Plugin Contributions
    0

    Default Re: Need help for having the page size change automatically to the viewer screen size

    Thank you.

    Chris

 

 

Similar Threads

  1. Please Help- How to change the size of the middle column of the site?
    By t3z06 in forum Templates, Stylesheets, Page Layout
    Replies: 14
    Last Post: 2 Sep 2009, 03:22 PM
  2. Need help with page size and screen resolution
    By kinget in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 12 Aug 2008, 07:52 PM
  3. Which part of the code need to change for PRICE $xxx fonts size
    By oavs in forum Templates, Stylesheets, Page Layout
    Replies: 13
    Last Post: 13 Nov 2007, 08:34 AM
  4. Change size of display for the site?
    By djfox in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 13 Sep 2007, 08:45 PM
  5. Page Width change automatic for screen size ?
    By maza in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 16 Aug 2007, 11:39 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