Cant hide Module on mobile/table despite module suffix.

Responsive community-minded music Joomla template with JomSocial extension support.
Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Mon Sep 22, 2014 10:55 am
Reply with quote
Report this post
Hi, I have never worked out how to hide modules with Gavick Pro templates...

I use the module suffix " notablet nomobile" (note has spaces), but the module still appears.

Take a look at: http://s328031275.mialojamiento.es you can see that the Image Show GK4 appears on all devices despite the suffix.

What am I doing wrong?
User avatar
Senior Boarder

GK User
Mon Sep 22, 2014 1:56 pm
Reply with quote
Report this post
Hi,
you are right is doesn't work for this position/module.
I will find solution, moment
User avatar
Platinum Boarder

GK User
Mon Sep 22, 2014 2:02 pm
Reply with quote
Report this post
For no mobile & no tablet use instead:
Code: Select all
@media only screen and (max-width: 960px), only screen and (max-device-width: 960px) and (-o-min-device-pixel-ratio: 2/1) and (orientation:landscape), only screen and (max-device-width: 960px) and (-webkit-min-device-pixel-ratio: 2) and (orientation:landscape), only screen and (max-device-width: 960px) and (min-device-pixel-ratio: 2) and (orientation:landscape) {
   #gkHeader > div {display:none !important;}
}


it works for me.
User avatar
Platinum Boarder

GK User
Tue Sep 23, 2014 1:01 pm
Reply with quote
Report this post
Thanks that works perfectly. Even better, I understand it.

It's a pity that it isn't clearer that the module suffix doesn't work for all module positions (perhaps you should mention that here)
https://www.gavick.com/documentation/jo ... ve-layout/

Also I keep trying to encouraging you guys to remember to explain that this code should be placed in the CSS Override box in the Advanced settings tab of the template in the Joomla back end (and CSS Overrides should be turned on). Joomla is easy to use, so many people use it with less CSS experience. They have these problems by don't know what template overrides are, it took me days to work out what you were talking about the first time I came across it.

Thanks again for the awesome templates/service !!! :D
User avatar
Senior Boarder

GK User
Tue Sep 23, 2014 2:36 pm
Reply with quote
Report this post
2x Thanks,
About How to use Custom CSS in Gavick templates topic/question - I had (still have) link in my footer where everything is explained well. I guess you've found out before?
User avatar
Platinum Boarder

GK User
Tue Sep 23, 2014 5:45 pm
Reply with quote
Report this post
Wow. I never new about that page! It may seam like work, but would be great if you copied pasted that link every time (yes!) you post CSS code to draw attention to it. Not everyone shares your knowledge (otherwise the wouldn't be here) and believe it or not it would probably save you work. - once again thanks, I am ready to go live this week... very nervous it was a big project!
User avatar
Senior Boarder

GK User
Tue Sep 23, 2014 9:53 pm
Reply with quote
Report this post
I'm glad that I could help my current and past work.
yes, you right not all people look at the footer :(

If you need extra, not support work - let me know via PM.
User avatar
Platinum Boarder


cron