AkankshaK Posted May 4, 2020 Share Posted May 4, 2020 Hello, I am incorporating some Collage Image Blocks on my website and while they look great on desktop, they look pretty rubbish on mobile as the image looks much smaller than the text. Screenshots attached. Is there anyway using CSS to increase the image size in collage image blocks, on mobile only? Thanks A Link to comment
AkankshaK Posted May 4, 2020 Author Share Posted May 4, 2020 Any help appreciated guys 🙏 Link to comment
tuanphan Posted May 5, 2020 Share Posted May 5, 2020 Add to Home > Design > Custom CSS @media screen and (max-width:767px) { .homepage figure.design-layout-collage img { visibility: hidden; } } AkankshaK and knowless 1 1 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
knowless Posted June 12, 2020 Share Posted June 12, 2020 On 5/5/2020 at 2:48 PM, tuanphan said: Add to Home > Design > Custom CSS @media screen and (max-width:767px) { .homepage figure.design-layout-collage img { visibility: hidden; } } Hi, with this code the image disappears but it remains gray and taking up space. Is there a way to show only the part of text and colored background in mobile by totally eliminating the image? Thanks! Link to comment
laurasharp Posted June 15, 2020 Share Posted June 15, 2020 Just found this code from Thompsonweb.design //Collage Blocks Mobile @media (max-width:480px){ .sqs-block-image .design-layout-collage.sqs-narrow-width .image-card-wrapper{ width:100%; margin-top:calc(0%)!important; position:relative} .sqs-block-image .design-layout-collage.sqs-narrow-width.image-position-right .intrinsic,.sqs-block-image .design-layout-collage.sqs-narrow-width.image-position-left .intrinsic{ left:5% } } LJSpace, MilaMila, tuanphan and 2 others 3 2 Link to comment
RT53 Posted November 16, 2021 Share Posted November 16, 2021 On 6/16/2020 at 1:27 AM, laurasharp said: Just found this code from Thompsonweb.design //Collage Blocks Mobile @media (max-width:480px){ .sqs-block-image .design-layout-collage.sqs-narrow-width .image-card-wrapper{ width:100%; margin-top:calc(0%)!important; position:relative} .sqs-block-image .design-layout-collage.sqs-narrow-width.image-position-right .intrinsic,.sqs-block-image .design-layout-collage.sqs-narrow-width.image-position-left .intrinsic{ left:5% } } Thank you! This seems to have fixed the problem (I had same problem as OP) 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