How to disable element/block on mobile view?

Posted in: Newspaper
Post count: 18

Hi,

I have some problems with displaying block, elements at mobile view. Some of them i would like to switch off. I was trying do this using ‘advanced css’. But block wont switched off.

http://pokazywarka.pl/oin755/

my site http://meteoserwis24.pl/

Post count: 18

I was trying with this topic https://forum.tagdiv.com/topic/how-to-disable-the-big-homepage-blocks-in-mobile-view/

but still .single_template_4 .similar-articles wont switch off at mobile devices.
I added custom css:

@media
(max-width: 767px) {
.single_template_4 .similar-articles
display: none !important;
}
}

and

@media
(max-width: 767px)
.similar-articles {
display: none !important;
}
}

any help?

Post count: 7909

Hi,

Please use this custom css in Theme Panel > Custom Css or use your code but add space between classes: http://screencast.com/t/i6MMYXlW

@media (max-width:767px) {
.single_template_4 .similar-articles {
display: none !important;
}
}

Thanks!

Post count: 18

That damn space! I just lost about 2 hours trying to figured it out! So i supposed to give more than one space, great:)
Now it works fine. Thank for help, great support! Cheers!

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