Lay Theme Forum

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

    Lightbox-Bilder größer als Original

    Addons
    2
    8
    494
    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
      Layer last edited by

      Re: Lightbox

      Hallo, wie schaut es mit der Weiterentwicklung der Lighbox bezüglich der o.g. Funktion aus? Oder welche andere Möglichkeit gibt es, dass kleine Bilder in der Lightbox nicht vergrößert dargestellt werden?

      VG

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

        Dear @Layer
        there is not really a progress yet. I will write it down for the future.

        Best!

        Marius

        www.mariusjopen.world

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

          Hello Marius,

          I am trying to do this with giving an image a class and write a custom css like:

          .newclass .lightbox-image-holder img {
          height: initial !important;
          width: initial !important;
          }

          Well, it does not work. ^^

          Any ideas to solve this by writing custom css?

          Best.

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

            Dear @Layer

            try to add this to your CUSTOM CSS code:

            #lightbox-inner .lazyloaded {
                width: initial !important;
                height: initial !important;
            }
            

            Best!

            Marius

            www.mariusjopen.world

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

              Hello Marius,

              this works. But unfortunately the function "Lightbox Addon > Space Around Image" does not work anymore. The height of big pictures is then the browser hight. If you have an idea to combine that let me know.

              Best.

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

                Dear @Layer
                you could try to use max-height and max-width.

                Hope that gets you in the right direction.

                Best!

                Marius

                www.mariusjopen.world

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

                  Hello Marius,

                  nope, does not work.

                  Best.

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

                    Dear @Layer
                    have a look here:

                    #lightbox-inner .lazyloaded {
                        width: initial !important;
                        height: initial !important;
                        
                        max-height: 100vh;
                        max-width: 100vw;
                    }
                    

                    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

                    S
                    M
                    A
                    K
                    F
                    F
                    O
                    Y

                    Recent Topics

                    • K

                      Unable to update lay theme / to login wp admin

                    • S

                      Theme crashed - because of Polylang?

                    • A

                      New button feature not available

                    • A

                      carousel addon not working after update

                    laytheme.com