'onlymobile' suffix delete content in modules
Rate this topic: 1.00 out of 6 based on 1 vote(s)
- GK User
- Fri Mar 14, 2014 10:26 am
- Reply with quote
- Report this post
hi guys, i'm having some issue with 'onlymobile' suffix...
when i set 'onlymobile' to a module this suffix deletes all the contents in the module.
i only see the module's title.
i tried this in a fresh template installation too, and it's the same.
could you please try it on a musicstate template installation? does it works for you?
this is the code in mobile.css
i searched on the forum but i didn't found nothing
thank you for your help.
when i set 'onlymobile' to a module this suffix deletes all the contents in the module.
i only see the module's title.
i tried this in a fresh template installation too, and it's the same.
could you please try it on a musicstate template installation? does it works for you?
this is the code in mobile.css
- Code: Select all
/* limitation suffixes */
.box.notablet {
display: block!important;
}
.box.nomobile {
display: none!important;
}
.box.onlytablet {
display: none!important;
}
.box.onlymobile {
display: block!important;
}
.box.notablet.nomobile {
display: none!important;
}
i searched on the forum but i didn't found nothing
thank you for your help.
-
- Expert Boarder
- GK User
- Fri Mar 14, 2014 10:28 am
- Reply with quote
- Report this post
Could you please provide sample module name/type on which this problem can be seen?
-
- Moderator
- GK User
- Fri Mar 14, 2014 10:39 am
- Reply with quote
- Report this post
for example... please try to add onlymobile suffix to NSP GK5 module, visible in Module Variations page.
-
- Expert Boarder
- GK User
- Mon Mar 17, 2014 11:22 am
- Reply with quote
- Report this post
I have used 'nomobile' suffix on NSP GK5 module placed in mainbody_bottom position. It hides it correctly. There are 2 more Custom HTML modules placed in same position: Suffix " advertisement" and "bigtitle" suffix__with subtitle in second line__ .
Perhaps you see them?
Perhaps you see them?
-
- Moderator
- GK User
- Mon Mar 17, 2014 12:13 pm
- Reply with quote
- Report this post
I was talking about onlymobile suffix... not nomobile
-
- Expert Boarder
- GK User
- Mon Mar 17, 2014 1:56 pm
- Reply with quote
- Report this post
Same with onlymobile - works completly fine:, see attached screenshot with devtools open:
Screen Shot 2014-03-17 at 13.54.50.png
-
- Moderator
- GK User
- Mon Mar 17, 2014 2:22 pm
- Reply with quote
- Report this post
we are not understanding... the issue is in mobile view, not in desktop view.
i use onlymobile suffix on a module, then i go on my iphone to see this module.
on my iphone i only see the title of the module.
on desktop view, it works fine, i know
i use onlymobile suffix on a module, then i go on my iphone to see this module.
on my iphone i only see the title of the module.
on desktop view, it works fine, i know
-
- Expert Boarder
- GK User
- Mon Mar 17, 2014 3:11 pm
- Reply with quote
- Report this post
But this module is configured only to show header. It displays exactly same without the 'onlymobile' prefix both on desktop and mobile.
-
- Moderator
- GK User
- Mon Mar 17, 2014 3:32 pm
- Reply with quote
- Report this post
ok, please try with another module, not with one that is configured to show only header.
-
- Expert Boarder
- GK User
- Mon Mar 17, 2014 6:58 pm
- Reply with quote
- Report this post
I have tried with Custom HTML modules on "Module Variations" page - correctly again.
-
- Moderator
- GK User
- Tue Mar 18, 2014 9:55 am
- Reply with quote
- Report this post
Wich joomla template version did you tried? 2.5 or 3?
I'm working on 2.5 version.
I've just tried a new installation. I've just downloaded the quickstart (J2.5) from Gavick and I've just installed in local.
I set ' onlymobile' suffix in these modules:
Top I, Top II and Top III (they are in top1 position)
Banner module (in sidebar position)
On desktop view it's all ok... I don't see these modules.
In mobile view I see this:
Top I, Top II and Top III like this
and Banner module like this
How is it possible that works fine for you? this is a fresh installation... Maybe this issue is only for version J2.5 and you tried version J3???
To see the preview of mobile view i use an extension of Firefox, i thought that the issue was that i was not online, i tried with the online website and it's the same.
Could you please try the same thing (i mean on the same modules) that i tried on version J2.5 of this template?
I'm working on 2.5 version.
I've just tried a new installation. I've just downloaded the quickstart (J2.5) from Gavick and I've just installed in local.
I set ' onlymobile' suffix in these modules:
Top I, Top II and Top III (they are in top1 position)
Banner module (in sidebar position)
On desktop view it's all ok... I don't see these modules.
In mobile view I see this:
Top I, Top II and Top III like this
and Banner module like this
How is it possible that works fine for you? this is a fresh installation... Maybe this issue is only for version J2.5 and you tried version J3???
To see the preview of mobile view i use an extension of Firefox, i thought that the issue was that i was not online, i tried with the online website and it's the same.
Could you please try the same thing (i mean on the same modules) that i tried on version J2.5 of this template?
-
- Expert Boarder
- GK User
- Wed Mar 19, 2014 10:59 am
- Reply with quote
- Report this post
Ok, you are absolutelly right... Ill report that problem to our devteam,
Meanwhile you might edit file:
templates/gk_musicstate/css/mobile.css
and modify line number 133 to:
Meanwhile you might edit file:
templates/gk_musicstate/css/mobile.css
and modify line number 133 to:
- Code: Select all
.box.onlymobile, .box .onlymobile {
display: block!important;
}
-
- Moderator
- GK User
- Mon Mar 24, 2014 9:18 am
- Reply with quote
- Report this post
Ok, Thanks for your help.
I have a question now... is there a way to force ' nomobile' suffix in header position?
If you look at my site http://www.coldplayzone.it/ i put 2 social modules in header position: facebook and twitter.
I'd like to use nomobile for those 2 modules but it seems this suffix doesn't work in header position.
Is there a way to force it?
Thanks
I have a question now... is there a way to force ' nomobile' suffix in header position?
If you look at my site http://www.coldplayzone.it/ i put 2 social modules in header position: facebook and twitter.
I'd like to use nomobile for those 2 modules but it seems this suffix doesn't work in header position.
Is there a way to force it?
Thanks
-
- Expert Boarder
- GK User
- Mon Mar 24, 2014 6:06 pm
- Reply with quote
- Report this post
Sadly - no. I had same problem with other designs, but this is how the site was designed in first place.
But.... You can still use css media query... just to clear things out - you are talking about facebook and twitter icons on the right?
This will hide those 2 elements on devices with width less or equal to 620px.
But.... You can still use css media query... just to clear things out - you are talking about facebook and twitter icons on the right?
- Code: Select all
@media (max-width: 620px) {
#gkHeaderMod #facebook_slider, #gkHeaderMod #twitter_slider {
display: none;
}
}
This will hide those 2 elements on devices with width less or equal to 620px.
-
- Moderator
15 posts
• Page 1 of 1