Forums / Templates, Stylesheets, Page Layout / Get rid of horizontal scroll

Get rid of horizontal scroll

Locked

Views: 1,530

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
24 Dec 2008, 4:37 AM
#1
robertr avatar

robertr

New Zenner

Join Date:
Dec 2008
Location:
New Jersey
Posts:
52
Plugin Contributions:
0

Get rid of horizontal scroll

I want to get rid of the horizontal scroll. I believe the code I listed below is what needs to be modified. Can someone point me in the right direction? Brand, spanking new to Zen Cart.

Thanks!!

/wrappers - page or section containers/
#mainWrapper_dropshadow {
/* background: url(../../../../images/bg_drop_shadow.png) repeat-y; */
background: url(../../../../images/site_shadow.png) repeat-y;
width: 1200px;
margin: auto;
}
#mainWrapper {
background-color: #ffffff;
text-align: left;
width: 100%;
min-width: 980px;
vertical-align: top;
}

Ajeh is the best!!

24 Dec 2008, 4:41 AM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Get rid of horizontal scroll

You would probably change the
width: 1200px;
to a percent like
width: 95%;

but it's not possible to be sure what will work for your particular circumstances without seeing your site live.

24 Dec 2008, 4:43 AM
#3
robertr avatar

robertr

New Zenner

Join Date:
Dec 2008
Location:
New Jersey
Posts:
52
Plugin Contributions:
0

Re: Get rid of horizontal scroll

OK. Thanks I'll try that. The site is not live at the moment and I would have to ask my boss and he's out until Monday. I'll be glad to list it. Again thanks and I'll give it a shot.

Ajeh is the best!!

26 Dec 2008, 4:47 AM
#4
robertr avatar

robertr

New Zenner

Join Date:
Dec 2008
Location:
New Jersey
Posts:
52
Plugin Contributions:
0

Re: Get rid of horizontal scroll

gjh42:

You would probably change the
width: 1200px;
to a percent like
width: 95%;

but it's not possible to be sure what will work for your particular circumstances without seeing your site live.

Changing to % did nothing. :dontgetit

Ajeh is the best!!

26 Dec 2008, 5:00 AM
#5
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Get rid of horizontal scroll

Seeing your site live, we could give the right answer immediately. Without that, we have to guess.

Do you have a customized template? Is it from the Free Addons area, or purchased? If it came from Template Monster, we will have to see it, because they change many of the standard tags and layout elements.

26 Dec 2008, 5:02 AM
#6
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Get rid of horizontal scroll

You can often find the right stylesheet rule to edit or add by using the Firefox Web Developer extension. Its Information > Display Element Information button will show all kinds of useful styling tags etc. for any element you click on.