Jump to content

ADDING CUSTOM CODE

Recommended Posts

  • Replies 2
  • Views 282
  • Created
  • Last Reply

Yup, you can do that. When I was testing with my FAQ accordion I had divs, JS and CSS styling all working fine within a single code block on one page.

I then hide all my code blocks (the space they use) by removing the padding site wide:

//Remove Padding from ALL code blocks
  .code-block {
    padding: 0!important;}

 

Link to comment

Archived

This topic is now archived and is closed to further replies.

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