Recent Topics

1 Nov 08, 2008 15:37    

My b2evolution Version: 2.x

On my blog, I have two side bars. The background is black. On the right, it will be all ads, so it's ok to have just the black. But on the left, it will be a mix of boxes with text and ads. For the boxes with text, they need a white background and it's set correctly in my stylesheet. The ads, I want the black.

My question, how do I override the stylesheet just on a couple of widgets?

If you look here: http://itsajaimething.com/blog4.php, an example would be the 'email Jaime'.

Thanks!

Denise

2 Nov 08, 2008 16:10

Add a classname to each of the widgets you want to style differently

Admin > blog settings > [blog name] > widgets > [ relevant widgets ] edit settings

¥

3 Nov 08, 2008 16:24

Thanks, but I actually did see that. I should have included that in my question. I see where it has CSS Class, but what do I put there?

4 Nov 08, 2008 16:30

whatever you want the class to be called? ie/ "my_cool_class" ( without the quotes )

¥

5 Nov 08, 2008 16:38

Wouldn't the class I put in there have to be defined somewhere? I'm trying to pull a class from the right side, without the white, but none work.

6 Nov 08, 2008 16:47

Yep, you can just add the class to the bottom of your skins stylesheet and use it to override whatever settings you like

.my_cool_class{
background-color:#f4c; /* wear shades :D */
}

¥

7 Nov 08, 2008 17:50

can't get it to work, I must be missing something!


Form is loading...