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.

Placing Widgets at Top/Bottom of Forum/Homepage

3 posters

Go down

Placing Widgets at Top/Bottom of Forum/Homepage Empty Placing Widgets at Top/Bottom of Forum/Homepage

Post by Flip 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
avatar
Flip
Forumember

Posts : 83
Reputation : 1
Language : english

Back to top Go down

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

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

Put this in your CSS:
Code:

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

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

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

Post by Flip 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?
avatar
Flip
Forumember

Posts : 83
Reputation : 1
Language : english

Back to top Go down

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

Post by SLGray 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.?


Placing Widgets at Top/Bottom of Forum/Homepage Slgray10

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

Male Posts : 51464
Reputation : 3519
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

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

Post by Flip 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?
avatar
Flip
Forumember

Posts : 83
Reputation : 1
Language : english

Back to top Go down

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

Post by LGforum 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
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

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

Post by Flip 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
avatar
Flip
Forumember

Posts : 83
Reputation : 1
Language : english

Back to top Go down

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

Post by LGforum 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
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

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

Post by Flip 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/
avatar
Flip
Forumember

Posts : 83
Reputation : 1
Language : english

Back to top Go down

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

Post by LGforum 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
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Back to top

- Similar topics

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