Forum Support

Shape 5
November 26, 2020, 11:28:50 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Shape 5 Forum
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Conflict between S5Box and S5 Image and Content Fader  (Read 854 times)
dtisi
Jr. Member
**
Offline Offline

Posts: 16



« on: March 19, 2018, 02:16:13 PM »

Hello,

I'm trying to use the S5Box widget to open a youtube video in a lightbox. The button to trigger the S5Box is listed on one of the slides in the Image And Content Fader, and when you click on the button on the slide to open the lightbox, nothing happens, the lightbox doesn't open, and there are no error messages that are displayed in the Console tab of Chrome developer tools window.

When moving the button that triggers the S5Box out of the Image and Content Fader slide, it works as intended and opens the youtube video in a lightbox.

You can view the website by going to: https://wp-businessline.mspwebsite.com/
The s5box button in the showcase slider is the following: https://drive.google.com/a/directive.com/uc?id=1XYt9IMk3zJqyv9ec737rM5uIIEWa5RJT
And the example of the button outside of the slider that opens the lightbox can be found here: https://drive.google.com/a/directive.com/uc?id=1-BcO_aVQN7EWKV7dmGSKVLQPNoczlK8i

Can you please advise on the necessary steps to resolve this issue? Thanks!
Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #1 on: March 20, 2018, 09:27:10 AM »

I asked one of the designers about what you're trying to do and was told that for displaying YouTube content, you would probably be better off using multibox.  There's a tutorial for multibox in the demo content here: http://shape5.com/demo/wp/business-line/features/vertex-features/multibox-enabled/
Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
dtisi
Jr. Member
**
Offline Offline

Posts: 16



« Reply #2 on: March 21, 2018, 01:22:18 PM »

I had looked into using multibox previously and while using this method does show the youtube video in a lightbox correctly, the lightbox generated is not responsive and has the video content being cut off on smaller screen resolutions and therefore is not really a viable solution in this case.

Is there a specific reason why the s5box widget does not work with the Image and Content Fader widget, and if there is no way get these two widgets working in conjunction with each other, is there a better alternative than multibox?
Logged
Tristan Rineer
Global Moderator
*****
Offline Offline

Posts: 3858

Gravatar


« Reply #3 on: March 22, 2018, 10:23:18 AM »

I asked the developers that worked on S5 Box about the issue and was told that because of the way the javascript works, S5 Box can't detect links in the slides of the fader. 

I was also told that Multibox can be made to work responsively by just removing the "rel" tag that defines the height and width.

If that doesn't work, a quick search on the WordPress Plugin Repository gave me this: https://wordpress.org/plugins/responsive-thickbox/

I haven't tested it, but it might do what you need.
Logged

Tristan Rineer
------------
Shape 5 Team



- Need a great host for your website? We highly recommend siteground.com!


- Put your trust in the hands of our extremely qualified staff to get your job done right!


- Firebug is the most powerful web development and debugging tool, and it will save you a lot of time, frustration and forum questions:
Install Firebug
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Looking for the largest variety in template designs? Look no more. Never buy 1 theme again. Signups start at just $89 for access to all of our themes.
Send Us An Email
Please send us your questions and we will email you back as soon as we can. Product support questions should be posted in our support forums under the Help menu. Our staff will assist you from there.