Mobile menu and responsive modules

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
Sun Apr 27, 2014 7:52 pm
Reply with quote
Report this post
Not I just understand the use of "mobile menu" that exists in the demo of the template? :oops:
Also is it possible to disable modules that are not displayed on smartphones and tablets? for example, disable the header banners for smartphones and tablets vertically?
User avatar
Junior Boarder

teitbite
Sun Apr 27, 2014 9:18 pm
Reply with quote
Report this post
Hi

In some cases You can select a different menu for mobile.

To hide modules in mobile layout please use module class suffix " no_mobile". Unfortunatelly this will remove the module from portrait and landscape all together.
User avatar
Moderator

GK User
Sat May 03, 2014 12:38 am
Reply with quote
Report this post
The module class suffix " no_mobile" (with space) don't work for me...

I have a little problem with virtuemart search module to load on mobile, image attached for clarity. I think it must be a problem in CSS?

http://www.disfracesporinternet.es
User avatar
Junior Boarder

GK User
Sat May 03, 2014 11:40 am
Reply with quote
Report this post
I'm learning. I was able to fix the CSS editing the small.desktop.css, tablet.css and small.tablet.css files :D
The problem now is the class suffix " no_mobile"...
User avatar
Junior Boarder

teitbite
Mon May 05, 2014 8:52 pm
Reply with quote
Report this post
Hi

Ok, great to hear that. Please than add this code to mobile.css and tablet.css and small.tablet.css if You want to have "no_mobile" disabling in this screen widths as well:

Code: Select all
.no_mobile { display: none !important; }
User avatar
Moderator

GK User
Fri May 09, 2014 2:58 pm
Reply with quote
Report this post
Not work... :|
I added the code to mobile.css and tablet.css and small.tablet.css
Then I added the Module suffix " no_mobile" in the module GK4
www.disfracesporinternet.es
User avatar
Junior Boarder

teitbite
Mon May 12, 2014 9:30 am
Reply with quote
Report this post
Hi

Where i should see this module? Maybe it's using a special module position where module suffixes are disabled to not break the layout. Please point me to where i can see it.
User avatar
Moderator

GK User
Tue May 13, 2014 3:28 pm
Reply with quote
Report this post
Attached a screenshot of the module position.
Position: header
User avatar
Junior Boarder

teitbite
Wed May 14, 2014 8:39 pm
Reply with quote
Report this post
Hi

Just as I thought. "header" module position has an option to remove module class suffixes of module title to not destroy layout. Please simply add this to mobile.css to hide it for this devices:

Code: Select all
#gkHeaderMod { display: none; }


plus this code to add small fix after module will be hidden:

Code: Select all
#gkHeaderNav.gkAbsoluteHeader { position: relative; }
User avatar
Moderator

GK User
Fri May 16, 2014 4:10 pm
Reply with quote
Report this post
Works! Thanks Teitbite :D
User avatar
Junior Boarder

teitbite
Mon May 19, 2014 12:53 pm
Reply with quote
Report this post
Hi

No problem. Glad I could help :)
User avatar
Moderator


cron