Resize rich text buttons

Resize rich text buttons

MinnieLittyy
Excursionist
28 3 7

Hello, 

 

How can I change the size of these buttons? I am on dawn theme and this is my store: https://sleekspacesliving.com/ 

 

Desktop Screenshot 2023.09.01 - 12.08.30.83.png

 

 

I want my buttons to look like this on my home page with: 

 

Desktop Screenshot 2023.09.01 - 12.06.40.30.png

 

Thank you! 

Replies 2 (2)

Made4uo-Ribe
Shopify Partner
8172 1966 2403

Hi @MinnieLittyy 

Try this one. Im not sure if this enough. 

  • From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  • Find the theme that you want to edit and click on "Actions" and then "Edit code".
  • In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

a.button.button--secondary {
    padding: 0 10px 0 10px;
    min-width: 60px;
}
.rich-text__buttons.rich-text__buttons--multiple.scroll-trigger.animate--slide-in a {
    min-height: 35px;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1693590621246.png

     

I hope it help. 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
MinnieLittyy
Excursionist
28 3 7

It did not work when pasted under base.css. So, I had to post it in the theme settings in theme editor. That worked. It's perfect but, is it okay to put it under theme settings?