Forums / General Questions / Bringing icons to top of side box

Bringing icons to top of side box

Locked

Started by mooncavecrystals on 11 Dec 2007, 12:20 AM · Views: 946

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
11 Dec 2007, 12:20 AM
#1
mooncavecrystals avatar

mooncavecrystals

Zen Follower

Join Date:
Sep 2006
Posts:
455
Plugin Contributions:
0

Bringing icons to top of side box

I have added two icons (rapid ssl icon and pci compliant icon) to a side box entitled Safe and Secure on the front page of my shopping cart, however, they appear to be down in the middle of the box instead of flush with the top of the box.

I want them to be centered with the sides of the box (which they are), but also want them to be at the top of box.

How do I correct this minor irritation?
Thanks!

11 Dec 2007, 12:38 AM
#2
mooncavecrystals avatar

mooncavecrystals

Zen Follower

Join Date:
Sep 2006
Posts:
455
Plugin Contributions:
0

Re: Bringing icons to top of side box

oh, also, how do i get a space between the two icons?

12 Dec 2007, 11:29 PM
#3
starcad avatar

starcad

New Zenner

Join Date:
Jul 2007
Posts:
53
Plugin Contributions:
0

Re: Bringing icons to top of side box

mooncavecrystals:

I have added two icons (rapid ssl icon and pci compliant icon) to a side box entitled Safe and Secure on the front page of my shopping cart, however, they appear to be down in the middle of the box instead of flush with the top of the box.

I want them to be centered with the sides of the box (which they are), but also want them to be at the top of box.

How do I correct this minor irritation?
Thanks!

Moon, you really don't say what sidebox you are using. I used the add-on "Blank Sidebox. With it you can just edit the html to achieve your desired results. It is in the download section, very easy to install and configure.

12 Dec 2007, 11:38 PM
#5
mooncavecrystals avatar

mooncavecrystals

Zen Follower

Join Date:
Sep 2006
Posts:
455
Plugin Contributions:
0

Re: Bringing icons to top of side box

Yes, it is a blank sidebox module and is located on the bottom left of the main page http://www.mooncavecrystals.com/shopping

12 Dec 2007, 11:44 PM
#6
gjh42 avatar

gjh42

Black Belt

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

Re: Bringing icons to top of side box

Easier than I thought.

You have an empty <p> element that is taking up a lot of space. Add this to your stylesheet:

#blanksideboxContent p {display: none;}

If you see an easy way to eliminate that <p> from the sidebox file, that would be the best solution of all.

You might also want to give the graphics some breathing room:

#blanksideboxContent center {padding: 5px 0;}

12 Dec 2007, 11:46 PM
#7
mooncavecrystals avatar

mooncavecrystals

Zen Follower

Join Date:
Sep 2006
Posts:
455
Plugin Contributions:
0

Re: Bringing icons to top of side box

Thanks! yes, there is a file--i found it last night when i removed some wording i had in that box......now if I can just remember where it is.....:oops:

thanks so much for your help!!