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

XF 1.5 Adsense not showing

Discussion in 'Styling and Customization Questions' started by ArtG, Sep 3, 2016.

  1. ArtG

    ArtG Member


    I want the Adsense banner to show in the header on the right side of the screen. I added the code in a div inside the template ad_header.

    Without styling, it appears in the top left corner. When I add float: right to the div, the banner is not visible. What am I doing wrong?

    Site: http://aquascapingschool.com
  2. Siropu

    Siropu Well-Known Member

    Is it a responsive Adsense unit?

    Try this:
    <div style="float: right;width: 100%;max-width: 728px;">
    adsense code
  3. ArtG

    ArtG Member

    It is and that works. THANK YOU!
    Siropu likes this.

Share This Page