Hello,
I wonder what I need to do to place an AdSense ad (728×90) just below the main menu and keep the background color. Something like this: http://i.imgur.com/9zHCwWN.jpg
This is my own site, it was a montage I made.
Thank you and I await response
Hi,
You can do this by adding your ad code for the “header ad” like this: http://screencast.com/t/4ha9Rihm4C8
Then chose header style 3 or 6 like this: http://screencast.com/t/vqALWiLD
After this add this custom css:
.header-style-3 {
display: none;
}
..in theme panel > custom css, like this: http://screencast.com/t/Exfbwrgj
Should get this result: http://screencast.com/t/o5dnzOfRf
Thanks
It worked, Lucian, thanks. But the logo disappeared đ
this is the result: http://i.imgur.com/Ku8o9fd.jpg
One more question, how do I add a block of links below the advert (I put the links in the header block of ads, along with the announcement, but he did not show).
Thanks again.
Hi,
Sorry about this! I saw the picture and thought you don’t want the logo, haven’t looked well at it, just remove the custom css I gave you from theme panel > custom css, it will show up.
You can use page builder to make your list of link and then get the shortcode and ad it using the do_shortcode function on the header or after the ad where ever you want the link to show on your page.
Hope this helps!
Thanks
It worked, the logo appeared!
The blocks of links is adsense, is equal to announce 728×90 . The steps are the same? I would like to stay in the first image.
If the same steps, I do not get it right. đ
Sorry about my english, i am brazilian.
Thanks again, @Lucian!
Hi,
You could do it the same way just instead of the function you could try to place the script or the code you want to show there inside a div tag and give it a class then use that class to style it via css.
Another way would be to place your code inside one of the custom ad boxes: http://screencast.com/t/vbmiKoAV8n then use the do_shortcode() function to place the code whre you want it to show using this code:
<?php echo do_shortcode('[td_ad_box spot_id="custom_ad_1"]');?>
Just add your code inside the custom ad box 1 then place the code above where you want the block of links to show.
If it dose not work please try the other solution. If you don’t have basic css and html skills we recommend you to hire a freelancer from sites like http://studio.envato.com/ to do it for you, or you can try to search the web for a solution as this is custom work and we cannot offer custom work as we work hard on the development, updates, fixes and support.
Hope this helps!
Thanks
Hi, I finally got it. Thank you so much!
I have one last question: Is it possible to put the logo on the left side equal to first style?
It looks like this: http://www.techtube.com.br
Hi,
I’m not sure I understand what you want to achieve, using the style 1 the logo it’s placed on the left unless you refer to the logo on mobile screens which it’s on the right. Please let me know and provide more details, also a screenshot would be helpful.
Thanks
Hi,
I believe he used this plugin: https://wordpress.org/plugins/contextual-related-posts/
Thanks
-
This reply was modified 11 years by
Lucian.