• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Not a bug A Banner Problem in XFMG

#1
HI!
After I've updated to the new 1.0.3 Version my responsiv Google-Banner in ad_below_content doesn't worked right.
Now I had to add the responsiv banner to ad_below_bottom_breadcrumb and it works again...

media.JPG
 

Chris D

XenForo developer
Staff member
#3
If you use the banner in ad_below_content, make sure the div or other element that contains your ad code has clear assigned to it, e.g.
Code:
div
{
    clear: both;
}
or:

Code:
<div style="padding: 10px; clear: both;" />
It shouldn't affect any of your other pages and ensures the banner ad positions itself correctly.
 

Chris D

XenForo developer
Staff member
#5
The other XF pages don't use floats and grids so it isn't an issue.

I've just checked on your site, and I can't see anything similar to what I described above:

upload_2015-2-22_10-18-20.png

I was being vague, before, it wasn't the exact instructions as it will depend on exactly how you style the div containing your ads. Am I correct in saying you added this yourself?
Code:
<div style="text-align: center; padding: 8px 0 8px 0;">
If so, you need to change that to:
Code:
<div style="text-align: center; padding: 8px 0 8px 0; clear: both;">