Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #26693

    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.

    #131272

    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'>

    <div class='container'>

    because the “container” div will center and scale the content on smaller screens.

    #131273

    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.

    #131275

    Hi,

    On header.php, place the code above this one:

    <?php
    /*
    * 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');

    Regards,

    Ismael

    #131276

    Thanks so much. That did the trick! You guys rock!

    #131277

    Hey,

    Glad it worked. :)

    Cheers,

    Ismael

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Enfold header banner ad’ is closed to new replies.