Forums / Templates, Stylesheets, Page Layout / Side column banner , Delete ugly header & gap? how?

Side column banner , Delete ugly header & gap? how?

Locked

Views: 1,872

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
11 Nov 2008, 7:32 AM
#1
edwardtilbury avatar

edwardtilbury

Zen Follower

Join Date:
Sep 2007
Posts:
169
Plugin Contributions:
0

Side column banner , Delete ugly header & gap? how?

I thought this would be an easy piece of php code to find, but I cannot figure this out...

I'm trying to eliminate the gap between my right side banners, I think it is still trying to display a text field header even though I defined it as ='' , in /includes/languages/english.php ...

Here's a link to the live version of my site, http://www.karmotion.com/ if you want to check out the spacing between the adds.
:frusty::unsure::frusty::unsure::frusty::unsure:

AIM edwardtilbury
GoogleTalk edwardtilbury

11 Nov 2008, 12:59 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Side column banner , Delete ugly header & gap? how?

One thing to try in your stylesheet:

separate the .rightBoxHeading from:

.leftBoxHeading, .centerBoxHeading, .rightBoxHeading {
margin: 0em;
padding: 0.5em 0.2em;
}

and add

** .rightBoxHeading {
display:none;
}**

Also look for other mentions of rightBoxHeading and remove any padding or margins.

11 Nov 2008, 8:38 PM
#3
edwardtilbury avatar

edwardtilbury

Zen Follower

Join Date:
Sep 2007
Posts:
169
Plugin Contributions:
0

Re: Side column banner , Delete ugly header & gap? how?

Thanks for the tip, I tried doing that, but it still has a gap, I think it dedicates a <p></p> somewhere for the title of the banner box somewhere, even though there's no text...

Do you know where I can find the php code to comment this out?

AIM edwardtilbury
GoogleTalk edwardtilbury

11 Nov 2008, 8:54 PM
#4
bobdog avatar

bobdog

Totally Zenned

Join Date:
Mar 2006
Location:
Fresno, California
Posts:
590
Plugin Contributions:
0

Re: Side column banner , Delete ugly header & gap? how?

.leftBoxHeading, .centerBoxHeading {
margin: 0em;
padding: 0.5em 0.2em;
}

.rightBoxHeading {
margin-top: -16px;
}

Try that. Experiment with the -16px adjust to your liking

11 Nov 2008, 10:22 PM
#5
edwardtilbury avatar

edwardtilbury

Zen Follower

Join Date:
Sep 2007
Posts:
169
Plugin Contributions:
0

Re: Side column banner , Delete ugly header & gap? how?

bobdog:

.leftBoxHeading, .centerBoxHeading {
margin: 0em;
padding: 0.5em 0.2em;
}

.rightBoxHeading {
margin-top: -16px;
}

Try that. Experiment with the -16px adjust to your liking

Thank you half dog man! That worked perfectly!

AIM edwardtilbury
GoogleTalk edwardtilbury

12 Nov 2008, 1:06 AM
#6
edwardtilbury avatar

edwardtilbury

Zen Follower

Join Date:
Sep 2007
Posts:
169
Plugin Contributions:
0

Re: Side column banner , Delete ugly header & gap? how?

actually I eliminated the H3 margin, and a margin on some other rightboxheader or something like that, and eliminated all gap without having to use -16.

Sorry, I forgot the exact name.

Google Chrome right click Inspect Element works great for troubleshooting CSS btw.

Thanks for the help!!

AIM edwardtilbury
GoogleTalk edwardtilbury