Site maintenance: Sun 15 Nov, from 20:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Templates, Stylesheets, Page Layout / How to adust white space on both sides of the right column

How to adust white space on both sides of the right column

Started by jodean on 17 Jan 2015, 4:34 PM · Views: 864

Results 1 to 8 of 8
17 Jan 2015, 4:34 PM
#1
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

How to adust white space on both sides of the right column

I have white space between my center coulmn and the left side of the right column and no white space on the right side of the right coulmn and the end of the right side of the screen.

http://tennesseetraditionalflies.com/

The screen width is 1366 wide on my notebook.

17 Jan 2015, 5:17 PM
#2
badarac avatar

badarac

Totally Zenned

Join Date:
Aug 2009
Location:
Longs, SC
Posts:
635
Plugin Contributions:
0

Re: How to adust white space on both sides of the right column

Change your stylesheet.css around line 414 to the following:
.content, #productDescription, .shippingEstimatorWrapper {
margin-left: 10px;
padding: 0.5em;
}

18 Jan 2015, 5:15 PM
#3
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

Re: How to adust white space on both sides of the right column

badarac:

Change your stylesheet.css around line 414 to the following:
.content, #productDescription, .shippingEstimatorWrapper {
margin-left: 10px;
padding: 0.5em;
}

I gave your suggestion a try. Unfortunetly it did not make any difference. Do you have any other ideas?

18 Jan 2015, 6:16 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: How to adust white space on both sides of the right column

Looks OK to me. What was the solution?

18 Jan 2015, 7:55 PM
#5
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

Re: How to adust white space on both sides of the right column

stevesh:

Looks OK to me. What was the solution?

Here is what was changed.

Viewing the page in Foxzilla does not display the sidebox backgrounds and border. However it looks like the probem was fixed because the sidebox borders no longer display.

.content, #productDescription, .shippingEstimatorWrapper {
margin-left: 10px;
padding: 0.5em;
}

Viewing the page in Chrome does not look like anything changed.

Viewing the page in Explorer looks like the Foxzilla. The backgrounds and borders are gone.

I can leave the change if you want to take a look see.

Just let me know after you take a look see.

18 Jan 2015, 8:04 PM
#6
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

Re: How to adust white space on both sides of the right column

Chrome was cached. All three bowsers return the same results missing the backgrounds and borders.

19 Jan 2015, 1:18 PM
#7
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

Re: How to adust white space on both sides of the right column

After correcting a code error the backgrounds and borders are back. However the reccoemnded code change does not correct the problem.

Change your stylesheet.css around line 414 to the following:
.content, #productDescription, .shippingEstimatorWrapper {
margin-left: 10px;
padding: 0.5em;
}

19 Jan 2015, 1:30 PM
#8
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: How to adust white space on both sides of the right column

Your site fills the screen on my 1280px width display. If you want Zencart to do the same on all display sizes, you'll have to set the various widths in the stylesheet to 100%, though that can make your site look weird on very high resolutions.

Two things:

You have two stylesheets named stylesheet.css, which may be fighting each other. I recommend removing one.

You have the width of #mainWrapper set to '960'. It needs to be 960px if that's the width you want. I usually set #mainWrapper to 980px, to accommodate those visitors using display widths of 1024px, but I may increase that since most people have higher definition displays now.