This guide shows how to change the font size and padding of buttons using the theme editor's built-in custom CSS field.
- In the theme editor, navigate to the section you want to edit.
- In the settings panel, scroll to the bottom and expand Custom CSS.
- To apply the change across your entire storefront instead, navigate to Theme settings > Custom CSS.
- Paste the following code into the input field and adjust the values as needed.
font-sizecontrols the text size inside the button.paddingcontrols the space inside the button. The first value sets the top and bottom padding, the second sets the left and right padding.
.btn { font-size: 24px; padding: 10px 30px; }