Jump to content
Wolfie's Whine's
  • Welcome to Pages!

    To get started, make sure you are logged in and click the arrow on the left hand side Block Manager to expand the block manager.
    You can move, add and edit blocks without the need for complex coding!

  • Sign in to follow this  

    Mobile View - Remove sidebars


    NiftyWolfie

    So to remove the sidebars only on the mobile view we need to see if the user is using the mobile view or not.

    //sidebars code

    Now that code there needs to be added in a Template or a Block, with the code for your sidebar between it. This will also work if your using the default wrapper from IPS setting.

    All this simple check does is see if the mobile skin is being used or not and then removes the sidebar if it is.

    Thanks to Marcher Technologies for this wonderful tip

    Sign in to follow this  


    User Feedback

    Recommended Comments

    There are no comments to display.


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.