How to Change the Color of the button in the image with the text in the down theme

How to Change the Color of the button in the image with the text block in the down theme?

I need white background and 024873 border color.

@Svitlana
Add below css into base.css file (Online store->themes->Edit code->Assets->base.css)

a.button.button--primary {
    background-color: white !important;
    border-color: #024873 !important;
    
}

Hi [email removed]Svitlana,

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

.image-with-text .button.button--primary{
        background:white !important;
        border:solid #024873 1px !important
    }

Hope my solution works perfectly for you!

Best regards,

Victor | PageFly

thank you very much!

can you also help to change the color of the options buttons at the product page? from black to 024873 background too

@Svitlana Can you share store url of the page in which you want to change the color ?

https://mazuninajewelry.com/products/%D1%81%D0%B5%D1%80%D0%B5%D0%B6%D0%BA%D0%B8-%D0%BF%D1%83%D1%81%D0%B5%D1%82%D0%B8-%D0%B3%D1%80%D0%B0%D1%86%D1%96%D1%8F-1

@Svitlana
Put below css for the same

.product-form__input input[type=radio]:checked+label {
    background-color: #024873 !important;
}

Hi @Svitlana ,

you can use my code

#MainContent .product-form__input input[type=radio]:checked+label{
background:#024873 !important
}

thank you very much!
both works!

1 Like

Great! I’m glad to hear that. You’re most welcome!