Mobile - Tables suffixes are not working

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 Feb 24, 2013 6:42 am
Reply with quote
Report this post
Hi,
Is there any solution to this one ? I've tried to dig this a bit but i couldn't find a solution myself, it appears that whenever i try to apply a suffix for mobile devices the module doesn't appear anywhere.


Regards
User avatar
Expert Boarder

teitbite
Mon Feb 25, 2013 6:52 am
Reply with quote
Report this post
Hi

Not all modules has style which supports suffixes. You can override module positions style with "gk_style" in template settings.
User avatar
Moderator

GK User
Sun Mar 03, 2013 5:52 am
Reply with quote
Report this post
My bad, i just found this one -> https://www.gavick.com/forums/music/suf ... et#p105946

That solves the problem!
User avatar
Expert Boarder

teitbite
Sun Mar 03, 2013 10:53 am
Reply with quote
Report this post
Hi

Sure no probelm. I'm glad You got it working :)
User avatar
Moderator

GK User
Sun Mar 03, 2013 10:57 am
Reply with quote
Report this post
Hi, so try to add your own class'es there:
gk_gamenews\css\mobile.css
and here
gk_gamenews\css\tablet.css

this should work, if not write again.
User avatar
Platinum Boarder

GK User
Wed Nov 27, 2013 4:36 am
Reply with quote
Report this post
I have same problem
and I try to follow this topic https://www.gavick.com/forums/music/suf ... et#p105946

not work for me

I want to hide Image show gk4 (slide show) module in mobile and tablet.

Can someone help me please ?
User avatar
Senior Boarder

teitbite
Thu Nov 28, 2013 7:02 am
Reply with quote
Report this post
Hi

This code should be good. there is couple of users which found it helpful.

Code: Select all
/* tablet/mobile suffixes */
.notablet {
    display: block;
}
.nomobile {
    display: block;
}
.onlytablet {
    display: block;
}
.onlymobile {
    display: block;
}

@media only screen and (min-width:720px) and (max-width: 985px) {
.onlytablet {
    display: block;
}

.notablet {
    display: none;
}
}

@media only screen and (max-width:719px) {
.nomobile {
    display: none;
}

.onlymobile {
    display: block;
}
}


just remember that if You will put it into override.css than override needs to be enabled in template sitteing.
User avatar
Moderator

GK User
Thu Nov 28, 2013 8:19 am
Reply with quote
Report this post
Still not work

T-T

Can you please help me to check it?

I'll send User & Password via PM to you
User avatar
Senior Boarder

teitbite
Sun Dec 01, 2013 8:50 pm
Reply with quote
Report this post
Hi

I think the problem was suffixes "onlytablet" and "onlymobile" set to show modules even if in different layouts. I've made one fix. Please check now.
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.