×
Support Online :
Mon - Fri / 08:00am - 05:00pm (GMT +7)
Your Time:
Our Time:
Forum
JUX Member Forum - Restricted to Members Only
JUX Other Extensions
JUX Background Slider
How to get background size cover
How to get background size cover
Less
More
Posts: 15
Thank you received: 0
4 years 9 months ago - 4 years 9 months 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 9 months ago by
Roger .
Please Log in or Create an account to join the conversation.
Less
More
Posts: 289
Thank you received: 11
4 years 9 months 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.
Less
More
Posts: 15
Thank you received: 0
4 years 9 months 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.
Less
More
Posts: 289
Thank you received: 11
4 years 9 months 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.
Less
More
Posts: 15
Thank you received: 0
Less
More
Posts: 289
Thank you received: 11
4 years 9 months 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.
Less
More
Posts: 15
Thank you received: 0
4 years 9 months 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.
Less
More
Posts: 289
Thank you received: 11
Less
More
Posts: 15
Thank you received: 0
4 years 9 months ago - 4 years 9 months ago #38349
by Roger
Hi, sorry about that, you can now access the module.
Thanks!
Last edit: 4 years 9 months ago by
Roger .
Please Log in or Create an account to join the conversation.
Less
More
Posts: 15
Thank you received: 0
4 years 9 months 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.
Forum
JUX Member Forum - Restricted to Members Only
JUX Other Extensions
JUX Background Slider
How to get background size cover
Time to create page: 0.129 seconds