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

XF 1.4 Why does this text show up below the ad?

Discussion in 'Styling and Customization Questions' started by Jens1986, Feb 19, 2015.

  1. Jens1986

    Jens1986 Active Member

    As the tilte says, why does the text get pushed down below the Ad?

    In extra.css:
    .annonsestil {display:inline; float:right; width:250px;}
    In ad_message_body:
    <div class="annonsestil">Adsense-code</div>
  2. Brogan

    Brogan XenForo Moderator Staff Member

    You need to float the ads to the right.

    <div style="min-height: 125px; margin-left: 8px; float: right">
        AdSense code
  3. Jens1986

    Jens1986 Active Member

    @Brogan, it does not work with your code either. And if you look in my first post I have the float: right there. What can be the problem? My theme?
  4. Brogan

    Brogan XenForo Moderator Staff Member

  5. Jens1986

    Jens1986 Active Member

  6. Brogan

    Brogan XenForo Moderator Staff Member

    Looks like a style issue.
    There are some weird classes there such as funbox and funboxwrapper.

    Test in a default style.
    If it works then you will need to contact the style designer.

    Removing the overflow:hidden from the funbox class fixes it, but I don't know what effect that will have elsewhere.

Share This Page