Lightbox-Bilder größer als Original
-
-
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.
-
Dear @Layer
try to add this to your CUSTOM CSS code:
#lightbox-inner .lazyloaded { width: initial !important; height: initial !important; }
Best!
Marius
-
Dear @Layer
you could try to use max-height and max-width.Hope that gets you in the right direction.
Best!
Marius
-
Dear @Layer
have a look here:#lightbox-inner .lazyloaded { width: initial !important; height: initial !important; max-height: 100vh; max-width: 100vw; }
Best!
Marius
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- 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:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it
Online Users
Forgot your key, lost your files, need a previous Lay Theme or Addon version?
Go to www.laykeymanager.com