Home › Forums › Support › Header ad not displayed This topic has 5 replies, 2 voices, and was last updated 4 years, 3 months ago by David. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts December 28, 2019 at 4:25 am #1115845 Keshav Hi, I have added google ad at header through widget. But ad is not showing on website. Website URL is: wikiwiki.in Please help. Thanks December 28, 2019 at 4:38 am #1115861 DavidStaff Customer Support Hi there, i am seeing this error in the developers console: TagError: adsbygoogle.push() error: No slot size for availableWidth=0 This happens when a Respsonsive Ad is loaded into a container that has no set width. You can test to see if this is the issue by adding this CSS: .header-widget .custom-html-widget .adsbygoogle { min-width: 640px; } December 28, 2019 at 5:09 am #1115872 Keshav Thanks for replying. Code is working on desktop but not working on mobile. December 28, 2019 at 5:15 am #1115873 DavidStaff Customer Support Thats because you have the Mobile Header enabled in Customizer > Layout > Header. This removes the Header Widget. You would need to disable this for it to work. You would also need to adjust CSS for mobile and desktop: /* Mobile */ @media(min-width: 768px) { .header-widget .custom-html-widget .adsbygoogle { width: auto; max-width: 640px; } } /* Desktop */ @media(min-width: 769px) { .header-widget .custom-html-widget .adsbygoogle { min-width: 640px; } } Adjust the Width properties accordingly. December 28, 2019 at 6:23 am #1115914 Keshav Thank you so much.. Issue resolved. December 29, 2019 at 3:19 am #1116589 DavidStaff Customer Support You’re welcome Author Posts Viewing 6 posts - 1 through 6 (of 6 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In