1. 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

Discussion in 'Media Gallery Resolved Bugs' started by Kai Kreye, Feb 18, 2015.

  1. Kai Kreye

    Kai Kreye Member

    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
     
  2. estranged

    estranged Well-Known Member

    I have this problem with xfmg too but I was too lazy to open a thread :)
     
  3. Chris D

    Chris D XenForo Developer Staff Member

    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.
     
  4. estranged

    estranged Well-Known Member

    I have added it but still no change.

    It looks like a bug to me because everything is fine in all other non xfmg pages.
     
  5. Chris D

    Chris D XenForo Developer Staff Member

    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;">
     
    estranged likes this.
  6. estranged

    estranged Well-Known Member

    Now it works thank you :)
     

Share This Page