Jump to content

Remove padding in code blocks

Recommended Posts

I suggest using one code block and add the following.


  #myTargetLinks li {
    display: inline;
    padding-left: 2em;
  #myTargetLinks li:first-child {
    padding-left: 0;

<ul id="myTargetLinks">

    <a href="https://www.facebook.com/paul.thuysbaert/" target="_blank">
      returns &amp; refunds policy</a>
    <a href="https://www.linkedin.com/in/paul-thuysbaert-705a3723/" target="_blank">
      prints &amp; frames</a>
    <a href="https://www.instagram.com/paul_thuysbaert_photography/?hl=en/" target="_blank">
      shipping &amp; delivery</a>
    <a href="https://vimeo.com/user12171205/" target="_blank">
      customer service</a>


Let us know how it goes.

Find my contributions useful? Please like, upvote, mark my answer as best , and see my profile. Thanks for your support!

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.