Banner Below Navigation and remove white section on category pages

Posted in: Newspaper
Post count: 44

Hello,

I have two questions.

Question 1.

We are using header STYLE 1 – with the 728×90 to the right of the logo. We would also love to add a banner spot below the navigation before the content begins, but when we add via the editor, it seems to mess with the design – any tips on which files we should edit? Thanks!

We want to add a 970×250 between the main menu and the category tags:

Question 2.

We purchased a background ad rotator and we can select what categories etc that the banner shows on. One issue, where the featured articles are, the white background is 100%, unlike the other pages. Is there a way to keep it within the contest area? I have attached a screenshot:

Thanks for the help in advance!

Post count: 20685

Hi,

1. You could use a do_shortcode containing an ad box with a custom ad code – https://www.screencast.com/t/NJvjNc5ia and enter it in the single file corresponding to your post template file used (post template style 2 – single_template_2.php) from the theme folder, and insert the code in the post structure – https://www.screencast.com/t/CyBEbovSJ with this result – https://www.screencast.com/t/um83ptD49aUh Then you could set some padding top for the ad – https://www.screencast.com/t/MXlbBnvjN This is the shortcode used (you may use a different custom ad if that one is already in use)

<?php echo do_shortcode ('[td_block_ad_box spot_id="custom_ad_1" tdc_css=""]'); ?>

2. I do not understand exactly what you mean regarding the category page. The structure is the same, a content and the sidebar – https://www.screencast.com/t/0IlE56eALnv both in the theme width https://www.screencast.com/t/U392OBp02Q If it is a background ad it will be displayed in the background of the page.

Thanks

Post count: 44

Thank you for the help Simon, greatly appreciated. I will give number 1 a go tomorrow.

For number 2. I attached a screenshot of what is happening: https://www.screencast.com/t/tecYI3h2

Post count: 20685

Hi,

Maybe the image the ad is using is not big enough to fit the entire space available, the theme has a fixed width – https://www.screencast.com/t/fmJMHwwPy and I have no way of giving you a fix for this since the theme has only these options for a background image or color – https://www.screencast.com/t/XqbGrLyh and no plugins with these capabilities were tested with the theme. Maybe the specified background ad plugin has a setting regarding positioning of the ad that you may have overlooked, or simply it is not compatible with the theme.

Thanks

Post count: 14

Hi there,

I would like to apply the same principle but for the mobile theme. What files do I have to edit to add <?php echo do_shortcode (‘[td_block_ad_box spot_id="custom_ad_1" tdc_css=""]‘); ?> for the mobile homepage?

Post count: 20685

Hi,

The mobile theme will not recognize these shortcodes unfortunately. The only ad options for the mobile theme can be seen in the theme panel
https://www.screencast.com/t/pPYkgprrf
The mobile theme is meant to be as light as possible for the best performance on mobile. If you would like to display the same content from desktop, you can simply deactivate the mobile theme plugin. The theme will adapt to each device, due to it’s responsive design.
Here you can find all the options regarding the mobile theme
https://forum.tagdiv.com/the-mobile-theme/

Thanks

Viewing 6 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic.