I am working a website using the Habitat template.
The Grid Gallery is working great when you mouse over using a desktop computer but fails to display text when viewing the website on a mobile device.
Does the Grid Gallery not work using mobile devices other than following a link if touched??
Thanks you.
James
PS: The website I am working on is located at the URL: http://yourcmswebsite.com
- smithjd44
- Commercial Templates
- Saturday, 16 August 2014
- Subscribe via email
Hi James
As there is no hover state on a mobile device the GridGallery is limited to just showing the linked image. To change this to show just the text instead try adding the following to the Custom CSS field of your tempates parameters...
Ciarán
As there is no hover state on a mobile device the GridGallery is limited to just showing the linked image. To change this to show just the text instead try adding the following to the Custom CSS field of your tempates parameters...
@media only screen and (max-width: 1024px) {
.no-touch .j51griditem figure img,
.j51griditem figure.cs-hover img {
-webkit-transform: scale(1.2);
-moz-transform: scale(1.2);
-ms-transform: scale(1.2);
transform: scale(1.2);
}
.no-touch .j51griditem figure figcaption,
.j51griditem figure.cs-hover figcaption {
opacity: 1;
-webkit-transform: translateY(0px);
-moz-transform: translateY(0px);
-ms-transform: translateY(0px);
transform: translateY(0px);
}
}
Ciarán
- more than a month ago
- Commercial Templates
- # 1
Hi:
I tried the code you said to enter and it's not working for me. I want to be able to see the caption on mobile devices since there is obviously no "hover" ability. Perhaps you can just built this in automatically to the templates.
http://bludovedemo.com/graetz/
Thanks!
Lisa
I tried the code you said to enter and it's not working for me. I want to be able to see the caption on mobile devices since there is obviously no "hover" ability. Perhaps you can just built this in automatically to the templates.
http://bludovedemo.com/graetz/
Thanks!
Lisa
- more than a month ago
- Commercial Templates
- # 2
Hi Lisa
Try adding the following to the Custom CSS field of your templates parameters...
Ciarán
Try adding the following to the Custom CSS field of your templates parameters...
@media only screen and (max-width: 1024px) {
.j51gridgallery figcaption {
opacity: 1 !important;
}}
Ciarán
- more than a month ago
- Commercial Templates
- # 3
Hello Ciaran
Thank you for the lovely template first of all. I'm working with Calibra, and have the same issue with the grid gallery on tablets (Samsung Tab S 10". I've tried adding both the below (singly and together as I wasn't sure) but no effect on my site - I still just get the pictures and no captions.
Could you suggest anything else at all please? The pictures come up and if you click them they go to the right places, but there's just no words to describe what they're for?
I look forward to hearing from you.
My site is http://www.psychic2spirit.com
Many thanks
Liz
Thank you for the lovely template first of all. I'm working with Calibra, and have the same issue with the grid gallery on tablets (Samsung Tab S 10". I've tried adding both the below (singly and together as I wasn't sure) but no effect on my site - I still just get the pictures and no captions.
Could you suggest anything else at all please? The pictures come up and if you click them they go to the right places, but there's just no words to describe what they're for?
I look forward to hearing from you.
My site is http://www.psychic2spirit.com
Many thanks
Liz
- more than a month ago
- Commercial Templates
- # 4
Hi LIz
Try adding the following to the Custom CSS field of your templates parameters which will have the hover state of your images as default (inc. caption) on any touch devices...
Ciarán
Try adding the following to the Custom CSS field of your templates parameters which will have the hover state of your images as default (inc. caption) on any touch devices...
.touch .j51griditem figure figcaption, .j51griditem figure.cs-hover figcaption {
opacity: 1 !important;
transform: translateY(0px) !important;
}
Ciarán
- more than a month ago
- Commercial Templates
- # 5
Ciaran,
Many thanks - that worked a treat.
Thank you for your superb support. B)
Best Wishes
Liz
Many thanks - that worked a treat.
Thank you for your superb support. B)
Best Wishes
Liz
- more than a month ago
- Commercial Templates
- # 6
Hello Ciarán
I'm also using Habitat and I have the same problem. On smaller devices the Caption text is not shown. I tried the given css styles. But it won't work.
Do you have more suggestions?
Thanks
Kees
I'm also using Habitat and I have the same problem. On smaller devices the Caption text is not shown. I tried the given css styles. But it won't work.
Do you have more suggestions?
Thanks
Kees
- more than a month ago
- Commercial Templates
- # 7
Thank you
To amend you can add the following to the Custom CSS field of your templates parameters (Extensions -> Templates -> [YourTemplateStyle] -> Custom CSS)....
Ciaran
To amend you can add the following to the Custom CSS field of your templates parameters (Extensions -> Templates -> [YourTemplateStyle] -> Custom CSS)....
.touch .j51gridgallery figcaption {
display: block;
opacity: 1;
}
Ciaran
- more than a month ago
- Commercial Templates
- # 10
Hallo Ciaran,
Thanks, That works. Now I see the caption text always on small device. It's a solution.
Kees
Thanks, That works. Now I see the caption text always on small device. It's a solution.
Kees
- more than a month ago
- Commercial Templates
- # 11
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »