I have a number of galleries on my first Enfold site, which is now almost ready to launch publicly.
The thumbnail images use pop-up captions on mouse-over, which appear as white text on a dark grey, translucent background.
Can you tell me how I can style the captions to use a different colour background and font combination?
Thanks.
Hi Niels!
You can add this on your custom.css or Quick CSS to modify the look of the gallery tooltip:
.avia-tooltip {
background: #000;
background: rgba(255, 3, 4, 0.8);
color: blue;
}
.avia-tooltip .avia-arrow {
background: rgba(255, 3, 4, 0.8);
border: none;
}
Make sure that the background of .avia-tooltip and .avia-tooltip .avia-arrow is the same. :)
Best regards,
Ismael
Great, that works perfectly, many thanks Ismael.
I notice that the tooltip box appears off-centre, slightly to the left of the target image – can I adjust its position so that it appears perfectly centred?
Also, I would like to tooltip box to appear slightly lower – that is, closer to the target box. Again, can I adjust this?
Hi,
Can you post the link to your website please?
Regards,
Josue
Thanks Josue.
A sample gallery page can be seen here: http://enamellers.org/bsoe/gallery/tamizan-savill/
You will see that the pale grey pop-up caption/tooltip boxes aren’t centred, but are a little to the left.
I’d also like them to be closer to their ‘parent’ image when they pop up if possible.
Hey!
Try adding this code to the Quick CSS:
.avia-tooltip.avia-tt {
margin-left: 0 !important;
}
Cheers!
Josue