Sign Up! Login: Password: New User? Forgot? Support
Code 
 
 
Forums 
Forums : General Discussion > Hiding header bg (1st center widget only)
eVaderum (Applicant) 12/28/2010 10:48 AM EST : Hiding header bg (1st center widget only)
eVaderum
Posts: 845

0
Like

0
Dislike

I have a header background and border set for the content boxes on my guilds website. I disabled the borders for the center content boxes, but the header background still shows.  It causes a 1px shift in the first center box, which I didn't care about. But I did want to remove the header background for the center column box since it's the page's main content, but only for the first box.

I used the following CSS to accomplish this (it can be seen here)
td.CenterContentZone div.gpWidget:first-child div.contentBoxTitle {background-image:none !important; }
TopBottom

Mottie (SuperAdmin) 12/28/2010 5:18 PM EST : RE: Hiding header bg (1st center widget only)
ACK!
Mottie
Posts: 3884

0
Like

0
Dislike

Hi eVaderum!

I'm guessing you are referring to the css working in all browsers but IE? IE is very picky about capitalization and "contentBoxTitle" should be "ContentBoxTitle". So try:
td.CenterContentZone div.gpWidget:first-child div.ContentBoxTitle {background-image:none !important; }

Characters: Mottie Motty Mortie Ooshiny Mot Fudgems
TopBottom

eVaderum (Applicant) 12/29/2010 8:11 AM EST : RE: Hiding header bg (1st center widget only)
eVaderum
Posts: 845

0
Like

0
Dislike

Yes, I'm not used to checking things on different browsers, but I noticed it when I checked the site in IE about an unrelated issue
TopBottom

 
 
Key 
New posts No new posts
New posts ( popular ) No new posts ( popular )
New posts ( sticky ) No new posts ( sticky )
New posts ( locked ) No new posts ( locked )
 
 
Who's Online 
There are   members online.
 
 
So-and-so has logged on!
%title%
%message%