The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Widgets on boths sides home page only

View previous topic View next topic Go down

Solved Widgets on boths sides home page only

Post by rocket2300 on January 14th 2016, 12:01 pm

I wish to put my widgets on both sides of the forum (left and right) but only have them show
up on the home page. Ive seen seperate topics about having them on both sides and on the
home page only, but when I tried combining the info that I saw it didn't work, so any help
would be much appreciated.

im using PhpBB3.

Many thanks.

Mick


Last edited by Mick-1800 on January 14th 2016, 2:04 pm; edited 1 time in total

rocket2300
Forumember

Male Posts : 214
Reputation : 4
Language : english
Location : United Kingdom

http://www.suzuki-intruder.org

Back to top Go down

Solved Re: Widgets on boths sides home page only

Post by 10spetter10 on January 14th 2016, 12:43 pm

First of all you need to set your two widget-bars. [ACP(Admin Control Panel) > Modules > Portal & Widgets > Forum widgets management > Forum widgets management]

You can do this by giving a width to the left and right widget-bar.

Then you need to place this css in the style sheet [ACP(Admin Control Panel) > Display > Pictures and Colors > Colors > CSS Stylesheet].
Code:
#left, #right {
  display:none;
}
#content-container div#content {
  margin-right: 0px;
}

To end you need to place two lines of css in you message on the homepage [ACP(Admin Control Panel) > Display > Homepage > Generalities > Homepage message]. You can paste them on the first line of the message content.
Code:
<style>#left, #right {display: block;}#content-container div#content {margin-right: 180px;}</style>
It is possible that you need to change the value 180px, it should be the same width as your widget-bar of the right side.

10spetter10
Forumember

Posts : 195
Reputation : 81
Language : Dutch

Back to top Go down

Solved Re: Widgets on boths sides home page only

Post by rocket2300 on January 14th 2016, 2:04 pm

Many thanks 10spetter10, works perfectly Good

solved.

rocket2300
Forumember

Male Posts : 214
Reputation : 4
Language : english
Location : United Kingdom

http://www.suzuki-intruder.org

Back to top Go down

Solved Re: Widgets on boths sides home page only

Post by SLGray on January 15th 2016, 1:59 am

Topic solved and archived


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


SLGray
Administrator
Administrator

Male Posts : 35613
Reputation : 2372
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


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