Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Sidebox headers not working properly

Sidebox headers not working properly

Views: 562

Results 1 to 4 of 4
30 Sep 2011, 1:46 AM
#1
moltres93 avatar

moltres93

New Zenner

Join Date:
Sep 2011
Posts:
20
Plugin Contributions:
0

Sidebox headers not working properly

Hello, I'm having trouble with my sidebox header images. I followed this tutorial, and it kind of worked, but if you look at my site here, you can see the categories sidebox image isn't lined up properly with the rest of the box. Since I am editing a template I downloaded from the internet and also because of the fact that I'm a zen cart newb, I'm not sure which files to edit to correct this....
Any help would be very much appreciated!

30 Sep 2011, 3:19 AM
#2
nigelt74 avatar

nigelt74

Totally Zenned

Join Date:
Sep 2005
Location:
Waikato, New Zealand
Posts:
1,558
Plugin Contributions:
1

Re: Sidebox headers not working properly

You need to remove all the padding around it,

there is padding on pretty much everything around that image from the h3 class acting on it, to the sidebox heading class, lots of places, just use firebug or dragonfly and make a note of where they all are and then set the padding to nought.

30 Sep 2011, 6:30 AM
#3
moltres93 avatar

moltres93

New Zenner

Join Date:
Sep 2011
Posts:
20
Plugin Contributions:
0

Re: Sidebox headers not working properly

I tried downloading firebug but it didnt show me where the padding was in the code... I've tried editing the stylesheet.css and through trial and error, removed padding to see what it did. But no luck... since I'm not all that experienced I sort of need to know exactly what to change.. i'm having no luck trying to find it myself! thanks for your imput though, at least i know it's the padding that's affecting it somehow...

30 Sep 2011, 7:33 AM
#4
moltres93 avatar

moltres93

New Zenner

Join Date:
Sep 2011
Posts:
20
Plugin Contributions:
0

Re: Sidebox headers not working properly

I managed to fix it using a different method- instead of lining up the images with the sideboxes, I set each image as the background for each sidebox header. Thanks for your help anyway!