Jump to content

Remove padding in code blocks

Recommended Posts

  • Replies 2
  • Views 688
  • Created
  • Last Reply

I suggest using one code block and add the following.

<style>

  #myTargetLinks li {
  
    display: inline;
    padding-left: 2em;
    
    }
    
  #myTargetLinks li:first-child {
  
    padding-left: 0;
    
    }
    
  </style>

<ul id="myTargetLinks">

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

1357549725_ScreenShot2020-10-20at11_05_32PM.png.dd7bd06ff2f57365cf92c0833962b563.png

Let us know how it goes.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

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.