The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Other background for widgets?

View previous topic View next topic Go down

Other background for widgets?

Post by Novaen on May 2nd 2012, 12:02 pm

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
Forumember

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

http://avonue.danskforum.net/forum

Back to top Go down

Re: Other background for widgets?

Post by nutsonlizards on May 2nd 2012, 11:55 pm

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
Forumember

Posts : 59
Reputation : 14
Language : London

http://www.redneckherpsforum.com/forum

Back to top Go down

View previous topic View next topic Back to top


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