1. Tralala
  2. Sherlock Holmes
  3. Commercial Templates
  4. Thursday, 20 October 2016
  5.  Subscribe via email
Hi Ciaran,

Watched on an iPad (3) I can see the caption titel nor the caption text in a Gridgallery.
Dubbletapping on a foto (or holding for 2 seconds) leads me to the homepage (= linked menu item) - the backbuttons brings me back to the gallery, and hey, now with the caption title visible, but still without caption text.
This is not the way you ment it, I presume.

How to make visible in a Gridgallery the captions on an iPad?

I red this post: https://joomla51.com/forum/8-commercial-templates/8799-j51-gridgallery#23061 but that doesn’t work for the template Chelsea (I installed the whole package).
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

To display your FlexGallery caption text on touch devices try adding the following to the Custom CSS field of your templates parameters...


.touch .flexgallery figure.hover > img {
-webkit-transform: scale(1.2);
-moz-transform: scale(1.2);
-o-transform: scale(1.2);
-ms-transform: scale(1.2);
transform: scale(1.2);
}
.touch .flexgallery figure.hover figcaption {
opacity: 0.8;
}
.touch .flexgallery figure.hover p {
-webkit-transform: translateY(0%);
-moz-transform: translateY(0%);
-o-transform: translateY(0%);
-ms-transform: translateY(0%);
transform: translateY(0%);
}
.touch .flexgallery figure.hover i {
opacity: 1;
-webkit-transform: translate(-50%, -50%);
-moz-transform: translate(-50%, -50%);
-o-transform: translate(-50%, -50%);
-ms-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}


Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Ciaran,

Quiet a codestring!
But - the problem is in de Gridgallery, not the Flexgallery.
The Flexgallery is working good without this added code.

I modified the code (replaced 'flex' by 'grid') but that doesn't work.
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

By default the GridGallery module is not included with the Chelsea template. Would you have a URL to an example of your module?

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Hi Ciaran,
Now it became clear to me that is does work on my iPad in Firefox (with the added code), but it does not in Safari. That is still a problem, because almost all iPads use Safari.

In one of my sites is does work in Safari only partly. See overwegmetkanker.nl Homepage. Click one box (with bigger text) and use the browsers ‘go back button’ to see the result. This site is built with Revolve.
The site http://artist.alstest.nl/presentaties/grid-gallery is built with Chelsea. The trick with the go-back-button doesn’t work here.
But: is does work well if viewed with Firefox!

So, Gridgallery is still a bit crippled.
How could we fix that?
  1. more than a month ago
  2. Commercial Templates
  3. # 4
Accepted Answer Pending Moderation
0
Votes
Undo
(Once again)
Caption will work by disabling the link-option.
So we now have to choose: caption or link. Unfortunately not both.
  1. more than a month ago
  2. Commercial Templates
  3. # 5
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

It gets tricky as the GridGallery obviously depends on hover to display the caption. Each touch device handles hover actions differently. One option would be to display the caption by default on touch devices which can be done by adding the following to the Custom CSS field of your templates parameters...


.touch figure.effect p.description {
opacity: 1;
}
.touch figure.effect figcaption {
-webkit-transform: translate3d(0,0,0);
transform: translate3d(0,0,0);
}
.touch figure.effect .overlay {
opacity:0.6;
}


Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 6
Accepted Answer Pending Moderation
0
Votes
Undo
Thanks Ciaran for your perseverance.
Unfortunately for now it's not an option to use this code, thus dimming the images.

But maybe once I can use your code.
  1. more than a month ago
  2. Commercial Templates
  3. # 7
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok