settings for lightbox - magnific popup

This section is for posting questions which are not directly related to WYSIWYG Web Builder.
Examples of off topics: web server configuration, hosting, programming related questions, third party scripts.

Note that these questions will generally not be answered by the administrators of this forum.
Post Reply
User avatar
rogerl
 
 
Posts: 196
Joined: Tue May 03, 2016 8:24 am

settings for lightbox - magnific popup

Post 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?
User avatar
rogerl
 
 
Posts: 196
Joined: Tue May 03, 2016 8:24 am

Re: settings for lightbox - magnific popup

Post by rogerl »

** Solved **
Thanks to Jordon who came to my rescue, see his responce here:
https://www.wysiwygwebbuilder.com/forum ... 15#p399211
Post Reply