Jump to content

Fixed Code Block, inheriting responsive layout

Recommended Posts

Hi,

I have been trying to make a fixed code block which has the text scrolling down the page with the images, but I'm having some trouble, adjusting the width to fit within the page layout. Is it possible to keep the fixed property but also be responsive with the rest of the page content?

Maybe the div has to be nested in the code block? so it takes the width from the top div?

Sorry, I am relatively new to any coding related activities so it has been trial and error so far but can't seem to fix it.

Any help would be greatly appreciated.

Link to comment
  • Replies 1
  • Views 400
  • Created
  • Last Reply

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.