Space Above AD TITLE On ARTICLE INLINE AD

Posted in: Newspaper
Post count: 108

Hello team

I want to make the white space above AD TITLE On ARTICLE INLINE AD disappeared:

https://www.screencast.com/t/d1Zh9NnRW

Can you help me with the custom CSS?

Thank you

Best regards

McDohl

Post count: 20688

Hi,

Check if the inline ad has a title set in the theme panel – http://prntscr.com/o0h5aj If it does, remove it if that is what you want.

In case you use a cloud post template, edit the template with the composer and click on the post content element – http://prntscr.com/o0h6nw then remove the title from there.

Thanks

Post count: 108

Hello simion

Thanks for your response, no, I want to keep the ad title, and make the white space above ad title disappear, is it possible to use custom css to make the white space above ad title vanish? I want my content look neat without the white space above ad title.

Thanks

Post count: 20688

Hi,

Sorry for misunderstanding. I could give it a try, post a link to where I can see the ad so I can create a code for it.

Post count: 108

Hello Simion

Thank you again for your response. That my localhost, I am not using it at my website yet, so I can only give you the pic. Before I am using the inline ad title at my website, I test it first on my localhost. I don’t like the white space that is slightly wide in the top the inline ad title:

https://www.screencast.com/t/shfCu7kR3

I want my content look neat along with the inline ad title.

Thank you

Best regards

McDohl

Post count: 20688

Hi,

That would be the same as above – http://prntscr.com/o0wdhm Each paragraph in the post content will have a margin bottom of 26px – http://prntscr.com/o0wdy3
So in this case there will be that margin below the paragraph and then then ad.
I could give you a code to reduce the space between them, try it like this

.td-post-content p + .td-a-rec-id-content_inline {
margin-top: -10px;
}

You can modify that value if needed.

Post count: 108

Hello Simion

Thank you for the custom CSS, the code is work. But I change it a little bit:


.td-adspot-title {
margin-top: -30px;
}

That code is work perfectly.

Thank you again

Have a nice day

Best regards

McDohl

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