Jump to content

Change size of code block

Recommended Posts

Site URL: https://rabbit-guppy-33ea.squarespace.com/


I have used a code block to insert an animated svg-icon on my home page. This is the code: 

<script src="https://cdn.lordicon.com/libs/frhvbuzj/lord-icon-2.0.2.js"></script>

Below the Icon I have placed a text block to name it. However, the text block appears too far down. I want it right underneath the code block, but it is unnecessarily large. How can I reduce the heights of the code block. It should work for mobile and desktop.

Alternatively: Can I include the text in the code of the code block? That might be easier...

Thanks for your help

Bildschirmfoto 2021-08-17 um 13.28.19.png

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

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.