-
AuthorPosts
-
February 9, 2016 at 11:38 pm #580649
I am trying to add a banner position above the main menu.
I have added the following to my functions.php
add_filter( ‘ava_after_main_menu’, ‘enfold_customization_add_stuff_to_header’ );
function enfold_customization_add_stuff_to_header(){
echo ‘<div id=”wik-ftc-banner-ads-top-container”><div id=”wik-ftc-banner-ads-top”>test</div></div><br>’;
}Somehow the menu is on top of my banner div.
Any clue how I can position it in between the main menu and the top menu?Thanx :)
February 10, 2016 at 1:22 am #580706Hey envis!
link you have provided seems to be broken to me. I can’t find the elements in question.
Regards,
AndyFebruary 11, 2016 at 6:01 pm #581783Sorry for that, the website is not live yet, so I have created a read only account so you can see the page.
Credentials provided in the private content.February 11, 2016 at 6:29 pm #581808Hi!
Please add following code to Quick CSS as well and adjust as needed
#wik-ftc-banner-ads-top-container { top: -40px; }
Regards,
YigitFebruary 14, 2016 at 3:29 am #582817Yigit,
I want to display a banner that shows above the menu at a 720×90 resolution.
Then on mobile it should show an ad in the same resolution but centered horizontally.
I have a plugin who adjusts the add size, but how to position the div which shows the ads?I really appreciate your help :)
Gerben
February 16, 2016 at 12:33 pm #584106Hey Gerban!
Your website does not load correctly on my end at the moment. You can simply adjust the code you posted here – https://kriesi.at/support/topic/banner-position-above-right-menu/#post-580649 or you can use custom CSS to change the position. Can you please post a screenshot showing the changes you would like to make? You can upload your screenshots on imgur.com or Dropbox public folder and post the links here
Regards,
YigitFebruary 16, 2016 at 1:33 pm #584162Yigit,
I have provided a username and password in my first post so you can see my site. Now I have changed that account to an admin account.
I just want to create a banner of 468×60 pixels in between the top menu and the main menu with a margin of about 20px top bottom.
Can you provide me some sample css I can work with? Somehow I can’t get the main menu down :SI hope you can help me out.
February 17, 2016 at 1:20 pm #584676Hi!
Please add following code to Quick CSS
div#wik-ftc-banner-ads-top-container { z-index: 999; }
Cheers!
YigitFebruary 21, 2016 at 5:09 pm #586694Yigit,
Thanx m8, everything works like a charm now! :)
-
AuthorPosts
- The topic ‘Banner-position above right menu’ is closed to new replies.