I think I accidentally disabled a block.

Posted in: Newsmag
Post count: 12

I have this header

Stoophang header

There’s a block to the right of the banner logo that used to work. It used to be a text block for TEXT LOGO but now the block doesn’t exist. How can I restore that?

I recall seeing an editor that gave me a graphical view of the block layout for a td template but I can’t find it now. I believe that’s how I disabled that block.

Post count: 20685

Hi,

To the right of the header logo would be the ad, if you use one. Meaning content entered in this field in the theme panel
https://www.screencast.com/t/CDqRO34wVCX
So maybe you removed the code you had there, or maybe disabled the ad
https://www.screencast.com/t/Zcx9qNcIF56Y

Thanks

Post count: 12

Thanks. I tried your advice. Here’s a screen shot.

Stoophang Setting

but the home page still looks like this:

Stoophang Home page

Is there an editor that would let me see/manipulate the blocks within that container?

Post count: 20685

I believe that is the default header ad code with a default placeholder image, if you want to use that please check if the image it uses still exists in the media library. Maybe it is not found. Or replace that image with something of your own in the code.

That container is an ad spot, to display ads. Not meant to display blocks with posts. You can use Adsense or non-Adsense ads if you want depends on what you want
https://forum.tagdiv.com/newsmag-header-ads/
https://forum.tagdiv.com/newsmag-using-other-ads/

Post count: 12

I’m back on this problem. In Chrome’s Inspector, the block is there. It’s just not visible.

<div class="td-header-ad-wrap td-ad-m td-ad-tp td-ad-p">
<div class="td-a-rec td-a-rec-id-header td_uid_1_5d34c16c4662e_rand td_block_template_1"><span class="td-adspot-title">TEST </span>
<div class="td-all-devices">


</div>
</div>
</div>

The image URL is good so this points to a possible CSS issue with block visibility.

Post count: 12

Another observation: the div td-header-sp-rec,which is the parent div to the above, is showing a size of 728×0. That could explain why nothing is visible in that block. What would cause this?


<div class="td-header-sp-rec">
<div class="td-header-ad-wrap td-ad-m td-ad-tp td-ad-p">
<div class="td-a-rec td-a-rec-id-header td_uid_1_5d34cdb15827f_rand td_block_template_1">
<span class="td-adspot-title">TEST </span>
<div class="td-all-devices">
</div>
</div>
</div>
</div>

Post count: 23312

Hi,

The correct source for the Ad Code should have to look similar like below. Did you have tried this?

<div class="td-all-devices"></div>

The result is here -> https://www.screencast.com/t/FlVO4QQFuua

Please note that your custom ad code should look like as I have pointed you above. If you add another class, this banner will not work as expected. Please check our documentation from here -> https://forum.tagdiv.com/newsmag-using-other-ads/ to see how your custom ads should be created. If you have any questions, please let us know and also, provide more details.

Thank you!

Post count: 12

I believe that’s what I have:

Ad block

This is a screen shot to prevent the browser from interpreting the HTML in that block. Nothing appears in that block including the “TEST” title.

Post count: 23312

Hi,

I have checked your website and the Header Ad seems to be there as you can see here -> https://www.screencast.com/t/fJW9Dhj8Th Clear all the caches, purge CDN file and check the results.

Thank you!

Post count: 12

I don’t run a cache plugin nor a CDN and I’ve completely cleared the caches on both Chrome and Firefox on my Mac many, many times and still nothing appears in that block. But if I load Firefox on my Linux box which has never accessed the site before, the block appears. The header appears to be cached somewhere but I don’t know where.

I just found that the header works on Mac Safari too, which I also never use and which has never accessed the site before now.

I even changed that ad link to another image and Chrome and Firefox on the Mac aren’t picking it up.

Post count: 12

So, this is what I see locally on my Mac using three different browsers.

Chrome
Chrome

Firefox
Firefox

Safari
Safari

The only difference is that I never use Safari. It only saw the site after I enabled the new image. This tends to point to some stale CSS or object that’s been cached on the first two browsers which is getting re-served to them when they visit the site even after the browser caches are cleared. But I have no cache plugins.

Using Chrome Inspector shows that the sites which DON’T show that image have a td-header-sp-rec DIV of 728×0. Those which DO show that second image have a td-header-sp-rec DIV of 728×114.

Post count: 23312

Hi,

It seems to be strange because I have checked your website on Chrome on MAC and the header ad seems to be there, as you can see here -> https://www.screencast.com/t/CQ1Q9meY

Thank you!

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