Sidebar ad class

Posted in: Newspaper
Post count: 44

Hi,
I’m using Newspaper 5, and I would like to chance the class of the container the sidebar ad is in. I have assigned the sidebar ad with adbox in VC.

Right now I see in the source it puts the ad in a <div class=”td-a-rec td-a-rec-id-sidebar “> container but I would like to make some modifications. Where do I go to edit the code?

Thanks for any help!

Post count: 22421

Hello Ronnie,

We usually use the browser inspector and a free chrome extension called live CSS editor to create our css code and then just add it in the theme panel->custom css box http://screencast.com/t/bE6DzkfZM
You can also modify the ‘style.css’ file if you want: http://screencast.com/t/oN74OaoKfu.

Thank you!

Post count: 44

Thanks Bogdan,
I don’t want to change the css, I want to make modifications to the div container, so I would like to know in which file is the code that generates the <div class=”td-a-rec td-a-rec-id-sidebar “> tag.

Thanks in advance!
Ronnie

Post count: 22421

Hi,

The file you are looking fore is called ‘td_block_ad_box.php’ and can be located here: http://screencast.com/t/tO88VK9S

Thanks

Post count: 44

Perfect, thanks!

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