Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Ad on the header #341858

    That is awesome support!

    Since it’s an ad, I which to insert a link to the image. This is the code I have used, but not working:

    function ad_header() { ?>
    <div class="my-custom-ad" ><a href="http://www.stimulus.com.pe" target="_blank"><img src="http://cop20.lamulti.media/wp-content/uploads/2014/10/logo-final-stimulus-ES.png" a href="http://www.stimulus.com.pe" target="_blank"></a> </div>
    <?php }
    
    add_action('ava_main_header', 'ad_header');

    Also, and maybe this is too much to ask, I’d like the ad to be different in english and in spanish. I am using WPML plugin.

    keep rockin’

    in reply to: Ad on the header #341795

    Thanks Yigit, that seems to be working only on big screens. Any ideas how to make it responsive so the banner would go below main logo on small screens? You guys are pure rock’n roll :)

    in reply to: Ad on the header #341332

    Thank you for your reply Ismael, much appreciated. Unfortunately, I need a little more help, since I hooked the code on functions.php but I need the Ad to be aligned with the logo. Logo to the left, and the Ad to the right. When responsive to mobile, the Ad should move below main logo. Ad size is equivalent to the size of logo.

    I know this is maybe a bit too much to ask, but you’d make my day! I am a big fan of Enfold since most content is drag and drop. I am willing to pay for this, since it’s very very urgent! Please advice

    Muchas gracias!

    This is the code I have used so far:

    function ad_header() { ?>
    <div style="float: right; clear: none; margin-top: 50px; margin-right: 50px;" ><img src="http://cop20.lamulti.media/wp-content/uploads/2014/10/logo-stimulus-web.png" class="logostimulus" > </div>
    <?php }
    
    add_action('ava_main_header', 'ad_header');

    But look how it looks :( http://cop20.lamulti.media/

    • This reply was modified 10 years, 2 months ago by soyelguillo.
Viewing 3 posts - 1 through 3 (of 3 total)