Jump to content

Sticking text while summary blog flows

Recommended Posts

Hi! I am trying to get a commonly-asked-for layout with text block sticking to the page while a summary block flows on the side. I've tried to read other forum posts about this but haven't gotten it to work.

Under the What We Do section, I want that text block to stick to the page while the summary block to the right scrolls. Would love any help the community can provide! Thanks!

(this page is a WIP, excuse the weird formatting in the section above 🙂)

Link: https://climatelegaldefense.org/what-we-do

PW: SummaryBlockHelp

Edited by EquationCampaign
Link to comment

Try this Custom CSS:

@media only screen and (min-width: 768px) {
  .fe-block-yui_3_17_2_1_1695094653572_95449 {
    position: sticky;
    top: 40px;
  }
}

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

Try adding this to the previous code:

padding-bottom: 80px;

The difference between the .fe-block-id and .block-id is just where they are in the HTML hierarchy. The .fe-block-id is the one that deals with the position in the FE grid, and the .block-id sits within that, so if you want to deal with position then you need the .fe-block-id.

image.png.f63ea9383e12e216a8e6119548977088.png

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

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.