Gino Posted August 10, 2020 Share Posted August 10, 2020 Site URL: https://www.blackcatdesign.co.th/ When I switch from desktop to mobile, it will cut the image not resizing. I prefer all images and slides shrinking. Could you help me on the code? The current mobile situation will be as the picture 3.png. I would like to get as the picture 1.png. Link to comment
tuanphan Posted August 10, 2020 Share Posted August 10, 2020 Add to Home > Design > Custom CSS /* resize home banner */ @media screen and (max-width:767px) { .homepage #page section:first-child { min-height: 20vh; height: 40vh; margin-top: 150px; } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Gino Posted August 11, 2020 Author Share Posted August 11, 2020 @tuanphan Thank you for your help, I applied the code above and nothing happen. www.blackcatdesign.co.th My desktop is on No.1, my mobile is No.2. I would like to get my mobile as No.3. Link to comment
tuanphan Posted August 11, 2020 Share Posted August 11, 2020 /* resize home banner */ @media screen and (max-width:767px) { .homepage #page section:first-child { min-height: 20vh !important; height: 40vh; } } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Gino Posted August 13, 2020 Author Share Posted August 13, 2020 you save my day .. @tuanphan thx u very much, Link to comment
Gino Posted August 14, 2020 Author Share Posted August 14, 2020 @tuanphan /* resize home banner */ @media screen and (max-width:767px) { .homepage #page section:first-child { min-height: 20vh !important; height: 40vh; } } If I want to do it for all of my pages, how could I do that? This code is good for homepage only. Link to comment
tuanphan Posted August 15, 2020 Share Posted August 15, 2020 remove .homepage Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care 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