m10ki Posted November 22, 2022 Share Posted November 22, 2022 https://www.karibuadventures.com/alta-valsesia password: karibu2022 I have a gallery section next to a text block section with the help of the below css code, however on narrow screens it make the section below cut in half and jagged. Any help would be appreciated to make these two sections align perfectly and not affect the section below. @media only screen and (min-width: 641px) { #collection-634893cc9a464a662fdca2b6 { #page .page-section:nth-of-type(5) { /*second second on the left*/ width: 50%; min-height: 80vh; align-items: center; float: left; } #page .page-section:nth-of-type(6) { /*third section on the right*/ width: 50%; min-height: 80vh; align-items: center; } #page .page-section:nth-of-type(4) { /* forth section full width again */ clear: both; } } } Link to comment
Wolfsilon Posted November 22, 2022 Share Posted November 22, 2022 I'm guessing that one of the configurations for one of your sections has a different height than the other. You could try adjusting this from the Editor. If not, you could try setting a maximum height property. Link to comment
m10ki Posted November 23, 2022 Author Share Posted November 23, 2022 Hi Wolfsilon, thank you for the quick response. The max height seems to have helped the other pages, but this page still is wonky - no matter how high I set the height to, it still does this (see attached). I think the reason why this page isn't looking great is that the amount of words next to the gallery is longer than the other pages. If I cannot convince my client to reduce the copy, do you have any other ideas? Thanks again! Link to comment
tuanphan Posted November 25, 2022 Share Posted November 25, 2022 How about moving slider above/or under text on some screen sizes? 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
tkk Posted January 19, 2023 Share Posted January 19, 2023 (edited) I'm having the same problem! I wish squarespace would have a template for gallery next to text! @m10ki Did you every figure it out? Edited January 19, 2023 by tkk Link to comment
tuanphan Posted January 26, 2023 Share Posted January 26, 2023 On 1/20/2023 at 4:52 AM, tkk said: I'm having the same problem! I wish squarespace would have a template for gallery next to text! @m10ki Did you every figure it out? If you share link to page where you added gallery, we can give code to do this 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
tkk Posted February 2, 2023 Share Posted February 2, 2023 My page isn’t published yet. it’s just a gallery block with a text block beneath it at the moment Link to comment
tuanphan Posted February 3, 2023 Share Posted February 3, 2023 On 2/2/2023 at 8:03 AM, tkk said: My page isn’t published yet. it’s just a gallery block with a text block beneath it at the moment You can follow this guide to know how to share link: 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