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.

Widgets only on homepage

4 posters

Go down

Solved Widgets only on homepage

Post by TheCrow January 1st 2015, 04:13

Hello,

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

Male Posts : 6897
Reputation : 794
Language : Greek, English

https://forumote.forumotion.com

Back to top Go down

Solved Re: Widgets only on homepage

Post by _Twisted_Mods_ January 1st 2015, 04:27

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

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

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Widgets only on homepage

Post by TheCrow January 1st 2015, 04:38

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
TheCrow
TheCrow
Manager
Manager

Male Posts : 6897
Reputation : 794
Language : Greek, English

https://forumote.forumotion.com

Back to top Go down

Solved Re: Widgets only on homepage

Post by Ange Tuteur January 1st 2015, 06:24

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.
Ange Tuteur
Ange Tuteur
Forumaster

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

https://fmdesign.forumotion.com

Back to top Go down

Solved Re: Widgets only on homepage

Post by _Twisted_Mods_ January 1st 2015, 06:45

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

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

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Widgets only on homepage

Post by Michael_vx January 1st 2015, 10:06

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
Michael_vx
Michael_vx
Forumember

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

Back to top Go down

Solved Re: Widgets only on homepage

Post by TheCrow January 1st 2015, 16:10

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

Male Posts : 6897
Reputation : 794
Language : Greek, English

https://forumote.forumotion.com

Back to top Go down

Solved Re: Widgets only on homepage

Post by Ange Tuteur January 2nd 2015, 02:52

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
Ange Tuteur
Ange Tuteur
Forumaster

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

https://fmdesign.forumotion.com

Back to top Go down

Back to top

- Similar topics

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