Forums / Templates, Stylesheets, Page Layout / Centering sidebox images, etc.

Centering sidebox images, etc.

Locked

Views: 724

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
24 May 2010, 10:02 PM
#1
lilrowo avatar

lilrowo

New Zenner

Join Date:
May 2007
Posts:
60
Plugin Contributions:
0

Centering sidebox images, etc.

How do I center the images in the right sideboxes so they aren't all the way to the right? Also, how can I make the main page just a bit wider? I am using version 1.39c. Here's my link...
http://www.creativemoods.com/zencart/

Many thanks!

24 May 2010, 10:11 PM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,186
Plugin Contributions:
0

Re: Centering sidebox images, etc.

Try this please:

includes/ templates/ premium/ css/ stylesheet.css

Add this declaration to the bottom of the sheet....

#bannerboxallContent, #bannerbox2Content {margin: 0em; padding: 0em;}

To change the width look for:

  1. #mainWrapper {width: ???????px;}
  2. the red font above is the fix

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

25 May 2010, 12:56 AM
#3
lilrowo avatar

lilrowo

New Zenner

Join Date:
May 2007
Posts:
60
Plugin Contributions:
0

Re: Centering sidebox images, etc.

Thanks for the instructions, it is much appreciated! :smile:

I was able to change the width okay. I don't know if the side boxes images are centered now, they still seem more to the right side. I did resize one of my image links to make it fit better. It may look off center because of the bullets next to the text in the headers. I'm not sure.

4 Jun 2010, 6:52 PM
#4
bigal49 avatar

bigal49

Zen Follower

Join Date:
Mar 2010
Location:
California
Posts:
236
Plugin Contributions:
0

Re: Centering sidebox images, etc.

I already have this in my stylesheet.css but the image for my SSL is sitting all the way over against the right side of the box.

BigAl49
Al Treadway
http://www.topnotchbassbaits.com

4 Jun 2010, 7:48 PM
#5
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,186
Plugin Contributions:
0

Re: Centering sidebox images, etc.

Your bass image is too large for the main page. Either place it above the text and the right sideboxes will fall in order.. Or make the image smaller if you want it to the left of the wording...

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.