TwillCreative Posted April 29 Share Posted April 29 Hello! I'm designing a site for a client that has a full-width 1x4 grid that mixes different blocks—2 photographs, a filled text block and a slideshow gallery. I'd like all the elements to be the same height, but the slideshow gallery is not behaving. The gallery is set to auto-crop, but the images do not entirely fill the frame. I saw an earlier forum post that says it is not possible to force the gallery to fill the frame, so I'm looking for other workarounds. I've tried adjusting the frames of the other elements with CSS so that all elements visually appear to be the same height, but this only works at the maximum screen width and starts to look wonky again at narrower widths when the gallery automatically adjusts. I think there must be a way, but I'm not that skilled with CSS. The only solution I have found is to use a shape block to literally cover the bottom of all the blocks so that they appear even, but this feels inelegant. Any advice? https://sarahlockhartphotography.squarespace.com Site password is "Sarah" Link to comment
tuanphan Posted May 1 Share Posted May 1 You can use this code to Website > Website Tools > Custom CSS to fix problem. div.fe-6617fac4a015e859ddefe24a { --row-height-scaling-factor: 0 !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
TwillCreative Posted May 1 Author Share Posted May 1 Incredible, @tuanphan —thank you! That solution worked perfectly. tuanphan 1 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