1. jridgway
  2. Commercial Templates
  3. Monday, 02 October 2017
  4.  Subscribe via email
I would like to add a FA icon to the caption that appears on hover in the Grid Gallery module.
Spent some time searching for the solution but couldn't find anything. Sorry if this is a duplicate question...
Looked at the tutorial on adding FA to menu items here.
I've also tried to add code to css code that I currently have (thanks to Ciaran) for my grid gallery, but without success:
This is what I currently have in the css code:

.j51gridgallery figure {
height: 60px;
}
.j51gridgallery figure {
background-color: #ffffff !important;
}
figure.snip1156 p {
padding: 0 10px;
background-color: #B1050A !important;
}
figure.snip1156 h3 {
background-color: #F5050C !important;
}.j51gridgallery figure img {
border-radius: 10px;
}
@media only screen and (max-width: 1024px) {
.layerslideshow .img-fill {
height: auto;
}}


I'm sure I'm pretty close.

Thanks in advance.
JR

Artisan Template
Accepted Answer Pending Moderation
0
Votes
Undo
Hi JR

Have you tried adding the source code for your icon directly in to the caption field?

Eg.

<i class="fa fa-coffee" aria-hidden="true"></i> 


CiarĂ¡n
  1. more than a month ago
  2. Commercial Templates
  3. # 1
  • 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.