James1 Posted October 12, 2021 Share Posted October 12, 2021 Site URL: https://grapefruit-rectangle-py2e.squarespace.com/our-team Hi All, I'm currently tying to get the 'our team' section of our website working as intended, and the behaviour at some screen sizes is not ideal. What I want is for a small headshot photo to be on the left of the name and title at essentially all screen sizes (at the very smallest, I do think it would be better stacked underneath, but could live without this) Currently, the setup I have, which uses 'Image cards', works perfectly on a large desktop window but on mobile or if shrinking the window width, certain sizes by default result in a much larger photo being displayed, with the name and title underneath. I've fixed this with 'width: 25%', but that does not restore the correct position of the text. Is there a way of locking the behaviour of the image card, so that squarespace is forced to switch from two columns to one first, and not move the names and titles off the same row as the picture until there is no other way to display everything? https://grapefruit-rectangle-py2e.squarespace.com/our-team website password: dmgproperty Any advice would be greatly appreciated! Link to comment
tuanphan Posted October 13, 2021 Share Posted October 13, 2021 Add to Design > Custom CSS @media screen and (max-width:767px) { .image-block { .intrinsic { width: 25% !important; float: left !important; } figcaption.image-card-wrapper { width: 70% !important; margin-left: 5% !important; float: left !important; } figure:after { content: ""; clear: both !important; display: table; } } } 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment