CSS Persistent change

Hi,

So I am new to discourse my question is how can I edit css so that say all my buttons have rounded corners but have that applied across updates to which ever theme I am using ?

I went to edit css and it says that it will revert if any updates are applied to the theme.

To that end I would also like to change the colours of buttons

2 Likes

Create a new theme component in your admin, add this theme component to your current theme(s) and edit your theme component CSS.

.btn {
    border-radius: 5px;
}

If you want to change the buttons colors, you can either change your theme color scheme or target the button you want to change with CSS.
Example:

.btn-primary {
    background: red;
}
4 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.