suffix nomobile etc

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 Aug 04, 2015 10:58 am
Reply with quote
Report this post
Hi, I would like to hide some modules on mobile.
So I apply "nomobile" but it seems don't work. Should I live a space before "nomobile"?
Also, can you confirm me there only this 4 "commands":
onlytablet
onlymobile
notablet
nomobile

Thx,
Mario
User avatar
Senior Boarder

GK User
Tue Aug 04, 2015 11:04 am
Reply with quote
Report this post
Hi,
1) yes must be one space before suffix
2) yes, only - but you can manually create more.
User avatar
Platinum Boarder

GK User
Tue Aug 04, 2015 11:23 am
Reply with quote
Report this post
great job Oscar, thx
Any page for suffix creation or any tip?
User avatar
Senior Boarder

GK User
Tue Aug 04, 2015 11:30 am
Reply with quote
Report this post
Tip, whole concept is based on this simple example

@media (max-width: 480px) {
#gk-social {display: none; }
.blog-page > .header {margin-bottom: 20px;}
}

read more about @media & max or min-width (CSS3)
and on small devices you have to reduce paddings, font-size, hide objects etc,
User avatar
Platinum Boarder


cron