Jump to content
Go to solution Solved by Beyondspace,

Recommended Posts

  • Solution
3 hours ago, pearler1570048501 said:

@tuanphan @bangank36 would love your help! 🙂

Try adding to Home > Design > Custom Css

#collection-62007feac5ad6557038a61b1 {
  height: 100vh !important;
  overflow: hidden;
}

#collection-62007feac5ad6557038a61b1 article {
  display: flex;
  flex-direction: column;
}
#collection-62007feac5ad6557038a61b1 .wm-split-sections {
  height: 95vh;
}
#collection-62007feac5ad6557038a61b1 .wm-split-sections > section {
  padding-top: 0 !important;
}
#collection-62007feac5ad6557038a61b1 .wm-split-sections + section {
  height: 5vh !important;
}

#collection-62007feac5ad6557038a61b1 .wm-split-sections section .content {
  width: 50% !important;
}

Let me know how it works on your site

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

My testing

image.thumb.png.c74c83105631e3d3ac8a1edc5b830918.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
2 hours ago, pearler1570048501 said:

@bangank36 Thanks a lot, this worked great. My only other question would be how to add code so that this doesn't apply while in edit mode? It's stopping me from being  able to edit the blocks.

For not applying code in edit mode, you can select the body without edit mode class. 

With the previous code, you can apply the following code

#collection-62007feac5ad6557038a61b1 {
	&:not(.sqs-edit-mode) {
		height: 100vh !important;
		overflow: hidden;
		article {
			display: flex;
			flex-direction: column;
		}
		.wm-split-sections {
			height: 95vh;
			section {
				.content {
					width: 50% !important;
				}
			}
		}
		.wm-split-sections>section {
			padding-top: 0 !important;
		}
		.wm-split-sections+section {
			height: 5vh !important;
		}
	}
}

 

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.