How can I create rounded buttons on the Story theme?

Hello, I would like to make all buttons rounded on my Shopify store. I’m using the Story theme version α. Does anyone know how to do this? Thank you!

Hey @nikosfo , trust you’re good

There is way you can get it done, but, uhm, let us have your store link, so as we can be able to check it out for you

Hi @nikosfo ,

Go to Assets > theme.css and paste this at the bottom of the file:

.btn {
    border-radius: 30px !important;
}

you can change the number of px to change the rounded button.

Hi @nikosfo ,

This is Victor from PageFly - Shopify Page Builder App, I’d like to suggest this idea:

Go to Online Store->Theme->Edit code->theme.liquid->paste bellow code in tag


Please refer to this screenshot:

Hope you find my answer helpful!

Best regards,

Victor | PageFly

Hello @nikosfo

You can follow these steps:

  1. Go to Online Store->Theme->Edit code

  1. Open your theme.liquid file, paste the below code before


I hope the above is useful to you.

Kind & Best regards,
GemPages Support Team

It doesn’t work…my store is this https://postur.co.za/ if it helps

None of these work… That’s the code in theme.css, if it helps

/================ Buttons and Input Groups ================/
.btn, .btn–secondary {
font-family: var(–font-btn); font-weight: var(–fontw-btn); font-style: var(–fonts-btn);
padding: 12px 20px;
}
.input-group .btn, .input-group .btn–secondary, .input-group .input-group-field {
height: 45px;
}

Hi @nikosfo ,

Are you wanting this?

You just need to add border-radius, it will work fine. Refer code:

/*================ Buttons and Input Groups ================*/
.btn, .btn--secondary {
font-family: var(--font-btn); font-weight: var(--fontw-btn); font-style: var(--fonts-btn);
padding: 12px 20px;
border-radius: 50% !important;
}
.input-group .btn, .input-group .btn--secondary, .input-group .input-group-field {
height: 45px;
border-radius: 50% !important;
}

Hope it helps!

Hello @nikosfo

You can follow these steps:

  1. Go to Online Store->Theme->Edit code

  1. Open your theme.liquid file, paste the below code before


I hope the above is useful to you.

Kind & Best regards,
GemPages Support Team