Hide module with nomobile suffix

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
Tue Sep 18, 2012 3:07 pm
Reply with quote
Report this post
If I use the nomobile suffix the module is hidden not only on a mobile phone, but also on my desktop...
Are the nomobile and notablet suffixes not available in the Creative template?
User avatar
Senior Boarder

GK User
Tue Sep 18, 2012 3:59 pm
Reply with quote
Report this post
They are available in templates css files.

If you use nomobile class because this css class is also in desktop version of css it gets hidden. So you can remove it from desktop version so css only gets rendered hidden in mobile css and tablet css.

File: templates/gk_creative/css/template.css
Line: 554 to 556
Code: Select all
.nomobile {
   display: none;
}


See you around...
User avatar
Platinum Boarder

GK User
Wed Sep 19, 2012 1:19 pm
Reply with quote
Report this post
Thanks normanUK!
User avatar
Senior Boarder

GK User
Sun Sep 23, 2012 5:26 am
Reply with quote
Report this post
No problem at all, see you around...
User avatar
Platinum Boarder


cron