Trending Now hide on mobile

Posted in: Newspaper
Post count: 41

Trending Now or New Ticker (I don’t know what do you call it.) I want to hide it on mobile. Would you please add that option on Theme Panel on next next update, and for now would you please tell me a proper css code to hide it on mobile with no white space when it’s display: none;

screnhot 1 | screenshot 2

Thank you

Post count: 22421

Hello,
The white space does not come from the trending now block if set to display none. Here is the code needed to remove the trending now element:
@media(max-width:767px){
.td_block_trending_now{
display:none!important;
}
}

The white space comes from the page margin. Every page has this top margin which can be removed with this code:
@media (max-width: 767px){
.td-main-page-wrap {
padding-top: 0px!important;
}}

Thanks

Post count: 41

Thanks bodgan. Both code worked but worked without !important (via Theme Panel>Custom code) Thanks for quick reply. I hope that comes as a setting in Theme Panel in next update (I am sure your already busy with alots of other features but anyway..)
Thanks

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