lucyconochie Posted January 12 Share Posted January 12 I have noticed that my overlay text on my portfolio project images does not scale to fit the image when viewed on smaller screens / platforms. Is there a way to ensure the text is always contained within the constraints of the image it overlays? Thank you Link to comment
Beyondspace Posted January 12 Share Posted January 12 2 hours ago, lucyconochie said: I have noticed that my overlay text on my portfolio project images does not scale to fit the image when viewed on smaller screens / platforms. Is there a way to ensure the text is always contained within the constraints of the image it overlays? Thank you Can you share your URL so I can take a look? Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio pluginIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you Link to comment
lucyconochie Posted January 18 Author Share Posted January 18 Hi, https://www.lucyconochiedesign.com/gardens I want the text to respond to the size the image is, depending on what size screen / platform you're viewing it on. Link to comment
Beyondspace Posted January 18 Share Posted January 18 2 hours ago, lucyconochie said: Hi, https://www.lucyconochiedesign.com/gardens I want the text to respond to the size the image is, depending on what size screen / platform you're viewing it on. Here is the Custom Css you can set to apply the size with 3 breakpoints @media screen and (min-width: 1024px) { /*desktop view*/ .portfolio-grid-overlay .portfolio-title { font-size: 24px; } } @media screen and (max-width:1023px) and (min-width: 768px) { /*Tablet view*/ .portfolio-grid-overlay .portfolio-title { font-size: 22px; } } @media screen and (max-width: 767px) { /*Mobile view*/ .portfolio-grid-overlay .portfolio-title { font-size: 10px; } } Support me by pressing 👍 or marking as solution if this useful for you Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Lightbox Studio pluginIf you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you Link to comment
lucyconochie Posted January 18 Author Share Posted January 18 Thanks so much I'll give that a go right now. Lucy Link to comment
lucyconochie Posted January 18 Author Share Posted January 18 Hi, So I used the CSS and changed the mobile view option to 20px (10 was too tiny). But I'm still having the issue that when the size of the project thumbnails is reduced, the text doesn't reduce with it, to stay within the image. I get these scroll tabs when the title is longer. I've attached a screenshot. 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