JoshuaLipka Posted October 13, 2021 Share Posted October 13, 2021 Site URL: https://azalea-wedge-79l6.squarespace.com/success-stories/native-shoes I've been trying to find the correct fix, but I'm not a CSS whisperer. Maybe one of you can help? When this page is reduced to mobile or table, the text overflow in the Poster Image Block isn't staying within the constraints of the block. How do I fix it so the entire Image Block reduces in size including the text? https://azalea-wedge-79l6.squarespace.com/success-stories/native-shoes PW: jldnetrush Link to comment
tuanphan Posted October 14, 2021 Share Posted October 14, 2021 Add to Design > Custom CSS > then save & reload the site /* Poster overflow */ @media screen and (max-width:991px) { div#block-1ad8e95619d3440bbe15 .content-fill { padding-bottom: 50% !important; } } @media screen and (max-width:767px) { div#block-1ad8e95619d3440bbe15 .content-fill { padding-bottom: 100% !important; } } JoshuaLipka 1 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
JoshuaLipka Posted October 14, 2021 Author Share Posted October 14, 2021 1 hour ago, tuanphan said: Add to Design > Custom CSS > then save & reload the site /* Poster overflow */ @media screen and (max-width:991px) { div#block-1ad8e95619d3440bbe15 .content-fill { padding-bottom: 50% !important; } } @media screen and (max-width:767px) { div#block-1ad8e95619d3440bbe15 .content-fill { padding-bottom: 100% !important; } } What if I want to make this general for every time I'm using a Poster Image block? This same design is in all of the blog posts for that category. Link to comment
tuanphan Posted October 15, 2021 Share Posted October 15, 2021 15 hours ago, JoshuaLipka said: What if I want to make this general for every time I'm using a Poster Image block? This same design is in all of the blog posts for that category. Each poster will need a different code. div#block....15 is block id. Use this tool to find id. https://chrome.google.com/webstore/detail/squarespace-id-finder/igjamfnifnkmecjidfbdipieoaeghcff?hl=en 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
FiSexton Posted January 17 Share Posted January 17 HI I have a similar problem, I have tried pasting the CSS code and amending the block ID, but the text is still overflowing if i resize the page. Page: https://bumblebee-dahlia-r4jw.squarespace.com/new-page-4 See first flipping image. If i resize the text is still overflowing. Thanks Fi Link to comment
tuanphan Posted January 20 Share Posted January 20 On 1/17/2024 at 5:58 PM, FiSexton said: HI I have a similar problem, I have tried pasting the CSS code and amending the block ID, but the text is still overflowing if i resize the page. Page: https://bumblebee-dahlia-r4jw.squarespace.com/new-page-4 See first flipping image. If i resize the text is still overflowing. Thanks Fi Your site needs a different ID. Use this code div#page-659d52c1f7e02c6cf594590e .content-fill { padding-bottom: 175% !important; } 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
FiSexton Posted January 29 Share Posted January 29 Hi that didn't seem to work. I have removed the coding fully for the time being. Any further ideas that may help me? Fi Link to comment
tuanphan Posted February 1 Share Posted February 1 On 1/29/2024 at 7:02 PM, FiSexton said: Hi that didn't seem to work. I have removed the coding fully for the time being. Any further ideas that may help me? Fi Just tested & I see it still works, maybe you added code to wrong position. Can you send all code after you added the code? & take a screenshot of problem then? 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