Support Online: Mon - Fri / 08:00am - 05:00pm (GMT +7)
Your Time: Our Time:

file How to get background size cover

More
4 years 1 month ago - 4 years 1 month ago #38317 by Roger
Hello,

What are the settings I need to apply to JUX Background Slider so it extends to the full width and height of the page, but without the image size ratio being distorted?

In essence the idea is to have the effect of what a CSS rule "background-size:cover" would do.

Thanks!

Best,
Roger.
Last edit: 4 years 1 month ago by Roger.

Please Log in or Create an account to join the conversation.

More
4 years 1 month ago #38319 by HienHC
Hi
Thanks for your respond
You can also provide me the information back-end entry
I will better understand the error you are making
Thanks

Please Log in or Create an account to join the conversation.

More
4 years 1 month ago #38323 by Roger
Hello,

Thank you, I just added the info to login.

You can find the module in action going to /dev in that site. The image ratio is distorted.

The intended behaviour can be found at the root of the site, where the images cover the full background, but maintaining their aspect.

Thanks!

Best,
Roger.

Please Log in or Create an account to join the conversation.

More
4 years 1 month ago #38325 by HienHC
Hi
Sorry, I could not find the Jux Background Slider in the font-end.
Can you give me its URL?
Thanks

Please Log in or Create an account to join the conversation.

More
4 years 1 month ago #38326 by Roger
Sure! I added it under "FTP host".
Thanks!

Please Log in or Create an account to join the conversation.

More
4 years 1 month ago #38331 by HienHC
Hi
Sorry, because the screen size and image size do not match.
So it enlarges the image to fit the size.
Hope you will understand
thanks

Please Log in or Create an account to join the conversation.

More
4 years 1 month ago #38332 by Roger
Hello,

In the home of that web there's another approach, in which the size of the image is changed to cover the full screen, but without changing the width/height ratio.

The idea is to find which dimension is bigger (width or height), and then change that dimension in the image, while keeping the other dimension in "auto".

May I suggest to change the module programming in the next version so it works that way? We can't use it if the image is being distorted.

Thanks!

Best,
Roger.

Please Log in or Create an account to join the conversation.

More
4 years 1 month ago #38347 by HienHC
Hi
Sorry, I couldn't access the module anymore. prnt.sc/rf5qzk
You can review it for me
Thanks

Please Log in or Create an account to join the conversation.

More
4 years 1 month ago - 4 years 1 month ago #38349 by Roger
Hi, sorry about that, you can now access the module.

Thanks!
Last edit: 4 years 1 month ago by Roger.

Please Log in or Create an account to join the conversation.

More
4 years 1 month ago #38403 by Roger
Hello,

Did you get a chance to take a look at this?

Thanks!

Best,
Roger.

Please Log in or Create an account to join the conversation.

Moderators: Jackie
Time to create page: 0.040 seconds
Powered by Kunena Forum