Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Code block auto-closes when I scroll down


Phobic78

Question

It is me, or is this a new and irritating feature in SS? If I am creating a style sheet at the top of a page and I scroll down to view the effect it is having, the code block now auto-closes so I can't view both at the same time.

Does anybody have a workaround for this? Would anybody else like to see this feature removed from code blocks?

Link to comment
  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

4 answers to this question

Recommended Posts

  • 0

The easiest way to add and test styles is to open the Design > Custom CSS panel and add them there. No Code Blocks should be necessary.

sf-digital-signature-logo-email145.png.46606a2288a2847f44d81b9b7b58f3a5.png
Hi! I'm Paul, an independent Squarespace Consultant since 2007 and founder of SF Digital, building the features that Squarespace didn't include. Our mini-extensions allow you to pick dates in any format, show prices in other currencies, take orders without payment or improve your cartI value honesty, integrity, transparency and respect . Links in my posts may refer to SF Digital products or may be affiliate links.

Link to comment
  • 0
16 minutes ago, paul2009 said:

The easiest way to add and test styles is to open the Design > Custom CSS panel and add them there. No Code Blocks should be necessary.

Thanks for your answer, Paul. But Custom CSS applies to the site as a whole. When I am setting a style for an individual page I insert the CSS into a code block at the top of the page. Interestingly, markdown blocks seem not to disappear when scrolling so this might be a workaround.

Link to comment
  • 0
34 minutes ago, Phobic78 said:

Custom CSS applies to the site as a whole

Sure I understand, but the location of the Custom CSS panel (down the left side of the preview) makes it very useful for making live styling changes that can be cut & paste later. 😎

sf-digital-signature-logo-email145.png.46606a2288a2847f44d81b9b7b58f3a5.png
Hi! I'm Paul, an independent Squarespace Consultant since 2007 and founder of SF Digital, building the features that Squarespace didn't include. Our mini-extensions allow you to pick dates in any format, show prices in other currencies, take orders without payment or improve your cartI value honesty, integrity, transparency and respect . Links in my posts may refer to SF Digital products or may be affiliate links.

Link to comment
  • 0
3 minutes ago, paul2009 said:

Sure I understand, but the location of the Custom CSS panel (down the left side of the preview) makes it very useful for making live styling changes that can be cut & paste later. 😎

Ah yes, I hadn't thought of using it this way.

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