1. AndreasM
  2. Commercial Templates
  3. Monday, 09 December 2024
  4.  Subscribe via email
I use the ImageHover Gallery module to show an overview of the club's offers on the website of a dance club. I would like to add a caption to the images, especially for display on cell phones. How does this work?
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

Captions can be added via the Images(s) tab of your module settings. To display the caption on mobile devices by default (without hover), try adding the following to the Custom CSS field of your templates parameters (Extensions -> Templates -> [YourTemplateStyle] -> Custom CSS)....

@media only screen and (max-width: 768px) {
.j51imagehover figcaption {
opacity: 1;
transform: none;
}
}


Ciaran
  • 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.