Widgets at Bottom?
Posted January 30th 2012, 8:16pm
hi dion! is it possible to place the widgets at the bottom of the forum?
φ
Posts: 21
Joined: December 10th 2011, 12:00am
Likes Given: 2
Widgets at Bottom?
Posted January 30th 2012, 8:25pm
Of course it's possible!

It's really easy if you want all the widgets at the bottom...in that case it's a matter of some minor changes to the CSS.

If you only want specific widgets moved to the bottom, then I'll need to know the widgets you want moved.
φ
Posts: 1599
Joined: March 12th 2009, 11:00pm
Location: Uncertain due to momentum
Likes Given: 26
Likes Received: 357
Widgets at Bottom?
Posted January 30th 2012, 8:41pm
when i applied your example 15, i removed my sidebar... but i still want to show other widgets like my twitter, facebook and other widgets used for images... its better if i place it under the boards so as to make my forum clutter-free... i want to put the who is online widget there and show it only to members...

also, is there a way to remove this? Image

it appeared when i used example 15, but i dont use my chatbox...

thanks in advance! :)
φ
Posts: 21
Joined: December 10th 2011, 12:00am
Likes Given: 2
1
#4
Widgets at Bottom?
Posted January 30th 2012, 9:20pm
OK...right now you have the following in your CSS:

#right {display:none;}
#container,#content,#main {float:none !important; margin:0px !important;}

change that to:

#right,#container,#content,#main {float:none !important; margin:0px !important;width:auto!important}
#right .module {float:left; width:19.5%}

That will put all your current widgets at the bottom of the page. Note that I used 19.5% for the width because you currently have 5 widgets that would be displayed. If you change that number, change the above width so the total is under 98%. For example, with 6 widgets, use 16.2%. With 4 widgets, use 24.4%.

If you add the Who is Online widget, you can turn off the online display in ACP>Generalities and the Chatbox info will disappear.
φ
Posts: 1599
Joined: March 12th 2009, 11:00pm
Location: Uncertain due to momentum
Likes Given: 26
Likes Received: 357
Widgets at Bottom?
Posted January 30th 2012, 9:45pm
PERFECT!!!

thanks dion, you are heaven sent!
φ
Posts: 21
Joined: December 10th 2011, 12:00am
Likes Given: 2
Widgets at Bottom?
Posted January 30th 2012, 10:37pm
i was able to transfer the "who is online" widget to the bottom of my forum, but i noticed that every time i post this appears -->

Image


what could be causing this?
φ
Posts: 21
Joined: December 10th 2011, 12:00am
Likes Given: 2
1
#7
Widgets at Bottom?
Posted January 31st 2012, 8:45am
If you use a right sidebar, you can create a custom widget which will allow you to choose what widgets go to the bottom and what don't, without the use of any javascript.

By making a custom widget and having this HTML in it:
</div> <div id="bottomWidgets" style="clear:both">


What this does, is by adding a closing DIV tag its ended the sidebar DIV early.
Additionally it wraps the remaining widgets in a DIV with ID of 'bottomWidgets' so you can style them completely different from the rest in the CSS.
To choose what widgets go to the bottom, they only have to be placed below this custom widget in your admin panel. Any widget below this custom widget will be sent to the bottom since it is outside of the sidebar.
φ
Posts: 509
Joined: July 9th 2011, 11:00pm
Location: England
Likes Given: 15
Likes Received: 26

Who is online

Users browsing this forum: No registered users and 0 guests