Module suffixes nomobile and notablet

Professional Joomla social template with metro design and JomSocial extension support.
Rate this topic: Evaluations: 2, 3.50 on the average.Evaluations: 2, 3.50 on the average.Evaluations: 2, 3.50 on the average.Evaluations: 2, 3.50 on the average.Evaluations: 2, 3.50 on the average.Evaluations: 2, 3.50 on the average.3.50 out of 6 based on 2 vote(s)
GK User
Sun Nov 01, 2015 2:07 pm
Reply with quote
Report this post
Please advice how to make the nomobile and notablet suffixes to work for modules inside msocial positions.
User avatar
Gold Boarder

teitbite
Thu Nov 05, 2015 12:37 pm
Reply with quote
Report this post
Hi

I think the correct suffix it "no-mobile" and "no-tablet". If this would not work, than the css code to add this functionality would be:

Code: Select all
@media only screen and (min-width:720px) and (max-width: 985px) {
.no-tablet { display: none !Important; }
}

@media only screen and (max-width:719px) {
.no-mobile { display: none !Important; }
}
User avatar
Moderator

GK User
Thu Nov 05, 2015 5:52 pm
Reply with quote
Report this post
in override.css , right ?
User avatar
Gold Boarder

GK User
Sat Nov 07, 2015 9:48 am
Reply with quote
Report this post
not working ...
User avatar
Gold Boarder

GK User
Wed Nov 11, 2015 8:04 pm
Reply with quote
Report this post
Please support this issue
User avatar
Gold Boarder

teitbite
Sat Nov 14, 2015 10:48 am
Reply with quote
Report this post
Hi

Tell me the url to Your site and tell me which module should be removed. I'll see what can be wrong.
User avatar
Moderator

GK User
Wed Nov 18, 2015 3:28 pm
Reply with quote
Report this post
any good news ?!
User avatar
Gold Boarder

teitbite
Fri Nov 20, 2015 1:03 pm
Reply with quote
Report this post
Hi

"lang" module position is special. It doesn't support regular module functions becuase it was designed to help a function to only show language switch module. In this case I would advice to just add a code to override.css

Code: Select all
@media only screen and (max-width:767px) {
#gkLang { display: none; }
}
User avatar
Moderator

GK User
Sat Nov 21, 2015 2:37 pm
Reply with quote
Report this post
still not working,
I've change the module position testing a few with ovverided suffix , but still not work. What position do you think will work for hiding on no-mobile and no-tablet suffix ?
User avatar
Gold Boarder

teitbite
Mon Nov 23, 2015 7:46 pm
Reply with quote
Report this post
Hi

I moved it back to lang module position, but the HTML structure is loaded outside of this module position. So to remove it You need a different code, not just to hide a module, but the whole product of this module. Try this code:

Code: Select all
@media only screen and (max-width:767px) {
#gkLang,
#jpwOverlay,
#jpWalkthrough,
#jpwClose { display: none; }
User avatar
Moderator

GK User
Tue Nov 24, 2015 1:51 pm
Reply with quote
Report this post
It work with this code : @media only screen and (max-width:767px) {
#gkLang,
#jpwOverlay,
#jpWalkthrough,
#jpwClose { display: none !Important; }
}
Thank you !!!
User avatar
Gold Boarder

teitbite
Thu Nov 26, 2015 12:31 pm
Reply with quote
Report this post
Hi

Glad I could help.
---
If You were satisfied with our support please let other users know on Twitter: http://twitter.com/gavickpro or Facebook: http://www.facebook.com/gavickpro
User avatar
Moderator


cron