WordPress logo

How to make the Gutenberg separator block 1px thick

10-second read.

With this trick, you can hide the border of the line so that visually, the line appears to be 1px (pixel) thick/high/wide.

This can be achieved by adding the below CSS to your child theme’s CSS or Appearance > Customiser > Additional CSS:

.wp-block-separator { border: 0 ;}