Hide widget issue

Posted in: Newspaper
Post count: 364

Scenario:

Sidebar category -> Adbox + Block 21 + Adbox
I hide block 21 on mobile with custom css:
@media (max-width: 767px) {
.td_block_id_12345 {
display: none !important;
}
}

Layout = perfect

Now I want an additional block
Sidebar category -> Adbox + Block 15 + Block 21 + Adbox
Layout = broken
What I got is an huge white space on mobile after block 15. It looks like the layout keeps the space which would be filled by block 21 free as white space.

My question:
How can I get rich of this white space?

Regards,
loano

Post count: 22421

Hello,

You will need to provide a link to your website so we can inspect this white space and see where it comes from. (I suspect it comes from the ads, but it is just an assumption. Check your ad code again for errors. maybe an open tag not closing correctly.)

Thank you!

Post count: 364

Hi Bogdan,

Thanks for your reply. Can you please make some tests on your side? Unfortunately our test server is only local and I don’t want to break the layout on the live site.
What I have noticed so far, it is not caused by ads. Furthermore, if I would put a extra ad in between, the layout would be fine. It seems like the issue is occurring as soon as I put 2 block widgets after each other and one is hidden on mobile.

Regards,
Loano

Post count: 364

Sorry! It looks like this issue was caused by a third party plugin! I removed it ad it works now.

Post count: 22421

Glad you solved it.

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