Article inline ad overlap

Posted in: Newsmag
Post count: 10

Hi!

In my Newsmag theme a have an article inline ad set to show after paragraf 1. When i also have tagdiv-gallery in the post it overlaps the ad when the text ends before bottom of ad. How to solve this?
http://www.bilddump.se/bilder/20170108175210-81.94.84.28.jpg

If i hit enter a couple of times so that the end of the text is bellow ad it looks fine. But then it shows a big white area on mobile as it thinks its text there.
http://www.bilddump.se/bilder/20170108175648-81.94.84.28.png

See the issue live here http://blaljusnyheter.se/2014/09/11/eskilstuna-husvagn-och-bil-i-lagor/

I have the same setup on my page that have the newspaper theme and there i dont have this issue.

Post count: 23312

Hello Ottret,

I have made some tests and it seems to be a mini bug in our theme in this regard, sorry! You should try using the code below and place it in Theme panel->Custom CSS area. I have added to our list of improvements and we will consider to fix it as soon as possible.

.td-gallery-slide-top {
margin-top:200px;
}
@media only screen and (min-width:768px) and (max-width: 1023px){
.td-gallery-slide-top {
margin-top: 140px!important;
}
}
@media (max-width:600px){
.td-gallery-slide-top {
margin-top: 20px!important;
}
}

The result is here -> http://screencast.com/t/IzfSEgfoZU

Thanks for the message!

Post count: 10

Looks like it’s working. I may perhaps change some values for margin-top, but otherwise it was good.

Thanks!

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