katierelease Posted December 23, 2021 Share Posted December 23, 2021 (edited) Site URL: https://bagpipe-swordfish-5feg.squarespace.com/ Hello, On my blog dekstop page, the background image that I have behind my blog links looks as it should. But when I switch to mobile view, the image adjusts and becomes blurry. Is there something with the css used for the background causing the blurry compression? https://bagpipe-swordfish-5feg.squarespace.com/ password: home Thanks! Edited December 24, 2021 by katierelease wording Link to comment
Solution tuanphan Posted December 25, 2021 Solution Share Posted December 25, 2021 On 12/24/2021 at 12:16 AM, katierelease said: Site URL: https://bagpipe-swordfish-5feg.squarespace.com/ Hello, On my blog dekstop page, the background image that I have behind my blog links looks as it should. But when I switch to mobile view, the image adjusts and becomes blurry. Is there something with the css used for the background causing the blurry compression? https://bagpipe-swordfish-5feg.squarespace.com/ password: home Thanks! Don't remove any code in your current code. Add this to Design > Custom CSS /* Mobile blog image */ @media screen and (max-width:767px) { .blog-masonry.collection-content-wrapper { background-size: cover; background-position: 50% !important; } } 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
katierelease Posted December 26, 2021 Author Share Posted December 26, 2021 (edited) On 12/25/2021 at 4:17 AM, tuanphan said: Don't remove any code in your current code. Add this to Design > Custom CSS /* Mobile blog image */ @media screen and (max-width:767px) { .blog-masonry.collection-content-wrapper { background-size: cover; background-position: 50% !important; } } Thank you once again Tuan! If I wanted to adjust the height position of the image, what additional code would that be? Edited December 26, 2021 by katierelease Link to comment
tuanphan Posted December 28, 2021 Share Posted December 28, 2021 On 12/27/2021 at 2:55 AM, katierelease said: Thank you once again Tuan! If I wanted to adjust the height position of the image, what additional code would that be? adjust these values /* Mobile blog image */ @media screen and (max-width:767px) { .blog-masonry.collection-content-wrapper { background-size: cover; background-position: 50% 40% !important; } } 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
katierelease Posted December 28, 2021 Author Share Posted December 28, 2021 3 hours ago, tuanphan said: adjust these values /* Mobile blog image */ @media screen and (max-width:767px) { .blog-masonry.collection-content-wrapper { background-size: cover; background-position: 50% 40% !important; } } Thanks Tuan, I tried the code but the image isn't adjusting height-wise. The second value won't move the image up and down. Link to comment
tuanphan Posted December 29, 2021 Share Posted December 29, 2021 Try this @media screen and (max-width: 767px) { .blog-masonry.collection-content-wrapper { background-size:cover; background-position-x: 37% !important; background-position-y: 100px !important; } } 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
katierelease Posted December 30, 2021 Author Share Posted December 30, 2021 16 hours ago, tuanphan said: Try this @media screen and (max-width: 767px) { .blog-masonry.collection-content-wrapper { background-size:cover; background-position-x: 37% !important; background-position-y: 100px !important; } } Great, thanks Tuan! 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