Jump to content

Make a scrollable page frame for 7.1 Fluid Engine

Recommended Posts

When I was on 7.0, I used this person's handy CSS code to showcase my really long web design images inside of a scrollable frame (Link to their tutorial) :

#PASTE-BLOCK-ID {
  height: 500px;
  max-width: 80%;
  margin:auto;
  width: 100%;
  overflow-y:scroll;
  overflow-x:hidden;
  filter: drop-shadow(2px 22px 40px rgba(0,0,0,.3));
  
  @media screen and (max-width:767px) {
   height:200px;
  }
}

This was a really awesome feature because my portfolio has so many webpage designs, but the code doesn't work on 7.1! It would be really awesome if someone knew how to make this work.

Link to comment

In my testing it works exactly the same on Classic and Fluid Engine editors. Could there be an error in your block ID?

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
  • 4 weeks later...
On 5/15/2023 at 1:47 PM, Ziggy said:

In my testing it works exactly the same on Classic and Fluid Engine editors. Could there be an error in your block ID?

The block ID isn't wrong because some of the code is working but not the scrolling element. Does Fluid Engine require a different bit of code instead of 'overflow-y:scroll; overflow-x:hidden'. Have tried using it on my website and just get this effect (see image) with no scroll.

screencapture-ofthewild-studio-ibera-squarespace-website-template-2023-06-11-14_11_13.png

Link to comment
  • John_SQSP changed the title to Make a scrollable page frame for 7.1 Fluid Engine
14 hours ago, HopeNothhelfer said:

Have tried using it on my website and just get this effect (see image) with no scroll.

Please see the following.

Please post the URL for a page on your site where we can see your issue.

A link to the backend of the your site won’t work for us, i.e. a url that contains /config/.

Please set up a site-wide password, if your site is not public and you've not already done so.

Post the password here.

Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site.

Please read the site-wide password and how to share a link documentation to understand how they work.

We can then take a look at your issue.

You may find How to post a forum question post useful.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment
  • 3 weeks later...
On 6/12/2023 at 5:04 AM, creedon said:

Please see the following.

Please post the URL for a page on your site where we can see your issue.

A link to the backend of the your site won’t work for us, i.e. a url that contains /config/.

Please set up a site-wide password, if your site is not public and you've not already done so.

Post the password here.

Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site.

Please read the site-wide password and how to share a link documentation to understand how they work.

We can then take a look at your issue.

You may find How to post a forum question post useful.

Hey there. 

https://ofthewild.studio/ibera-squarespace-website-template

Password: test

Thanks!  

Edited by HopeNothhelfer
Link to comment

Scratch my post about sticky as it looks like you are going for a different effect than I thought.

Thank you for posting your page. That may help someone come up with a solution.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Link to comment
  • 2 weeks later...
  • 11 months later...

Just for anyone else - If you want to do this with the image block in Fluid Engine:

 



#PASTE-BLOCK-ID  {
  height: 500px;
}

#PASTE-BLOCK-ID 
{
 .design-layout-fluid .fluid-image-container img { 
    height: auto !important;
} 

.design-layout-fluid .fluid-image-container {
  height: 500px !important;
  overflow-y:scroll !important;
}
}

You'll need to add media queries for the height as well and can add back in shadows/style the scroll etc.

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.