css suffix nomobile

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 Jan 16, 2017 10:15 am
Reply with quote
Report this post
Hello, i would like to have different contents in other modules only in the mobile version- is the a specific suffix to give to module like "onlymobile" exists? like nomobile which avoid the display.
because now the website is not responsive there is a large blue strip on the right and the images are narrow.
http://www.lespetitschanteursdesaintlouis.com
thks for your reply.
pascal
User avatar
Senior Boarder

teitbite
Thu Jan 19, 2017 5:24 pm
Reply with quote
Report this post
Hi

You should be able to use "nomobile", "nodesktop", "notablet", "onlymobile", "onlydesktop", "onlytablet".

But to be honest I do not remeamber if this old template got this added as well so please check and if this will not work add this to override.css

Code: Select all
.onlymobile, .onlytablet, .onlydesktop {
display: none !important;
}

@media only screen and (min-width:1024px) {
.onlydesktop {
display: block !important;
}

.nodesktop {
display: none !important;
}
}

@media only screen and (min-width:768px) and (max-width:1023px) {
.onlytablet {
display: block !important;
}

.notablet {
display: none !important;
}
}

@media only screen and (man-width:767px) {
.onlymobile {
display: block !important;
}

.nomobile {
display: none !important;
}
}
User avatar
Moderator

GK User
Thu Jan 19, 2017 11:16 pm
Reply with quote
Report this post
thks for your reply
User avatar
Senior Boarder

teitbite
Tue Jan 24, 2017 1:03 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
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.