Jump to content

Apply site wide effects to Code Block content

Recommended Posts

Hi All,

Is there a way to make site-wide effects apply to code block content also? It's not very smooth when most blocks slide in nicely but a couple of code blocks just 'appear'.

My code blocks mostly contain text with custom CSS classes/styling applied.
Had wondered if an alternate option might be to use Markup Blocks instead for this.

Appreciate any suggestions.

Cheers.

Edited by aaron1
Link to comment
1 hour ago, aaron1 said:

Hi All,

Is there a way to make site-wide effects apply to code block content also? It's not very smooth when most blocks slide in nicely but a couple of code blocks just 'appear'.

My code blocks mostly contain text with custom CSS classes/styling applied.
Had wondered if an alternate option might be to use Markup Blocks instead for this.

Appreciate any suggestions.

Cheers.

What kind of content do you have on your code blocks?

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

Text content with some specific styling applied.
I have mostly got around it now by using the Markup Block, however pseudo elements dont seem to animate.

Would be nice if the site wide effects applied to code blocks too.

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.