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.

Placing Widgets at Top/Bottom of Forum/Homepage

View previous topic View next topic Go down

Placing Widgets at Top/Bottom of Forum/Homepage

Post by Flip on January 11th 2012, 11:36 pm

Is there a way to place widgets near the top, like where the leaderboard ad would be, on the homepage and forum pages?

It gives you this option in widget management for the portal pages, but for the forum, it only gives you left/right column options.

I want to place all my google AdSense code into widgets and place the ads that way, as I'm more familar with using widgets. But I need to place ads top/bottom on the homepage/forum pages, and there's no option to do so with widgets.

Thanks

Flip
Forumember

Posts : 83
Reputation : 1
Language : english

Back to top Go down

Re: Placing Widgets at Top/Bottom of Forum/Homepage

Post by LGforum on January 12th 2012, 3:14 am

Put this in your CSS:
Code:

#left, #right {
 float: none;
 clear: both;
}

LGforum
Hyperactive

Male Posts : 2254
Reputation : 254
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Re: Placing Widgets at Top/Bottom of Forum/Homepage

Post by Flip on January 12th 2012, 4:18 am

@LGforum wrote:Put this in your CSS:
Code:

#left, #right {
 float: none;
 clear: both;
}

Thanks.

Not sure if its the right place, but the only place I know of to add CSS code is in the Color section. I pasted this code there, but it didn't change anything. Any suggestions what I'm doing wrong?

Flip
Forumember

Posts : 83
Reputation : 1
Language : english

Back to top Go down

Re: Placing Widgets at Top/Bottom of Forum/Homepage

Post by SLGray on January 12th 2012, 4:29 am

Did you copy and paste the code from here, and did you remove the numbers: 1. , 2. , 3. , 4. , and 5.?


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


SLGray
Administrator
Administrator

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

http://fmthemes.forumotion.com/

Back to top Go down

Re: Placing Widgets at Top/Bottom of Forum/Homepage

Post by Flip on January 12th 2012, 5:56 am

slg wrote:Did you copy and paste the code from here, and did you remove the numbers: 1. , 2. , 3. , 4. , and 5.?

Yes and yes.

I already had code entered on lines 1-12 for my quote box colors.... so I skipped a line, then pasted this code on lines 14-17, accordingly, deleting the numbers/decimal points.

Anything I'm doing wrong?

Flip
Forumember

Posts : 83
Reputation : 1
Language : english

Back to top Go down

Re: Placing Widgets at Top/Bottom of Forum/Homepage

Post by LGforum on January 12th 2012, 3:19 pm

Put this in the CSS then:

Code:

#right, #left, #container { float: none!important; width: 98%!important; }
#content-container div#content { margin-right: 0px!important; }

LGforum
Hyperactive

Male Posts : 2254
Reputation : 254
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Re: Placing Widgets at Top/Bottom of Forum/Homepage

Post by Flip on January 12th 2012, 9:28 pm

@LGforum wrote:Put this in the CSS then:

Code:

#right, #left, #container { float: none!important; width: 98%!important; }
#content-container div#content { margin-right: 0px!important; }

Still not working, only left/right columns available still

Flip
Forumember

Posts : 83
Reputation : 1
Language : english

Back to top Go down

Re: Placing Widgets at Top/Bottom of Forum/Homepage

Post by LGforum on January 12th 2012, 9:36 pm

What do you mean still only left and right?
Yeah set up your widgets in either the left or right column and put that in the CSS and they will be under your main content not at the side.

LGforum
Hyperactive

Male Posts : 2254
Reputation : 254
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Re: Placing Widgets at Top/Bottom of Forum/Homepage

Post by Flip on January 15th 2012, 4:02 am

@LGforum wrote:What do you mean still only left and right?
Yeah set up your widgets in either the left or right column and put that in the CSS and they will be under your main content not at the side.

ahh, I see what you mean now. I was expecting top/bottom columns to appear in the widget manager.

Ok, got it to work. However, I still wanted to be able to put widgets on the sides and the top, as well as the bottom. This only allows for them on the bottom.

Is there any way I can modify the code to allow for all sides, left/right/top/bottom?

Thanks for your help/

Flip
Forumember

Posts : 83
Reputation : 1
Language : english

Back to top Go down

Re: Placing Widgets at Top/Bottom of Forum/Homepage

Post by LGforum on January 27th 2012, 3:32 pm

I thought I would bring this topic back to share this topic for the OP:
http://www.avacweb.com/t137-a-little-html-sidebar-trick-widgets-up-top

It will allow widgets at the top and sides. Very easy.

LGforum
Hyperactive

Male Posts : 2254
Reputation : 254
Language : English
Location : UK

http://www.avacweb.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