Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

Make an image big on landscape mode on mobile
(1 viewing) (1) Guest
"ARI Fancy Lightbox" WordPress plugin
Go to bottomPage: 1
TOPIC: Make an image big on landscape mode on mobile
#73378
Make an image big on landscape mode on mobile 3 Weeks, 6 Days ago Karma: 0
Plugin works great however, despite inspecting the page and trying out a few things. I'm unable to get it enlarge slightly the initial image which is loaded in the lightbox. I assumed I need to do this via CSS. Id ideally like to get to make it slightly bigger when used in landscape mode on mobile so with a smaller board around. Not sure if this is possible. Changing the width and height I can make it smaller but beyond certain size it gets no bigger.

@media only screen and (max-width:850px) {
.fancybox-slide--iframe .fancybox-content {
max-width : 100%;
margin: 0;
}

.fancybox-image {
width : 800px;
height : 600px;
max-width : 100%;
max-height : 100%;
margin: 0;
}

}
Last Edit: 2025/10/13 15:01 By locka.
The administrator has disabled public write access.
 
#73385
Re:Make an image big on landscape mode on mobile 3 Weeks, 2 Days ago Karma: 765
Hello,

Is it possible to see it on a site (this can be a test site)?

Regards,
ARI Soft
The administrator has disabled public write access.
 
#73387
Re:Make an image big on landscape mode on mobile 3 Weeks, 2 Days ago Karma: 0
It's when I rotate the image in to landscape on a mobile it does not seem to be as big as it should be. Happened both on our website and my WordPress playground test environment.

Id expect the image to be almost the fall height of the screen in landscape mode.

springfieldstriders.org.uk/new-thursday-night/
Last Edit: 2025/10/17 15:45 By locka.
The administrator has disabled public write access.
 
#73395
Re:Make an image big on landscape mode on mobile 2 Weeks, 6 Days ago Karma: 765
Open "ARI Fancy Lightbox -> Settings -> Advanced" page and populate "Custom JS code" with the following code:

Code:


$.fancybox.defaults.margin = [0, 0];



Regards,
ARI Soft
The administrator has disabled public write access.
 
#73396
Re:Make an image big on landscape mode on mobile 2 Weeks, 6 Days ago Karma: 0
Thanks very much that has worked great
The administrator has disabled public write access.
 
Go to topPage: 1