designerdesigning Posted April 23, 2021 Share Posted April 23, 2021 Site URL: https://www.grindngrowchicago.com/ I want to use my current banner photo for both desktop and mobile but the issue I'm running into is not liking the way it scales when going between both. If this was a perfect world I would love to use this same image at the larger default size within squarespace for the Desktop version then use the small default setting for mobile. Is there a way to apply this condition? Link to comment
tuanphan Posted April 27, 2021 Share Posted April 27, 2021 On 4/24/2021 at 2:35 AM, designerdesigning said: Site URL: https://www.grindngrowchicago.com/ I want to use my current banner photo for both desktop and mobile but the issue I'm running into is not liking the way it scales when going between both. If this was a perfect world I would love to use this same image at the larger default size within squarespace for the Desktop version then use the small default setting for mobile. Is there a way to apply this condition? Add to Design > Custom CSS /* resize mobile top banner */ @media screen and (max-width:767px) { body.homepage article section:first-child { min-height: unset !important; height: 45vh; } } 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
sbwalker5 Posted April 27, 2021 Share Posted April 27, 2021 Hi, I'm having a similar issue to this. I've used the code above - but this only works on the homepage. How do I get this to resize the mobile banner for all pages? Thanks Link to comment
tuanphan Posted May 5, 2021 Share Posted May 5, 2021 On 4/27/2021 at 8:17 PM, sbwalker5 said: Hi, I'm having a similar issue to this. I've used the code above - but this only works on the homepage. How do I get this to resize the mobile banner for all pages? Thanks Can you share link to pages where you have problem? We can help easier 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
Archived
This topic is now archived and is closed to further replies.