Celebrate Christmas and New Year with 10% off on Themes Bundle, use coupon code "XMAS10" Buy Now

Hide widgets on mobile

Home Support Dentist Plus WordPress Theme Hide widgets on mobile

This topic contains 3 replies, has 2 voices, and was last updated by  Grace Themes 3 months, 2 weeks ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #10974

    Vinicius
    Participant

    I’m trying to make a specific widget (contact) being hidden on mobile, but it’s not working.

    I’ve tried using the plugin Widget Options and using the code bellow but I have no success.

    @media only screen and (max-width:480px) {
    .hide_on_mobile {
    display: none !important;}
    }

    It seems the template and the plugin Widget Options are not compatible. How can I fix it?

    Cleaning Services

    Thanks

    #10994

    Grace Themes
    Keymaster

    Hi,

    To hide the contact sidebar widget from mobile version
    Go to Appearance -> Theme Options -> Basic Settings -> Custom CSS
    add belo css code

    @media screen and (max-width:767px){
      #sidebar { display: none}
    }

    The Widget Options plugin is compatible and works fine with all of our themes.

    Regards
    Grace Themes

    #11003

    Vinicius
    Participant

    It worked perfectly!

    Thank you.

    #11008

    Grace Themes
    Keymaster

    Welcome.!

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.