Jump to content

Want to adjust the height of a codeblock in percentage (%), how?

Recommended Posts

Posted

Hey there, 

I have a custom code block on my website and i want to be able to also set the height of the codeblock with percentage (%), just like you are able to with the width. Because the code blocks in squarespace seem to have no height assigned to them, i am only able to influence the placements of certain things with px or vh, but not with percentage (%). 

Is there a way to make sure my codeblock has a 'heigh' i can reference and influence with %? 

Thanks!

  • Replies 1
  • Views 972
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted
3 hours ago, dekaaspro said:

Hey there, 

I have a custom code block on my website and i want to be able to also set the height of the codeblock with percentage (%), just like you are able to with the width. Because the code blocks in squarespace seem to have no height assigned to them, i am only able to influence the placements of certain things with px or vh, but not with percentage (%). 

Is there a way to make sure my codeblock has a 'heigh' i can reference and influence with %? 

Thanks!

Can you share your URL so I can check it easier?

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Pinch/Zoom images, videos - PDFs Lightbox - ...) </>  🗓️ Delivery Date Picker (Date picker form field)
Gallery block 7.1 workaround </> 🤖 Ask me anything

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.