Hide header module position with nomobile suffix not working

GK User
Fri Mar 06, 2015 9:38 am
Hi,
I can hide some modules on mobile views with "nomobile" suffix, but cannot hide module on "header" position, doesn't work.I need to do that because I have to made some modifications on mobile view module.
My site is http://www.clinicaladental.com
thanks,
DN.
User avatar
Expert Boarder

GK User
Fri Mar 06, 2015 9:11 pm
Hi,
please use this css code:
Code: Select all
@media only screen and (max-width: 480px) {
.frontpage #gkHeader {display:none !important;}
}


and on smartphones it will hide this area
User avatar
Platinum Boarder

GK User
Wed Mar 11, 2015 10:46 am
Ok, but I need to hide a module (created for large screens) in this position, but I need to create a new one for mobile views. Your option disables #gkHeader for every module you publish in header position, right? so this not solve my problem.
User avatar
Expert Boarder

GK User
Wed Mar 11, 2015 11:41 pm
yes,
so use this custom css only on that page where you need it, you're expert user I guess.
read: https://www.gavick.com/documentation/jo ... cted-pages
User avatar
Platinum Boarder

GK User
Mon Apr 06, 2015 10:38 am
Hi oscar,
but I don't underestand at all. I think "nomobile" suffix is not working for header position. If I use it, for example, for sidebar, module is hide on mobile view, then I can create a new one for sidebar mobile view with suffix "onlymobile". This is what I want to do with header position.
User avatar
Expert Boarder

GK User
Fri Apr 10, 2015 9:41 pm
It's quite possible,
so use following code instead

Code: Select all
@media (max-width: 480px) {
#gkHeader {display:none;}
}


and on mostly mobile device this area will hidden
User avatar
Platinum Boarder


cron