MyBB Community Forums

Full Version: How to remove the ads on a theme
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hello,

I want to remove this block on the theme i use can u help me with that:

Pictue
:http://i.imgur.com/yuUZ0LM.png
what is your forum url?
it is http://saveoursystems.cf/ iknow it us empty but i made it just today Big Grin
I am not sure but I think it has to be in Forum Bit Templates

remove
<a style="float: right; display: none;" class="clickedbuttons"></a>
<a style="float: right; display: block;" class="buttons"></a>

and
<div style="float: right; width: 19%; display: block; opacity: 1;" class="sidebar">
<table cellspacing="0" cellpadding="6" border="0" class="tborder">
<tbody><tr>
<td class="thead"><strong>
Advertisements
</strong></td>
</tr>
<tr>
<td class="trow1">
Your code goes here
</td>
</tr>
</tbody></table>
</div>

In global.css find element.style
and change width: 80%; to width: 100%;

Before doing this backup your template
It's in index template, it can't be in forumbit_* because the sidebar would show for every category/forum.

Also, there is no element.style in global.css. element.style means the CSS is inline as style="xxx". So need to edit it also in template.
Then find this line
<div class="forums" style="float: left;width: 80%;">

and change 80% to 100%

What do you think Destroy666
That's correct. Don't need that <div class="forums" style="float: left;width: 80%;"></div> at all, but it will work too.
I am still many light years away to even come close to you Destroy666 but I am learning thanks for your help I appreciate it a lot!
(2013-11-19, 09:17 PM)marcus123 Wrote: [ -> ]Then find this line
<div class="forums" style="float: left;width: 80%;">

and change 80% to 100%

What do you think Destroy666

hmm is this in th index template?

nvm thanks people for the help!
What theme do you use?
Pages: 1 2