Forums / Templates, Stylesheets, Page Layout / Need help for having the page size change automatically to the viewer screen size

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

Locked

Views: 3,542

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
23 Aug 2006, 10:23 PM
#1
chris_hill avatar

chris_hill

New Zenner

Join Date:
Aug 2006
Posts:
17
Plugin Contributions:
0

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

24 Aug 2006, 7:05 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

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.

24 Aug 2006, 6:49 PM
#3
chris_hill avatar

chris_hill

New Zenner

Join Date:
Aug 2006
Posts:
17
Plugin Contributions:
0

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

Thank you.

Chris