Hide Modules from mobile view

Posted in: Newsmag
Post count: 23

Hi Tagdiv Team,
Is there any solution for hiding sidebar or some module from mobile view. I want to create mobile view more simple and faster.

Thx
Hamzah

  • This topic was modified 11 years by Hamzah.
Post count: 6600

Hi,

You could try to do it via custom css and use media query’s to target the mobile screens and hide the sidebar.

Thanks

Post count: 23

what kind of custom css? i’m beginner

Post count: 9544

You would likely need to hire a developer to make those kind of changes if you’re not comfortable creating custom edits to the theme style sheets – basically making it do something outside of its design.

Post count: 6600

Hi,

Please try this one:

@media (max-width: 767px) {
.td-pb-span4.td-main-sidebar {
display: none;
}
}

Thanks

Post count: 23

Thanks, its work. I also want to hide block 16 from my mobile view, do you have any code?

Thanks
Hamzah

Post count: 7909

Hi,
Please try this code:
@media (max-width: 767px) {
.td_block_wrap.td_block_16 {
display: none;
}
}

Viewing 7 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic.