How to make widgets visible only on the index? 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.
4 posters

    How to make widgets visible only on the index?

    avatar
    HateForColors
    New Member


    Posts : 6
    Reputation : 1
    Language : English / Romanian

    Solved How to make widgets visible only on the index?

    Post by HateForColors May 5th 2013, 6:32 pm

    Hello, can someone help me making my widgets visisible only on the Index?
    I have tried a few codes, but when I leave the index there remains a white space in the place of the widgets.
    My forum version is phpbb3.
    avatar
    BetterHax
    Forumember


    Posts : 304
    Reputation : 3
    Language : English,Tagalog
    Location : United State, Philippines

    Solved Re: How to make widgets visible only on the index?

    Post by BetterHax May 5th 2013, 6:44 pm

    can you provide a sceenshot for your problem? or post your forum link
    avatar
    HateForColors
    New Member


    Posts : 6
    Reputation : 1
    Language : English / Romanian

    Solved Re: How to make widgets visible only on the index?

    Post by HateForColors May 5th 2013, 7:07 pm

    Okay, so.
    How the Widgets look on the index. (They look perfect)
    How to make widgets visible only on the index? Screenshot0505201320030

    How the widgets look when I leave the Index. ( I want to get rid of that whitespace )
    How to make widgets visible only on the index? Screenshot0505201320032

    How I want it to look when I leave the Index
    https://2img.net/r/ihimizer/img94/5807/screenshot0505201320043.png
    E-Mark
    E-Mark
    Active Poster


    Male Posts : 1411
    Reputation : 169
    Language : English
    Location : Bitcoin

    Solved Re: How to make widgets visible only on the index?

    Post by E-Mark May 5th 2013, 7:17 pm

    1. Go to ACP > Display > Pictures and Colors > Colors > CSS:
    - If your widget is on the right side, put this one:
    Code:
    #content-container div#right {
      display: none;
    }
    - Now add this to remove the white space.
    Code:
    #content-container div#content {
      margin-right: 0;
    }

    2. Now go to your homepage message:
    - If your widget is on the right side, put this one:
    Code:
    <style>
    #content-container div#right {
    display: inline !important;
      }
    #content-container div#content {
    margin-right: 180px !important;
      }
    </style>
    avatar
    HateForColors
    New Member


    Posts : 6
    Reputation : 1
    Language : English / Romanian

    Solved Re: How to make widgets visible only on the index?

    Post by HateForColors May 5th 2013, 7:38 pm

    God, you`re a wizzard! Thank you , problem solved.
    I had to tweak the code a bit, now it works perfectly.!
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51499
    Reputation : 3523
    Language : English
    Location : United States

    Solved Re: How to make widgets visible only on the index?

    Post by SLGray May 5th 2013, 9:41 pm

    Topic Solved & Locked



    How to make widgets visible only on the index? Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.