Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter korfiati_a

    (@korfiati_a)

    Earlier, I asked a question, but no answer.
    If the site offers a mobile version (without side columns), how to do, not to download scripts that are in the sidebar?
    I can not understand how to do it.
    Thank you.

    If I understand correctly, you want to disable widgets and stop scripts from loading that are running in the sidebar when a user is using the responsive (mobile) layout?

    Because of the responsive nature of this theme, this would be very tricky.
    I will have to do some research on this.

    Alternatively, you could provide users with a responsive theme that is dedicated to mobile devices.

    Thread Starter korfiati_a

    (@korfiati_a)

    Thanks for the answer.
    You understand the question. I’ll wait for your investigations.
    I do not quite understand about alternatively
    How to do it?

    Obvious question here, but have you tried hiding both sidebars from within the Theme Options? I don’t think that this will disable it in responsive mode, but it’s worth a shot.

    Thread Starter korfiati_a

    (@korfiati_a)

    I worked responsive theme.
    I do not know the code to disable downloading scripts, if the topic is open on mobile.

    Hi Anastasia. Here’s a post that discusses the same issue. Might give you some help: https://www.organizedthemes.com/loading-scripts-conditionally/#li-comment-5965

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Do not load the sidebar widgets for mobile devices’ is closed to new replies.