Jump to content

Button text alignment wrong after using CSS for custom font...

Go to solution Solved by tuanphan,

Recommended Posts

I have a custom font enabled for my site, including buttons:

.sqs-block-button-element {
    font-family: 'Memory-Terminal' !important;

However, when this font is enabled, it adds extra padding to the bottom of the buttons:


Is there a way to adjust the text alignment/bottom padding via CSS so that the text is properly centered? I've tried adjusting font and button style properties within the editor but it doesn't have any effect on the issue.

Link to comment
  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • Solution

You can add this to Design > Custom CSS to improve a bit

a.sqs-block-button-element--medium.sqs-button-element--primary.sqs-block-button-element {
    padding-bottom: 10px !important;


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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.