• Resolved Christian

    (@cluetzenkirchen)


    Hello again,

    i want to disable the widgets on mobile devices (Smartphone, Tablet etc.).

    Is there any code that I can put into custom-responive?

    Thanks ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi

    for this add this code in custom-responsive.css (Theme package >> css >> custom-responsive.css) file

    Add below css code.

    /* Landscape phones and down */ line no 183 in custom-responsive.css

    #sidebar
    {
    display:none !important;
    }

    /* Landscape phone to portrait tablet */ line no 101 in custom-responsive.css

    #sidebar
    {
    display:none !important;
    }

    Thanks.

    Thread Starter Christian

    (@cluetzenkirchen)

    Hi,

    I added the code you posted, but the widgets are still available on Smartphones…

    Thread Starter Christian

    (@cluetzenkirchen)

    Hm, I think there′s a error in my theme.

    Because if I take Emulation of Firefox with an Solution e.g. 263×480, the site doesn′t use custom-responsiv.css – I can see it in the browser-inspector!

    Thread Starter Christian

    (@cluetzenkirchen)

    Ticket can be closed, I added the css code now in bootstrap-responsive.css!

    @imran ali: Thanks again for your help ??

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Disable widgets on mobile devices’ is closed to new replies.