kindandbrave Posted May 22, 2020 Share Posted May 22, 2020 Site URL: https://wildminimalist.com/ Hey Circle! Does anyone know how to replicate a split-screen layout like the one shown here: https://wildminimalist.com/? Loving this site's look but have no idea how I'd make that work with Squarespace 7.1. Ideally on mobile, the left side of the split screen would sit above the right side. I appreciate any tips! Link to comment
tuanphan Posted May 22, 2020 Share Posted May 22, 2020 You mean this section? Good for You, Good for the Earth (and Good Looking) 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
kindandbrave Posted May 22, 2020 Author Share Posted May 22, 2020 9 hours ago, tuanphan said: You mean this section? Good for You, Good for the Earth (and Good Looking) @tuanphan, hi! this section here on the homepage: Link to comment
kindandbrave Posted May 22, 2020 Author Share Posted May 22, 2020 @tuanphan here is the code I've been playing around with but it's not working yet. I found someone's tutorial online and have been trying to adjust it to fit 7.1. (I started with an image block). #yui_3_17_2_1_1590152976189_90 { .content-wrapper { padding: 0px!important; max-width: 100%; .sqs-block { padding: 0px!important; } .image-inset.content-fit { height: 100% } .design-layout-card img { height: 100%!important; object-fit: cover; -o-object-fit: cover; } @media screen and (max-width: 640px) { .sqs-block-image .design-layout-card:not(.sqs-narrow-width) { display: block; } .sqs-block-image .design-layout-card:not(.sqs-narrow-width)>div:first-child { width: 100%; } .sqs-block-image .design-layout-card:not(.sqs-narrow-width) .image-card-wrapper { position: relative; width: 100%; }}}} Link to comment
tuanphan Posted May 22, 2020 Share Posted May 22, 2020 You insert background image, then add 2 column Left: Text Block + Button Block Right: Spacer Block Next, set .section-background class 50% width & change margin-left: 50% or left:50% to push background image to right, you will have split layout on desktop Next, on mobile, set section-background 100% width & adjust margin-top to stack text to top, image bottom 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
kindandbrave Posted May 22, 2020 Author Share Posted May 22, 2020 @tuanphan Thanks!--I'm not great at coding yet. here's what I tried for this website page (password: letmein) #5ec7d3af9bcd1c64193d65e2 { .section-background { max-width: 50%; margin-right: 50%; } @media screen and (max-width: 640px) { .section-background: 100%; .margin-top: stack text to top, image bottom }} Link to comment
tuanphan Posted May 22, 2020 Share Posted May 22, 2020 [data-section-id="5ec7d3af9bcd1c64193d65e2"] .section-background { width: 50%; left: 50%; } 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
kindandbrave Posted May 22, 2020 Author Share Posted May 22, 2020 @tuanphan Thank you! I hate to keep asking for help! here's what I have for mobile. It's not working [data-section-id="5ec7d3af9bcd1c64193d65e2"] .section-background { width: 50%; left: 50%; } @media screen and (max-width: 640px) { .section-background { width: 100%; margin-top: text; margin-bottom: image; } } Link to comment
tuanphan Posted May 25, 2020 Share Posted May 25, 2020 For future members You can use CSS Flexbox to change image/text order on mobile only kindandbrave 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
Potter Posted March 16, 2022 Share Posted March 16, 2022 I am trying to do a split screen header panel but this code doesn't seem to work now? Link to comment
tuanphan Posted March 18, 2022 Share Posted March 18, 2022 On 3/16/2022 at 6:46 PM, Potter said: I am trying to do a split screen header panel but this code doesn't seem to work now? What is your site url? We can give the code for your case Or You can also use Split Layout Plugin to achieve 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
Potter Posted May 24, 2022 Share Posted May 24, 2022 Sorry this was on hold: https://fox-trombone-wtgn.squarespace.com/config/design/custom-css Link to comment
tuanphan Posted May 25, 2022 Share Posted May 25, 2022 10 hours ago, Potter said: Sorry this was on hold: https://fox-trombone-wtgn.squarespace.com/config/design/custom-css Which page are you referring to? 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
Potter Posted May 25, 2022 Share Posted May 25, 2022 The home page header, I want it to look like the attached ideally. Link to comment
tuanphan Posted May 26, 2022 Share Posted May 26, 2022 On 5/25/2022 at 3:35 PM, Potter said: The home page header, I want it to look like the attached ideally. Your site is private. Can you check it again? 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
Potter Posted June 8, 2022 Share Posted June 8, 2022 https://fox-trombone-wtgn.squarespace.com/config/ Torstig_Bar123 Link to comment
tuanphan Posted June 11, 2022 Share Posted June 11, 2022 On 6/8/2022 at 4:03 PM, Potter said: https://fox-trombone-wtgn.squarespace.com/config/ Torstig_Bar123 I think you can add 2 sections, then we can give code to make them side by side. It will be easier 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
kindandbrave Posted July 8 Author Share Posted July 8 Hi there, I was using this code to create a split screen footer on my site, but it doesn't seem to be working correctly anymore/is making editing the footer pretty buggy. Does anyone know if there might be something I need to update here to better align with the updated templates from Squarespace? Thank you! /*Split Footer*/ #footer-sections {display: flex;} #footer-sections .page-section:nth-child(1), #footer-sections .page-section:nth-child(2) {flex: 1; display: flex; flex-flow: row nowrap; justify-content: center;} @media only screen and (max-width:950px){#footer-sections {display: inline;}} Here's my site: https://willinglee.co Link to comment
tuanphan Posted July 13 Share Posted July 13 On 7/8/2024 at 8:58 AM, kindandbrave said: Hi there, I was using this code to create a split screen footer on my site, but it doesn't seem to be working correctly anymore/is making editing the footer pretty buggy. Does anyone know if there might be something I need to update here to better align with the updated templates from Squarespace? Thank you! /*Split Footer*/ #footer-sections {display: flex;} #footer-sections .page-section:nth-child(1), #footer-sections .page-section:nth-child(2) {flex: 1; display: flex; flex-flow: row nowrap; justify-content: center;} @media only screen and (max-width:950px){#footer-sections {display: inline;}} Here's my site: https://willinglee.co I think you should use Classic Section for Left Section, then use code, it would be better. 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