Tagged: Lightbox
Hello,
I applied a Lightbox effect on the link of my images but the hover is a “double arrow”, is it possible to change that by another icon, for example a magnifying glass ?
Thanks
Hi,
Please refer to this post – https://kriesi.at/documentation/enfold/icon/#change-icon-used-for-standard-theme-elements-
You can go to Enfold theme options > Advanced Styling and edit “Linked Image Overlays” for more customization :)
Cheers!
Yigit
Hey,
Thanks for you answer, I tried to change the double arrow by the magnifying glass with the their charcodes :
add_filter('avf_default_icons','avia_replace_standard_icon', 10, 1);
function avia_replace_standard_icon($icons)
{
$icons['ue869'] = array( 'font' =>'entypo-fontello', 'icon' => 'ue803');
return $icons;
}
But it doesn’t work.. the double arrow is still appearing
am I doing something wrong ?
Hi,
Could you please try adding following code to Quick CSS in Enfold theme options > General Styling
.image-overlay .image-overlay-inside:before {
content: '\E803';
}
Regards,
Yigit
Hey,
It works, thanks a lot !
A last question, is it possible to remove the black background around the icon ?
thanks