Jump to content

Remove padding in code blocks

Recommended Posts

  • Replies 2
  • Views 651
  • Created
  • Last Reply

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 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


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.