Phobic78 Posted October 21, 2021 Share Posted October 21, 2021 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
paul2009 Posted October 21, 2021 Share Posted October 21, 2021 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. About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. Content: Links in my posts may refer to SF Digital products or may be affiliate links. If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too. Link to comment
Phobic78 Posted October 21, 2021 Author Share Posted October 21, 2021 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
paul2009 Posted October 21, 2021 Share Posted October 21, 2021 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. 😎 About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. Content: Links in my posts may refer to SF Digital products or may be affiliate links. If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too. Link to comment
Phobic78 Posted October 21, 2021 Author Share Posted October 21, 2021 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
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment