VALERIE-LEONARD-PHOTOGRAPH Posted February 9, 2023 Posted February 9, 2023 Hi everyone ! I set up a home page with a ken burn effect (9 photos) It's fine on a computer, even if the images are a little cropped. But I have a problem on Mobile phones: The home page cropped dramatically the images 😱 How can I either, make the images not cropped on mobile? , or make a different home page on mobiles, without changing the homepage on computers? here are : one screenshot of my homepage on a mobile and another on the computer Thank you for helping me 🙏
tuanphan Posted February 10, 2023 Posted February 10, 2023 Add to Design > Custom CSS @media screen and (max-width:767px) { .slideshow { height: 30vh !Important; } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
VALERIE-LEONARD-PHOTOGRAPH Posted February 10, 2023 Author Posted February 10, 2023 Thank you so much for your answer !! 🙏 💖 it worked ! The background color now is white and it's not very nice Do you know how I can change the color of the background to full black ? I promess, it's my last question 😋
VALERIE-LEONARD-PHOTOGRAPH Posted February 10, 2023 Author Posted February 10, 2023 6 hours ago, tuanphan said: Add to Design > Custom CSS @media screen and (max-width:767px) { .slideshow { height: 30vh !Important; } } Thank you so much for your answer !! 🙏 💖 it worked ! The background color now is white and it's not very nice Do you know how I can change the color of the background to full black ? I promess, it's my last question 😋
Solution tuanphan Posted February 11, 2023 Solution Posted February 11, 2023 Use this new code @media screen and (max-width:767px) { .slideshow { height: 30vh !Important; } body.homepage { background-color: black; } div#block-yui_3_17_2_1_1538049733920_4401 { padding: 0px !important; } } VALERIE-LEONARD-PHOTOGRAPH 1 Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)
VALERIE-LEONARD-PHOTOGRAPH Posted February 11, 2023 Author Posted February 11, 2023 On 2/10/2023 at 9:19 AM, tuanphan said: Add to Design > Custom CSS @media screen and (max-width:767px) { .slideshow { height: 30vh !Important; } } 1 hour ago, tuanphan said: Use this new code @media screen and (max-width:767px) { .slideshow { height: 30vh !Important; } body.homepage { background-color: black; } div#block-yui_3_17_2_1_1538049733920_4401 { padding: 0px !important; } } Thank you soooo much !!! you made my day 💖
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment