Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Kadence + AdInserter + CJ = Image Ads Not Centered

Home / Forums / Kadence Theme / Kadence + AdInserter + CJ = Image Ads Not Centered

This topic is: Resolved
[Resolved]
Posted in: Kadence Theme
October 6, 2021 at 7:55 am

Hi Guys!

I am having a weird issue with Kadence. I was using AdInserter before changing to Kadence with no problem, hence I am certain the issue is with the theme and how CSS is interpreted by Kadence. I’m just not very good with CSS or HTML so I’m hoping one of you can help.

My problem is, that I’m trying to use ‘custom’ banner ads, with the format of a href - img

I then select center align in adinserter and it will wrap the whole thing into a DIV, with style text-align:center

Now this code does not center my banner ad, like it did on the previous theme (it DOES center the ‘Advertisements’ text however)
I can get the ad centered if I manually define the height + width dimensions, BUT that makes it too big for mobile. I tried with width=100% that does not center the banner. I have also tried with width=50% which in fact centers the banner ad, however it makes it 50% smaller, practically useless for mobile.

I’m just lost on how to actually center this, I can have additional manual CSS in AdInserter, so if anyone can advise on something that would be amazing.

  • The forum ‘Kadence Theme’ is closed to new topics and replies.