• 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

#1
Hi,

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
 

Siropu

Well-known member
#2
Is it a responsive Adsense unit?

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