Codeless
  • Support Home
  • Themes
  • Support
  • WordPress Tutorials
    • How to Start a Blog
    • Best Website Builders
    • Best Small Business Hosting
    • Email Marketing Services
    • Cheap WordPress Hosting
  • Video Tutorials

Community Forums

Media Grid – Video Popup

media gridVideo Popup
    • 5 years, 3 months ago amccreative
      Participant

      Expired

      Hi there. I have been trying to format the Media Grid element (with item design: masonry media slide with title and caption), to open a video popup/lightbox on click. Currently it’s set to open up an image lightbox by default. Here’s a test page showing the default setting:

      https://matt.amccreative.net/test/

      I’ve installed the Popup Builder plugin and formatted a popup which uses the following to launch the video lightbox:

      Shortcode: [sg_popup id=3379]
      Class: sg-popup-id-3379

      Are you able to help me format this feature to open the video popup instead of the pretty photo, or is there another way to achieve the same results; hover over image to reveal title and details and click to launch video popup.

    • 5 years, 3 months ago Ruco
      Keymaster

      Hello,

      Yes, it is possible by removing the lightbox javascript file that comes with the theme by default.

      Please edit the file codeless-main.js and comment or remove the line :

         /* LightBox */
          codelessLightBoxInit();
      

      So now you can use only the plugin for the lightbox

      Save the file and everything will be ok.

      Regards!

    • 5 years, 3 months ago amccreative
      Participant

      Expired

      I tried this but it didn’t work unfortunately. I placed the line back in. Any other ideas?

    • 5 years, 3 months ago amccreative
      Participant

      Expired

      Maybe because on click by default it opens PrettyPhoto??

    • 5 years, 3 months ago Ludjon
      Keymaster

      It’s set up to be used with prettyPhoto

      Can you give me credentials to check this?

      Thanks

    • 5 years, 3 months ago amccreative
      Participant

      Expired

      This reply has been marked as private.
    • 5 years, 3 months ago amccreative
      Participant

      Expired

      Alternatively is there a way that only on mobile/responsive that the text overlays the image without hover. So loads with the page… but only on mobile etc. Thanks M

    • 5 years, 3 months ago Ludjon
      Keymaster

      Hi,

      I fixed that on responsive. I can’t add the shortcode to be executed on click, it’s not possible

      Thanks

    • 5 years, 3 months ago amccreative
      Participant

      Expired

      That’s great!

      Which files do I need to copy over to the live site? This one is the staging site.

      Mike

    • 5 years, 3 months ago amccreative
      Participant

      Expired

      Hi Ludjon, just letting you know that I created a new Grid Element Template and used an Extra Class Name instead of a Shortcode and it now launches the video popups as desired. Thank you so much for your help and support!

    • 5 years, 3 months ago amccreative
      Participant

      Expired

      don’t worry about telling me which files, I migrated the whole site over to the live server. Thanks, M

    • 5 years, 3 months ago Ludjon
      Keymaster

      Sorry, you just needed to copy custom css box :)

      You’re welcome :)

      If you like our theme and support, leave us a rating on Themeforest, it’s very important for us :)

      https://themeforest.net/downloads

      Thank You so much

    • 5 years, 1 month ago amccreative
      Participant

      Expired

      This reply has been marked as private.
    • 5 years, 1 month ago Eldo
      Keymaster

      Hello,

      Please open the browser console with f12 on chrome or by click with the right button of the mouse and click Inspect Element.

      check Console > Errors

      Let me know if you see any errors.

      Also, we have just released the latest version of the Tower, you can update it.

      Regards!

Viewing 13 reply threads

You must be logged in to reply to this topic.

Login

Log In
Register

Renew Support

  • Renew Specular Support
  • Renew Tower Support
  • Renew Folie Support
  • Renew Handel Support
  • Renew June Support
  • Renew Picante Support
  • Renew Thype Support
  • Renew Regn Support

Search Forums

Forums

  • Bygge – Construction Theme
  • Converta – Software Theme
  • Folie – The WordPress Website Builder
  • Handel – Responsive Multi-Purpose Business Theme
  • June WooCommerce WordPress Theme
  • Livecast – Podcast Theme
  • Picante – Restaurant & Food WordPress Theme
  • Regn | Agency & Business WordPress Theme
  • Remake – Minimal Portfolio & Agency Theme
  • Specular – Multi-Purpose WordPress Theme
  • Suggest us Features
  • Tower – Business-Driven Multipurpose WP Theme
  • Vibrance – Photography Theme

Site Links

  • Support Policy
  • Specular Support Forum
  • Video Tutorials
  • Knowledge Base
  • Guides and Reviews

Useful Articles

  • Build a Website
  • Web Design & Development
  • Hosting
  • WordPress

Login

Log In
Register Lost Password