Other background for widgets? Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

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.
2 posters

    Other background for widgets?

    Novaen
    Novaen
    Forumember


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

    Other background for widgets? Empty Other background for widgets?

    Post by Novaen 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?

    nutsonlizards
    nutsonlizards
    Forumember


    Posts : 59
    Reputation : 14
    Language : London

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

    Post by nutsonlizards 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