Widgets only on homepage 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

    Widgets only on homepage

    TheCrow
    TheCrow
    Manager
    Manager


    Male Posts : 6923
    Reputation : 795
    Language : Greek, English

    Solved Widgets only on homepage

    Post by TheCrow January 1st 2015, 3:13 am

    Hello,

    How can i set the widgets displaying only on homepage? Not on topic list, not in posts, not in members. ONLY in homepage?
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


    Male Posts : 2108
    Reputation : 336
    Language : English
    Location : Ms

    Solved Re: Widgets only on homepage

    Post by _Twisted_Mods_ January 1st 2015, 3:27 am

    whats your forum version and do your have widgets on left and right or just one side?
    TheCrow
    TheCrow
    Manager
    Manager


    Male Posts : 6923
    Reputation : 795
    Language : Greek, English

    Solved Re: Widgets only on homepage

    Post by TheCrow January 1st 2015, 3:38 am

    I want this code for Punbb and forums are located to the right hand side! Thank you @_Twisted_Mods_ and well done for the New Rank! Smile



    Widgets only on homepage Thecro10
    Forum of the Forums

    Forumotion Rules | Tips & Tricks |
    FAQ | Did you forget your password?



    *** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
    No support via PM!
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13246
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: Widgets only on homepage

    Post by Ange Tuteur January 1st 2015, 5:24 am

    Hello @Luffy,

    Go to Administration Panel > Display > Colors > CSS stylesheet and add the code below.
    Code:
    #right { display:none }
    #content-container div#content { margin-right:0 }

    Then go to Display > Homepage > Generalities and add the code below to your homepage message.
    Code:
    <style type="text/css">
    #right { display:block }
    #content-container div#content { margin-right:183px }
    </style>

    If you're using left widgets it'll need to be modified.
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


    Male Posts : 2108
    Reputation : 336
    Language : English
    Location : Ms

    Solved Re: Widgets only on homepage

    Post by _Twisted_Mods_ January 1st 2015, 5:45 am

    ange beat me to it while i was working on a project.. ty ange... and ty luffy
    Michael_vx
    Michael_vx
    Forumember


    Male Posts : 664
    Reputation : 29
    Language : Arabic and some English
    Location : Egypt

    Solved Re: Widgets only on homepage

    Post by Michael_vx January 1st 2015, 9:06 am

    Ange Tuteur wrote:Hello @Luffy,

    Go to Administration Panel > Display > Colors > CSS stylesheet and add the code below.
    Code:
    #right { display:none }
    #content-container div#content { margin-right:0 }

    Then go to Display > Homepage > Generalities and add the code below to your homepage message.
    Code:
    <style type="text/css">
    #right { display:block }
    #content-container div#content { margin-right:183px }
    </style>

    If you're using left widgets it'll need to be modified.
    part me Very Happy
    this idea looks cool to be shared with all people i know Smile
    i have only one thing to ask about
    is this Trick only for PunBB or can be worked for the rest of versions Laughing
    thanks a lot @Ange Tuteur
    TheCrow
    TheCrow
    Manager
    Manager


    Male Posts : 6923
    Reputation : 795
    Language : Greek, English

    Solved Re: Widgets only on homepage

    Post by TheCrow January 1st 2015, 3:10 pm

    Thanks for the code! It works. Problem solved!
    #solved



    Widgets only on homepage Thecro10
    Forum of the Forums

    Forumotion Rules | Tips & Tricks |
    FAQ | Did you forget your password?



    *** The Support Forum will never ask you for your email or password, so please do not post them anywhere! ***
    No support via PM!
    Ange Tuteur
    Ange Tuteur
    Forumaster


    Male Posts : 13246
    Reputation : 3000
    Language : English & 日本語
    Location : Pennsylvania

    Solved Re: Widgets only on homepage

    Post by Ange Tuteur January 2nd 2015, 1:52 am

    You're welcome ^^

    Topic archived

    @Michael_vx if you have any questions, do not hesitate to open your own topic. As for the trick, it is applicable to all versions with minor modifications.. Wink