Jump to content

Padding between links in Archive Block

Go to solution Solved by tuanphan,

Recommended Posts

I want to reduce the spacing between links in a blog Archive block. I don't want them so spread apart but rather closer together. I adjusted the padding, but that's just adjusting the size of the link background: https://www.lucasano.com/test-2

Here is the code I am using:

.archive-group-name-link {
    background: #323843;
    color: #F8F4EF; 
    padding: 5px!important;
    border: 3px solid #323843;
    border-radius: 4px;
    font-size: 12px;
    font-family: 'Stevie Sans', sans-serif; 


Link to comment
  • Replies 3
  • Views 661
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • Solution
20 hours ago, LukeDesign said:

Thank you. That definitely helped but it's creating an uneven spacing between each link:


Use this new code

ul.archive-group-list {
    column-gap: 1px !important;
    display: flex !important;
ul.archive-group-list>li {
    margin-right: 10px;


Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.