Inline Center Ad (Auto height change?)

Posted in: Newsmag
Post count: 27

Hey, I love the inline ad feature. However when I turn on “Auto” the leaderboard / banner ad size it uses is to small in height. I would like to scale the height of inline ads to around 280px so the ads can also load square ads as well as banner ads. I tried editing the google ad code to have height:280px;width:100%; however this did not help.

It looks like it’s setup for a max height of 90px atm?

I’ve been digging around the files and have yet to see where I can edit this.

  • This topic was modified 11 years by SaL.
Post count: 6535

Hi

You need to edit td_panel_ads.php file and add your custom ad size like here: http://screencast.com/t/kY4P8WzCfQdt

array('text' => '120 x 280' , 'val' => '120 x 280'),

But we highly recommend to use the dimension from theme panel because are standards from google http://screencast.com/t/54PYnyYs

Thanks!

Post count: 27

Ahhh ok, it be nice if auto was fluid though. All you do is set a height or something.

Text ads inline 600w x 280h look pretty spot on, hense why I want to do this. I can do it on my category pages, but I don’t use custom ad locations for that placement, therefore I am able to have the google code work correctly without the custom ad code auto wrap sizes.

Having the ad this size creates more competition from different ad sizes that can fit insize the square.

The content inline auto ad is a 468 banner, and those stopped being good ads once everyone moved onto larger resolutions years ago.

I guess there is no way to set percentage within the val => eh? For example ‘val’ => ‘100% x 280’)

Post count: 27

I did what you suggested and:

array(‘text’ => ‘640 x 280’ , ‘val’ => ‘640 x 280’),

Have this ad type set to only display desktop mode.

Thanks again eh, lovely support, lovely theme.

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