HTML Widget help
4 posters
Page 1 of 1
HTML Widget help
Hi all,
I have looked through the help forum but cant seem to find my problem anywhere else, which I am surprised by as I would have thought it was a common request.
There are various things that I would like to do with the site that require to put in HTML code - no problems with the HTML widgets, which I have (such as google adsense and RSS feeders).
What I cant seem to do is get them anywhere other than at the sides.
I have placed adverts at the top by putting the HTML code in the announcement function.
However, if I try and put a widget on the side, it effects the appearance - for example if I put a twitter feed on the right, where the twitter feed ends, if the thread is a long one, it leaves a lot of dead space (ie if the thread had 40 comments on it, the actual widget stops at about comment 3 but the empty space beneath it goes all the way down to the bottom of the page - it looks terrible!
Preferably, I would like to place HTML code at the bottom of the forum but I cant find a way to input HTML code anywhere.
Any help would be appreciated!
The site is here - www.606v2.com
I have looked through the help forum but cant seem to find my problem anywhere else, which I am surprised by as I would have thought it was a common request.
There are various things that I would like to do with the site that require to put in HTML code - no problems with the HTML widgets, which I have (such as google adsense and RSS feeders).
What I cant seem to do is get them anywhere other than at the sides.
I have placed adverts at the top by putting the HTML code in the announcement function.
However, if I try and put a widget on the side, it effects the appearance - for example if I put a twitter feed on the right, where the twitter feed ends, if the thread is a long one, it leaves a lot of dead space (ie if the thread had 40 comments on it, the actual widget stops at about comment 3 but the empty space beneath it goes all the way down to the bottom of the page - it looks terrible!
Preferably, I would like to place HTML code at the bottom of the forum but I cant find a way to input HTML code anywhere.
Any help would be appreciated!
The site is here - www.606v2.com
Hobo606v2- Forumember
- Posts : 59
Reputation : 0
Language : English
Re: HTML Widget help
Your forum is phpbb3, so it does not offer template editing. Hence, its difficult to add anything at the bottom of the forum content.
Sanket- ForumGuru
- Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai
Re: HTML Widget help
Sanket wrote:Your forum is phpbb3, so it does not offer template editing. Hence, its difficult to add anything at the bottom of the forum content.
Cheers - if we change forum format, would it have an impact on our forum layout/ design as is?
Hobo606v2- Forumember
- Posts : 59
Reputation : 0
Language : English
Re: HTML Widget help
Changing forum versions comes with totally different forum selectors and such.
Only do it if you have no other option.
You can try using this little trick to set the widget size to a set size
Add your HTML between the <span> tags
You can of course adjust 200px to whatever width your current widgets might have and max-height to the designed height of the widget.
Only do it if you have no other option.
You can try using this little trick to set the widget size to a set size
- Code:
<span style="max-width: 200px; max-height: 700px; overflow: scroll;">Your HTML Widgets here</span>
Add your HTML between the <span> tags
You can of course adjust 200px to whatever width your current widgets might have and max-height to the designed height of the widget.
Re: HTML Widget help
If you use a right hand sidebar for widgets then you can insert HTML to the bottom of pages pretty easily.
Make a widget, "Use table type: No", and then insert this HTML: </div><div class="bottom-widgets">
Save the widgets and put it below all your others.
This cuts the sidebar off quicker than it should, opening a new element. This new element will display under the forum content.
Now any HTML you want to put at the bottom of the forum, you can either put it into that widget you just made after the HTML. Or you can make new widgets and put it underneath that widget in the sidebar. You can even put Forumotion widgets underneath it to display them at the bottom.
Make a widget, "Use table type: No", and then insert this HTML: </div><div class="bottom-widgets">
Save the widgets and put it below all your others.
This cuts the sidebar off quicker than it should, opening a new element. This new element will display under the forum content.
Now any HTML you want to put at the bottom of the forum, you can either put it into that widget you just made after the HTML. Or you can make new widgets and put it underneath that widget in the sidebar. You can even put Forumotion widgets underneath it to display them at the bottom.
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Re: HTML Widget help
Hi - thanks for this.LGforum wrote:If you use a right hand sidebar for widgets then you can insert HTML to the bottom of pages pretty easily.
Make a widget, "Use table type: No", and then insert this HTML: </div><div class="bottom-widgets">
Save the widgets and put it below all your others.
This cuts the sidebar off quicker than it should, opening a new element. This new element will display under the forum content.
Now any HTML you want to put at the bottom of the forum, you can either put it into that widget you just made after the HTML. Or you can make new widgets and put it underneath that widget in the sidebar. You can even put Forumotion widgets underneath it to display them at the bottom.
I created a new widget with the instructions in your post and then added it to the sidebar at the top.
However the sidebar continues all the way down and doesnt end as you suggested it might.
Have I done something wrong?
Hobo606v2- Forumember
- Posts : 59
Reputation : 0
Language : English
Re: HTML Widget help
Adding widgets below that widget, should now make them appear at the bottom.
If it doesn't add this CSS:
If it doesn't add this CSS:
- Code:
.bottom-widgets { clear:both; }
LGforum- Hyperactive
- Posts : 2265
Reputation : 264
Language : English
Location : UK
Similar topics
» HTML code similar to External Widget but for AD widget instead?
» HTML widget problom
» HTML Widget help
» Widget HTML Question
» HTML code in a widget
» HTML widget problom
» HTML Widget help
» Widget HTML Question
» HTML code in a widget
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum