(Squarespace) How to add number under Gallery Strips

To add a number under Gallery Strips, like this

You can use this code to Custom CSS box.

figure.gallery-strips-item {
    counter-increment: portfolio;
    content: counter(li);
    position: relative;
    overflow: hidden;
}
figure.gallery-strips-item figcaption:before {
    content: '0' counter(portfolio) '.';
    display: inline-block;
    color: #000;
    padding-right: 5px;
  }

To change number color, edit this line.

1 Like