Forum Replies Created
-
AuthorPosts
-
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’
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 :)
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 ago by soyelguillo.
-
AuthorPosts