How to hide a module for handheld devices?

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
Wed Sep 18, 2013 8:56 am
Reply with quote
Report this post
I have a menu module which I would like to hide when a user is browsing the website using for instance an iPad/iPhone.

Please let me know how to do this. :?:
User avatar
Gold Boarder

GK User
Wed Sep 18, 2013 9:21 am
Reply with quote
Report this post
Do You know CSS3 media queries?
User avatar
Moderator

GK User
Wed Sep 18, 2013 7:57 pm
Reply with quote
Report this post
Unfortunately not. I am not a coder ... consider myself an "advance user" :oops:
User avatar
Gold Boarder

GK User
Wed Sep 18, 2013 9:19 pm
Reply with quote
Report this post
Ok, please check this forum thread first:
https://www.gavick.com/forums/storebox- ... 28465.html

It describes what media-queries are and how can be used (also google for it).

Then with use of media queries You just use css:
Code: Select all
#elementID {display:none}

where elementID is an id of element You want to hide, and this should be closed inside media-query declaration.
User avatar
Moderator


cron