I created a support post over at Theme Forest and was told to open a new thread here.
I’m developing a site at electricliterature.com/blog-test and we’re trying to get ads from the LitBreaker network to display. The scripts for sidebar ads work fine, but the banner ad script is breaking the functionality of the header.
With the script in header.php, the banner ad displays but the space never disappears when you scroll down the page. The nav bar floats in the same position, with content appearing above and below it. It works ok if we place the ad script below the header, or in singelpost.php, but that’s not ideal. Is there a way to make the ads appear above the header, and then disappear as they do on other websites?
Here’s the script:
We’ll need to see the script in place on a live site so we can inspect the code a bit.
You can see it at http://electricliterature.com/blog-test
One of our developers has made some changes to the child theme code, but is there an easier way to get banner ads to display properly?
Looks like you’ve got a pretty good implementation as is. There isn’t really a proper way at this point to add in a banner since the theme doesn’t really have built in support for it in conjunction with the collapsing header style so whatever works for you is the best way to go.
The topic ‘Banner Ad Not Functioning’ is closed to new replies.