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

June theme lightbox not working

clone lightboxjunelightbox
    • 7 years, 3 months ago hubitgr
      Participant

      Expired

      Hello,

       

      I am trying to open a photo gallery with wpbakery gallery element. At first I had problem with lightbox but after this thread I managed to solve it somehow (it does not display the search icon). When I click on image the lightbox loads but redirects to image link. You can see the issue here. How I can solve this?

    • 7 years, 3 months ago Mirela
      Participant

      Hello,

      I need to give a closer look to the page you are having this and theme files. Please make sure first to have the latest version of theme. Did you try using Codeless Buidler instead? Theme’s main builder is Codeless Builder and all features are build and customized in it’s files.
      Please try adding the gallery like this and them let us know if you’ll have any issue.

      Best regards!

    • 7 years, 3 months ago hubitgr
      Participant

      Expired

      Hello again,

      The wordpress has the latest version installed. I am sorry, but I had to change the link. Here is the new one.

    • 7 years, 3 months ago Mirela
      Participant

      Hello,

      Please send us some valid wp credentials in a private reply. So we can give it a closer look.

      Best regards!

    • 7 years, 3 months ago hubitgr
      Participant

      Expired

      This reply has been marked as private.
    • 7 years, 3 months ago Mirela
      Participant

      Hello,

      I see you have an old version of theme. The latest one is vs 1.5 and it has included an updated version of Codeless Builder as well.
      Please update theme first, and all it’s included plugins. It’s very important because there are many important changes included in them.
      Then if the issue persists, i can log in and check out the files and fix it.
      Let us know.

      Best regards!

    • 7 years, 3 months ago hubitgr
      Participant

      Expired

      Hello again,

       

      I never got info from themeforest about the update. Anyway I updated to latest version, but the issue persists.

    • 7 years, 2 months ago Mirela
      Participant

      Hello,

      Please deactivate all third party plugins and try again. Can you enable the ‘Editor’ in Appearance menu? So i can check the files.

      Thank you!

    • 7 years, 2 months ago hubitgr
      Participant

      Expired

      Hello,

      I disabled all the plugins except Codeless Add External Media, Codeless Builder, WPBakery Page Builder but the same thing happens (redirects to image source). I enabled the editor in Appearance menu.

    • 7 years, 2 months ago Mirela
      Participant

      Hello,

      I fixed it.
      I edited this line:
      linkElement : 'a:not([target="_blank"]):not([href^="#"]):not(.lightbox-gallery):not(.entry-link.lightbox):not([class^="ilightbox-"]):not(.zoom):not(.prettyphoto)'

      To this:
      linkElement : 'a:not([target="_blank"]):not([href^="#"]):not(.lightbox-gallery):not(.entry-lightbox):not(.entry-link.lightbox):not([class^="ilightbox-"]):not(.zoom):not(.prettyphoto)'
      We will include the changes in the next theme update so you won’t have to worry to redo them again.
      Please clear cache and refresh page.

      Best regards!

    • 7 years, 2 months ago hubitgr
      Participant

      Expired

      Thank you for your support. Now it is working. I can see one more mulfunction on lightbox gallery. When I scroll with mouse wheel it leaves the previous image like a clone (probably a css issue).

    • 7 years, 2 months ago Mirela
      Participant

      Hello,

      Are you referring to the thumbnails in the right side? That is part of gallery styling. It’s not a bug.

      Best regards!

    • 7 years, 2 months ago hubitgr
      Participant

      Expired

      Hello,

      It is not plugins effect. On first image you see the right behaviour which happens when I click on the second image. On the second image (which happens on mousewheel scroll) you can see that it leaves a clone of the image that is on the main screen.

      Right Behaviour

      Wrong Behaviour

       

    • 7 years, 2 months ago Mirela
      Participant

      Hello,

      The second images is not linked. I can not see what you mean by “Wrong behavior”. This is what i get when i scroll thru the gallery in your site: https://postimg.cc/image/3k7o7x3gn/
      This type of image duplicate, is part of the gallery style. Are you referring to this?

      Best regards!

    • 7 years, 2 months ago hubitgr
      Participant

      Expired

      Hello,

       

      I am really sorry, something went wrong with pasting the link. Here is the working one.

      https://imgur.com/a/bdqZG

      The image that you attached is not working.

    • 7 years, 2 months ago Mirela
      Participant

      Hello,

      Yes, that was the exact thing i screenshot-ed and that is indeed part of gallery lightbox style.

      Best regards!

    • 7 years, 2 months ago hubitgr
      Participant

      Expired

      Hello again,

      As you can see now, the gallery is working. The error was that the following code was running thrice for some reason.

      CL_FRONT.components.loadDependencies( [ codeless_global.FRONT_LIB_JS + 'jquery.requestAnimationFrame.js',
      codeless_global.FRONT_LIB_JS + 'jquery.mousewheel.js',
      
      codeless_global.FRONT_LIB_JS + 'ilightbox.packed.js' ], function() {
      
      el.iLightBox({skin: 'light'});
      
      }
      
      });

      I couldn’t find (I didn’t have the time to track all calls) why it loads thrice on every page, I just fixed it temporarily. I wanted to inform you about this error.

      Thanks again.

      • This reply was modified 7 years, 2 months ago by hubitgr.
      • This reply was modified 7 years, 2 months ago by hubitgr.
    • 7 years, 2 months ago Mirela
      Participant

      Hello,

      This is the default layout of the lightbox, but for everyone that wants to customize it, your code is very useful.
      Thank you for sharing!

      Best regards!

Viewing 17 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