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
Recommended Comments
There are no comments to display.