The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Other background for widgets?

2 posters

Go down

Other background for widgets? Empty Other background for widgets?

Post by Novaen Wed 2 May - 13:02

Hey.

Is it possible to create widgets with an other background than the index page? If so, does anyone have a code for this?

Novaen
Novaen
Forumember

Female Posts : 29
Reputation : 0
Language : Danish, English
Location : Denmark

http://avonue.danskforum.net/forum

Back to top Go down

Other background for widgets? Empty Re: Other background for widgets?

Post by nutsonlizards Thu 3 May - 0:55

this can be done using css

Code:


.module .main-content {
    background-color:#000;
}
       

or if you want to use a image
Code:


.module .main-content {
    background :#000url('image link here') no-repeat;
}
       
if it just one of you widget you want to change the bkground off the custom ones which is simple to do by using a Div tag with id Smile
Code:

 <div id="your choose" >
widgets code goes here
</div>
then you just simply add the css for the div
Code:

#your choose {
    background :#000url('image link here') no-repeat;
}
hope this helps Smile

but if wont change bkground to your... say for example your latest topic widget you would have to go into your template and add the div tag there Smile
nutsonlizards
nutsonlizards
Forumember

Posts : 59
Reputation : 14
Language : London

http://www.redneckherpsforum.com/forum

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum