Hide module in normal view

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 Jun 02, 2014 3:31 pm
Reply with quote
Report this post
Hi,

I can hide modules in mobile.css tablet.css and so on with display: none
But How can i hide a module only in "normal view"?
It must be only visible on the smaller sizes.

Thank you again
User avatar
Junior Boarder

GK User
Mon Jun 02, 2014 4:47 pm
Reply with quote
Report this post
Editing theme original file is the worst possible ideal. Use override.css and media queries instead.
You can hide any "desktop" module this way:
Code: Select all
@media (min-width: 1024px) {
#gkContent {display:none}
}

It will hide module with ID gkContent on screens with width higher than 1024px.

You can also use our custom module suffixes:
http://www.gavick.com/documentation/gen ... et-layout/
User avatar
Moderator

GK User
Thu Jun 05, 2014 10:48 am
Reply with quote
Report this post
Thank you for your help.
I will try to use it

regards,

Marcel
User avatar
Junior Boarder

GK User
Sat Jun 07, 2014 8:20 am
Reply with quote
Report this post
If you will have any other questions, feel free to post new forum threads - it allows us to answer you faster.
User avatar
Moderator


cron