Hey, I’ve searched on the forum for this and the answer I found to a similar question was for a different theme and I couldn’t find the code in Header.php. I’m new to this but really enjoying Enfold. How can I put a banner ad in my header at the top of my site? Thank you in advance.
http://www.MashItOut.com is my site.
This is just a recommendation and not a “must” – you can place the banner code anywhere you want in header.php. Just make sure it’s after the body tag. I’d recommend to place it below following lines
<div id='header_meta' class='container_wrap container_wrap_meta'>
because the “container” div will center and scale the content on smaller screens.
Thanks man. I got the ad up but it went under the menu bar. Is there a way I can move it next to the logo? Like Mashitout logo then ad? Thanks so much for helping me. Enfold is definitely best WPress purchase I have ever made. Excellent customer support here.
On header.php, place the code above this one:
* display the theme logo by checking if the default logo was overwritten in the backend.
* the function is located at framework/php/function-set-avia-frontend-functions.php in case you need to edit the output
echo avia_logo(AVIA_BASE_URL.'images/layout/logo.png', false, 'strong');
The topic ‘Enfold header banner ad’ is closed to new replies.