Lay Theme Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Image full screen zoom on click

    General Discussion
    3
    10
    761
    Loading More Posts
    • 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.
    • L
      lm last edited by

      Hey,

      I'm trying to run this plugin (full screen image zoom) with Lay Theme. It works fine with the default WP theme, but sadly not with Lay.

      In order to run it, you have to add a class to the image. I've added the class in the gridder, but it doesn't work.

      Do you have an idea, what the problem could be? Would be amazing!
      Thanks a lot!

      Best,
      L

      1 Reply Last reply Reply Quote 0
      • mariusjopen
        mariusjopen Global Moderator last edited by

        Hi @lm

        it is possible that it does not work because LayTheme is coded as a single-javascript application.

        Have a look here:
        http://laytheme.com/documentation.html#custom-javascript

        Also you cannot use custom PHP templates.

        Maybe you can change the code in the jQuery of the Plugin that it runs on Laytheme?
        http://laytheme.com/documentation.html#custom-javascript

        All the best :-D

        Marius

        www.mariusjopen.world

        1 Reply Last reply Reply Quote 0
        • L
          lm last edited by

          Hi @mariusjopen

          thanks for your answer. I think the main problem could be, that the class isn't visible in the html of the site, even though I've added it in the gridder.

          Do you maybe know a solution for this?

          Best,
          L

          1 Reply Last reply Reply Quote 0
          • mariusjopen
            mariusjopen Global Moderator last edited by

            Hi @lm

            it is difficult to judge without seeing it.

            Can you install it on a page and show us the example?

            All the best and a happy new year!

            Marius

            www.mariusjopen.world

            1 Reply Last reply Reply Quote 0
            • L
              lm last edited by

              Hey @mariusjopen

              Here you can see an example page.
              The plugin is installed and the images have the right class, added via right-click in the gridder.

              Many thanks!

              Best
              L

              1 Reply Last reply Reply Quote 0
              • mariusjopen
                mariusjopen Global Moderator last edited by

                Hi @lm
                you did not add a class to the image yet. Only to the box around it.

                Maybe you need to adjust the code in the plugin to recognize the class around the image?

                Is there a page where I can see the plugin running?

                All the best!

                Marius

                www.mariusjopen.world

                1 Reply Last reply Reply Quote 0
                • L
                  lm last edited by

                  Hey @mariusjopen
                  thanks for your answer!

                  I've already tried to add the image with the class via HTML to the Gridder. In the code, the image has the right class, but it still does not work…

                  Here you can see the plugin running.

                  Many thanks!

                  Best
                  L

                  1 Reply Last reply Reply Quote 0
                  • mariusjopen
                    mariusjopen Global Moderator last edited by

                    Hi @lm
                    probably the plugin uses not the LayTheme jQuery language (which is working for single pages):
                    http://laytheme.com/documentation.html#custom-javascript

                    I once coded that effect myself for the artist Sebastian Haslauer:
                    http://sebastianhaslauer.com/

                    You can dig in that code and copy and paste it from there if that helps you.

                    Sorry the plugin does not run on LayTheme.

                    All the best!

                    Marius

                    www.mariusjopen.world

                    C 1 Reply Last reply Reply Quote 0
                    • C
                      cherylsinner @mariusjopen last edited by

                      @mariusjopen Hello, Does this code work on lightbox imagex?
                      thanks!

                      1 Reply Last reply Reply Quote 0
                      • mariusjopen
                        mariusjopen Global Moderator last edited by

                        Dear @cherylsinner
                        I think not. This code from the Haslauer website is pretty freestyle.
                        Best!

                        Marius

                        www.mariusjopen.world

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        Before you post

                        Use the Search Feature. Maybe there is already a solution to your issue.

                        1. Update Lay Theme and all Lay Theme Addons
                        2. Disable all Plugins
                        3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
                        4. Now see if your problem solved itself
                        5. Go here, see if your problem is listed here:
                        Troubleshooting

                        When you post:
                        1. Post a link to where the problem is
                        2. If the problem is difficult to explain, post screenshots / link to a video to explain it

                        Thanks!

                        Online Users

                        A

                        Recent Topics

                        • A

                          Unable to update lay theme / to login wp admin

                        • A

                          New button feature not available

                        • S

                          Theme crashed - because of Polylang?

                        • A

                          carousel addon not working after update

                        laytheme.com