Lightbox custom width and height

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
PLEASE READ THE FORUM RULES BEFORE YOU POST:
viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
jsgecko
 
 
Posts: 24
Joined: Tue Sep 07, 2010 5:07 am
Location: Hawaii

Lightbox custom width and height

Post by jsgecko » Sat May 18, 2019 4:47 pm

Hi,
I want to adjust the width and height for a lightbox image, but I forgot how to code width and height of the lightbox.
Any help will be appreciated.
Thank you so much.

User avatar
Pablo
 
Posts: 18703
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Lightbox custom width and height

Post by Pablo » Sat May 18, 2019 5:09 pm

Which lightbox are you using?

jsgecko
 
 
Posts: 24
Joined: Tue Sep 07, 2010 5:07 am
Location: Hawaii

Re: Lightbox custom width and height

Post by jsgecko » Sun May 19, 2019 12:00 am

the menu bar

jsgecko
 
 
Posts: 24
Joined: Tue Sep 07, 2010 5:07 am
Location: Hawaii

Re: Lightbox custom width and height

Post by jsgecko » Sun May 19, 2019 12:33 am

Here is what I entered in the settings

width:'640',
height:'641'

Thank you

User avatar
Pablo
 
Posts: 18703
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Lightbox custom width and height

Post by Pablo » Sun May 19, 2019 7:18 am

These settings are for the 'fancybox' light box only.
Did you select 'fancybox' as the lightbox for the page?

jsgecko
 
 
Posts: 24
Joined: Tue Sep 07, 2010 5:07 am
Location: Hawaii

Re: Lightbox custom width and height

Post by jsgecko » Sun May 19, 2019 11:10 am

Not fancy box. I'm using the lightbox from the menu bar

User avatar
Pablo
 
Posts: 18703
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Lightbox custom width and height

Post by Pablo » Sun May 19, 2019 11:17 am

Which lightbox do you have selected in the Page Properties?
The settings are different for each lightbox.

jsgecko
 
 
Posts: 24
Joined: Tue Sep 07, 2010 5:07 am
Location: Hawaii

Re: Lightbox custom width and height

Post by jsgecko » Sun May 19, 2019 11:27 am


User avatar
Pablo
 
Posts: 18703
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Lightbox custom width and height

Post by Pablo » Sun May 19, 2019 11:54 am

Which lightbox do you have selected in the Page Properties?

jsgecko
 
 
Posts: 24
Joined: Tue Sep 07, 2010 5:07 am
Location: Hawaii

Re: Lightbox custom width and height

Post by jsgecko » Mon May 20, 2019 12:20 pm

magnificpopup

User avatar
Pablo
 
Posts: 18703
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Lightbox custom width and height

Post by Pablo » Mon May 20, 2019 1:14 pm

magnificpopup does not support width and height, you will need to select 'fancybox'

jsgecko
 
 
Posts: 24
Joined: Tue Sep 07, 2010 5:07 am
Location: Hawaii

Re: Lightbox custom width and height

Post by jsgecko » Tue May 21, 2019 5:55 am

I changed the page properties to fancybox.

In settings I entered

width:'640',
height:'641'

Is the code correct?

User avatar
Pablo
 
Posts: 18703
Joined: Tue Mar 28, 2006 12:00 pm
Location: Europe
Contact:

Re: Lightbox custom width and height

Post by Pablo » Tue May 21, 2019 6:04 am

I think it should be

Code: Select all

width: 640,
height: 641
See also:
http://fancybox.net/api

jsgecko
 
 
Posts: 24
Joined: Tue Sep 07, 2010 5:07 am
Location: Hawaii

Re: Lightbox custom width and height

Post by jsgecko » Wed May 22, 2019 9:28 am

Thank you Pablo. It works! :)

Post Reply