Forums / Templates, Stylesheets, Page Layout / How to center images in sidebox?

How to center images in sidebox?

Locked

Started by decostyle on 16 Apr 2008, 8:23 PM · Views: 1,317

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
16 Apr 2008, 8:23 PM
#1
decostyle avatar

decostyle

Zen Follower

Join Date:
Mar 2008
Posts:
336
Plugin Contributions:
0

How to center images in sidebox?

I'm using cc accept sidebox by Kuroi. My website link is here

I would like to center the cc card logos in the sidebox. The current add to the css style sheet is as follows:

#ccacceptContent {text-align:center; padding: 10px 20px; line-height: 1.5em;}

Please help me know which part I should tweak to center the images? :dontgetit Thanks!!

16 Apr 2008, 10:42 PM
#2
haredo avatar

haredo

Totally Zenned

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

Re: How to center images in sidebox?

Decostyle:

I'm using cc accept sidebox by Kuroi. My website link is here

I would like to center the cc card logos in the sidebox. The current add to the css style sheet is as follows:

#ccacceptContent {text-align:center; padding: 10px 20px; line-height: 1.5em;}

Please help me know which part I should tweak to center the images? :dontgetit Thanks!!
D, includes/ templates/ your_own_template/ css/ stylesheet.css Add the following declaration to the end of the sheet. .cc_img {margin-left: .4em;}

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.

17 Apr 2008, 12:34 PM
#3
decostyle avatar

decostyle

Zen Follower

Join Date:
Mar 2008
Posts:
336
Plugin Contributions:
0

Re: How to center images in sidebox?

haredo:

D, includes/ templates/ your_own_template/ css/ stylesheet.css Add the following declaration to the end of the sheet. .cc_img {margin-left: .4em;}
Thank you so much!!!

17 Apr 2008, 2:02 PM
#4
haredo avatar

haredo

Totally Zenned

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

Re: How to center images in sidebox?

D,
You are most welcome, glad I could assist you...:smile:

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.