Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Lay Theme Forum

  1. Home
  2. Addons
  3. Lightbox only showing the first image

Lightbox only showing the first image

Scheduled Pinned Locked Moved Addons
9 Posts 3 Posters 125 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    maharzan
    wrote on last edited by maharzan
    #1

    Hi,

    I have the Laytheme and Lightbox Addon enabled on this site. Not many plugins are activated. I have disabled all the plugins and tested as well. I have posts like this:
    http://www.theprojects.com.au/building-remnants

    If you click on any of the image, only the first image seems to appear all the time. But I did notice that this behavior is corrected if you resize the window. So, clearly, some JS is doing the trick. The classes are not added in the divs when the issue persists. Once resized, the classes are added and correct image is shown.

    I searched the forums and cannot find any questions like this so if anyone can help me out resolve this issue, that would be great.

    LayTheme: 3.2.9
    Lightbox Addon: 1.5.0

    Thanks,
    Chandra

    1 Reply Last reply
    0
    • mariusjopenM Offline
      mariusjopenM Offline
      mariusjopen
      Global Moderator
      wrote on last edited by
      #2

      Dear @maharzan
      ok. This is weird. Yes, I can also see it. Only the first image gets used.
      We will check.
      Best!
      Marius

      www.mariusjopen.world

      1 Reply Last reply
      0
      • M Offline
        M Offline
        maharzan
        wrote on last edited by
        #3

        Thank you so much. Please let me know what the resolution might be. Or where is the js that calls the picture when its clicked.

        1 Reply Last reply
        0
        • arminunruhA Offline
          arminunruhA Offline
          arminunruh
          Global Moderator
          wrote on last edited by
          #4

          hey sorry for the late reply, i have never seen this issue before and i cant quite see why this would happen :O

          can you send your website address, /wp-admin/ username and password and a link to this topic to info@laytheme.com?

          1 Reply Last reply
          0
          • M Offline
            M Offline
            maharzan
            wrote on last edited by
            #5

            Hi,

            I have narrowed down the issue. I have a child theme with just basic functions.php code. So, when I activate the lay theme (parent), the issue is gone. But when I activate the child theme, the issue comes back. Even with no code in functions.php, the issue is there. So, I am wondering if it has to do something with the theme name, slug?

            Do you have any insight?

            1 Reply Last reply
            0
            • M Offline
              M Offline
              maharzan
              wrote on last edited by
              #6

              Ok, I think I have found out why this issue is happening.. Looks like a css that I added in custom css, weird though.

              1 Reply Last reply
              0
              • M Offline
                M Offline
                maharzan
                wrote on last edited by
                #7

                yes, it was

                .hide {display:none;}

                I have to rename that and now it works. Is it used in the plugin?

                Thanks.

                1 Reply Last reply
                0
                • mariusjopenM Offline
                  mariusjopenM Offline
                  mariusjopen
                  Global Moderator
                  wrote on last edited by
                  #8

                  Dear @maharzan
                  Ah great! Thank you for sharing and using LayTheme!
                  Best!
                  Marius

                  www.mariusjopen.world

                  1 Reply Last reply
                  0
                  • arminunruhA Offline
                    arminunruhA Offline
                    arminunruh
                    Global Moderator
                    wrote on last edited by
                    #9

                    mh yea probably it did use that html class "hide"

                    1 Reply Last reply
                    0
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    I also code custom websites or custom Lay features.
                    šŸ’æ Email me here: šŸ’æ
                    info@laytheme.com

                    Before you post:
                    1. When using a WordPress Cache plugin, disable it or clear your cache.
                    2. Update Lay Theme and all Lay Theme Addons
                    3. Disable all Plugins
                    4. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"

                    This often solves issues you might run into

                    When you post:
                    1. Post a link to where the problem is
                    2. Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
                    3. If the problem is difficult to explain, post screenshots / link to a video to explain it
                    Online Users
                    C
                    CineST
                    R
                    Remco van Dun
                    Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com
                    laytheme.com
                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Recent
                    • Tags
                    • Popular
                    • Users
                    • Search