vocatvie Posted July 6, 2023 Share Posted July 6, 2023 Hi, I can't resize the gallery carousel to max-width for mobile - https://trami-cosmetic.com/asean. I still have ~10px left and right of a parent setting I think. The best I could do was this here: #block-yui_3_17_2_1_1684170709916_7439, #block-yui_3_17_2_1_1684170709916_27558, #block-yui_3_17_2_1_1684170709916_31326 { @media only screen and (max-width: 767px) { .sqs-block-content { height: 180px; margin-left: -30px; margin-right: -30px; } } } I don't want to apply it to Yui Blocks only but to the whole website. Can someone assist, please? Link to comment
tuanphan Posted July 11, 2023 Share Posted July 11, 2023 Just replace this #block-yui_3_17_2_1_1684170709916_7439, #block-yui_3_17_2_1_1684170709916_27558, #block-yui_3_17_2_1_1684170709916_31326 with div.gallery-block 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!) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment