rename the ad-container

Posted in: Newsmag
Post count: 53

Hello,

is it possible to rename the ad container. It would be better when containers like “td-a-rec-id-custom_ad_2” have another name like “td-a-rec-id-custom_qwerty_2” so it will not be recognized by every adblocker…

Post count: 6535

Hi

Renaming the ad-spots is not an easy task because their structure is based on the actual names. The html structure it’s generated by php and depends by each ad spot’s unique id. Also you will need to change all css classes from style.css.
This is a complex task which involve many customizations and unfortunately I can’t provide a solution now. If you’re not aware of the steps you need to take in this regard please consider hiring a freelancer from sites like: http://studio.envato.com/ to do this for you as we can’t offer customization services at the moment.

Thanks for your message!

Post count: 9544

Note we had this issue with client using another theme for an ecommerce setup, and the layout blocks for the home page used “ad” in them and so the shop home page had no products when viewed in browser with ad blocker.

For that particular project last year, I had to do a search/replace using Dreamweaver (any programmer text editor can do this too) to do a full search/replace of the entire theme folder.

e.g.,

home-adblock-one

had to do full search/replace

to change to something like

home-showcase-one

Then it worked. Bit of a pain. But it worked in this case since on that project the elements on front page of store were NOT ads.

Of course, with “real” ads, the adblocker will look at where the ad unit is coming from, the name of the image, the folder it loads from (eg., /ads/myadone.jpg would be an ad), etc. — so the CSS class alone might not solve issues with ad block stoppage.

Just food for thought.

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newsmag’ is closed to new topics and replies.