Change button color

hi, I am using the dawn theme. I want to change all button’s colors on the homepage please help me

https://4b1e5b-36.myshopify.com/?_ab=0&_fd=0&_sc=1

password: “niecum”

HI @mehwish-ali

Check this one.

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:

.button {
    background: red;
}
.button[aria-disabled='true'] {
    opacity: 1;
}

And Save.

Result:

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

Hi @mehwish-ali

This is Henry from PageFly - Landing Page Builder App

You can try this code by following these steps:

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

Step 2: Search file base.css

Step 3: Paste the below code at bottom of the file → Save

.button {

background: #34ca90 !important;

}

Hope that my solution works for you.

Best regards,

Henry | PageFly

Hi @mehwish-ali ,

You can follow these solutions:

Solution 1:

  • Go to Online store → Themes → Edit Code

  • Find file base.css

  • Paste this line of code → click Save to get the result

.button {
    background: blue!important;
}

Solution 2:

  • Go to Online store → Themes → Customize

  • Chose Theme settings → Colors → Scheme 1

  • Change button color at Solid Button Background → click Save to get the result

Hope that my solution works for you.