Page 1 of 1

settings for lightbox - magnific popup

Posted: Mon Feb 12, 2018 11:31 pm
by rogerl
I have been trying to change the default close button to an image.
Apparently the way to do this is:

Code: Select all

closeMarkup: '<button title="%title%" class="mfp-close"> <img src="fancybox3/fancy_close.png" width="44px"   height="44px"/></button>' 
Trouble is how to apply.
I have edited the lightbox.ini file for magnificpopup:

Code: Select all

script=$("#$ID$").magnificPopup({$SETTINGS$});
settings=delegate:'a', type:'image', closeMarkup: '<button title="%title%" class="mfp-close"> <img src="fancybox3/fancy_close.png" width="44px"   height="44px"/></button>', gallery: {enabled: true, navigateByImgClick: true}
but this does not work.

Jordon's extension for magnific manipulation allows for change to another text character/s but not image - so have tried that.
Any ideas please?

Re: settings for lightbox - magnific popup

Posted: Thu Mar 15, 2018 10:22 am
by rogerl
** Solved **
Thanks to Jordon who came to my rescue, see his responce here:
https://www.wysiwygwebbuilder.com/forum ... 15#p399211