Giving the right blocks an other header color

Giving the right blocks an other header color

by Perry Smit -
Number of replies: 4

I'm trying to give the headers in block on the right site an other background image
han the left side. Where should I add an if else?

Perry


Average of ratings: -
In reply to Perry Smit

Re: Giving the right blocks an other header color

by David Scotson -

In your CSS file:

#right-column .sideblock .header { background: red }

should target only the sideblock headings in the right hand column.

In reply to David Scotson

Re: Giving the right blocks an other header color

by Perry Smit -
Oké thank you,

I have tried:

#left-column .hidden .header,
right-column .header
{
background: url(right_side_block.gif);
border-bottom-color: #dddddd;
}

But nothing happend on the site. Do I maybe have to add or change something more in a php file?

Perry
In reply to Perry Smit

Re: Giving the right blocks an other header color

by David Scotson -

I think you are missing a hash (#) on the second line, try:

#left-column .hidden .header,
#right-column .header
{
    background: url(right_side_block.gif);
    border-bottom-color: #dddddd;
}
In reply to David Scotson

Re: Giving the right blocks an other header color

by Perry Smit -
Thanks a lot that was the trick.

Perry