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.

[CSS] widgets only on mainpage/startpage

2 posters

Go down

Solved [CSS] widgets only on mainpage/startpage

Post by Spectre Mon 4 Aug - 19:29

Hi!

Does anyone have a solution (CSS code) to show the widgets only on the startpage of the forum?
Would be great!

best greetings

Spectre
Spectre
Spectre
Forumember

Posts : 134
Reputation : 3
Language : English

Back to top Go down

Solved Re: [CSS] widgets only on mainpage/startpage

Post by Guest Mon 4 Aug - 19:36

not available yet
avatar
Guest
Guest


Back to top Go down

Solved Re: [CSS] widgets only on mainpage/startpage

Post by Spectre Tue 5 Aug - 10:48

I know but maybe someone find a solution and have a css code for this problem!
Spectre
Spectre
Forumember

Posts : 134
Reputation : 3
Language : English

Back to top Go down

Solved Re: [CSS] widgets only on mainpage/startpage

Post by Guest Tue 5 Aug - 15:03

oh I know that Sunny D and myself have been feverously working on items for the widgets, just don't seem to be able to right now.
avatar
Guest
Guest


Back to top Go down

Solved Re: [CSS] widgets only on mainpage/startpage

Post by zakir321 Tue 5 Aug - 16:55

Hm... that's indeed not possible without further ado, but probably with a little CSS trick. What forum version do you use? Can you post a link maybe?

But give me some time to figure this out, I can't work on this today anymore... Wink
avatar
zakir321
New Member

Posts : 0
Reputation : 2
Language : english

Back to top Go down

Solved Re: [CSS] widgets only on mainpage/startpage

Post by Spectre Wed 6 Aug - 15:43

sure that would be great!
I use the normal phpbb3 version with a classic style.

if you manage to do this that would be great!
Spectre
Spectre
Forumember

Posts : 134
Reputation : 3
Language : English

Back to top Go down

Solved Re: [CSS] widgets only on mainpage/startpage

Post by zakir321 Thu 7 Aug - 11:37

Alright, I think I found an easy way - I will update my tutorial with that info as well. Wink

1.) Go to "Display / Colors / CSS STylesheet" and enter the code below into the textbox and hit 'submit'

Code:
#content-container div#left, #content-container div#right{display:none;}
#content-container div#content{margin-right:0px;}

2.) Go to either the homepage message (Display / Homepage / Configuration) or to the forum description (General / Categories and Forums / [CSS] widgets only on mainpage/startpage Editer) of a forum that is always displayed. If you hide this forum from guests or members, those users won't see the widgets. not even on the index page.

3.) Paste the code into the forum description (respectively homepage message):

Code:
<style type="text/css"><!--#content-container div#left, #content-container div#right{display:inline;}#content-container div#content{margin-right:183px;}--></style>

That's it already, now you should have your widgets only on the index. I'd appreciate some feedback if it works properly and without bugs, so I can update the tutorial. Very Happy
avatar
zakir321
New Member

Posts : 0
Reputation : 2
Language : english

Back to top Go down

Solved Re: [CSS] widgets only on mainpage/startpage

Post by Spectre Thu 7 Aug - 11:49

absolutly fantastic work! AWESOME !!!!!!!!!!!!!!! Love thumright thumright thumright thumright !!!!!!!!!!!!!!!!!!!!! THANK YOU !!!!!!!!!!!!!!!!!!!!!!!!!!!!


Last edited by Spectre on Thu 7 Aug - 11:52; edited 1 time in total
Spectre
Spectre
Forumember

Posts : 134
Reputation : 3
Language : English

Back to top Go down

Solved Re: [CSS] widgets only on mainpage/startpage

Post by zakir321 Thu 7 Aug - 14:34

You are welcome. Wink

Topic solved -> locked.
avatar
zakir321
New Member

Posts : 0
Reputation : 2
Language : english

Back to top Go down

Back to top

- Similar topics

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