Zen Cart Logo
Forums / Addon Sideboxes / How do I change horizontal padding between images in a sidebox?

How do I change horizontal padding between images in a sidebox?

Locked

Views: 3,373

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
24 Sep 2007, 1:19 AM
#1
brimsjewelry avatar

brimsjewelry

Zen Follower

Join Date:
May 2006
Posts:
188
Plugin Contributions:
0

How do I change horizontal padding between images in a sidebox?

I the image below, please notice how the WE ACCEPT credit card sidebox is larger horizontally than the other sideboxes. How can i change thepadding between the icons to squeeze them together so the sidebox is the same size as all the others?

Thanks

Jason

24 Sep 2007, 4:54 AM
#2
gjh42 avatar

gjh42

Black Belt

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

Re: How do I change horizontal padding between images in a sidebox?

Start by looking at the styles applied to these:```html

<div id="navColumnTwoWrapper" style="width: 150px"><!--// bof: ccaccept //--> <table width="150px" border="0" cellspacing="0" cellpadding="0" class="rightbox" id="ccaccept-table"> <tr class="rightboxheading" id="ccaccept-heading-tr"> <!-- Sidebox Header --> <td colspan="3" width="100%" class="rightboxheading" id="ccaccept-heading-td">We Accept ...</td> </tr> <tr> <!-- Sidebox Contents --> <td colspan="3" class="rightboxcontent" id="ccaccept-content"> ```You have a 150px table inside a 150px div; check on the padding/margins there.
24 Sep 2007, 4:58 AM
#3
brimsjewelry avatar

brimsjewelry

Zen Follower

Join Date:
May 2006
Posts:
188
Plugin Contributions:
0

Re: How do I change horizontal padding between images in a sidebox?

gjh42:

A link to your site will make it easier for us to give specific advice.

The link is in my sig. https://www.abcjewelrydepot.com.

Thanks,

jason

24 Sep 2007, 5:16 AM
#4
gjh42 avatar

gjh42

Black Belt

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

Re: How do I change horizontal padding between images in a sidebox?

The cc box content is a table, with each cc logo in one <td>, and the Google Checkout button is specified as colspan=2 even though it is bigger than two logos. Change that (and possibly the Paylal logo too) to colspan=3, and they will all be able to fit.

24 Sep 2007, 5:38 AM
#5
brimsjewelry avatar

brimsjewelry

Zen Follower

Join Date:
May 2006
Posts:
188
Plugin Contributions:
0

Re: How do I change horizontal padding between images in a sidebox?

Many thanks! Fixed.

Jason