How to disable inset position on mobile?

GK User
Wed Jul 08, 2015 8:36 am
How to disable inset position on mobiles and tablets?
Thanks.
User avatar
Expert Boarder

GK User
Wed Jul 08, 2015 3:44 pm
You would need to use @media queries in override.css and hide them with css.
User avatar
Moderator

GK User
Fri Jul 10, 2015 7:57 pm
There is an easier way - to add nomobile class for inset position.

Maybe someone will find it useful.

in file /templates/gk_univesity/layouts/default.php

find code

Code: Select all
<aside id="gkInset" class="dark-area">


and replace with

Code: Select all
<aside id="gkInset" class="dark-area nomobile">
User avatar
Expert Boarder

GK User
Sat Jul 11, 2015 7:08 am
It can be done this way and it is easy, but if you upgrade template you need to remember to add those changes again. With override.css it is only one file that needs to be replaced.
User avatar
Moderator


cron