How to change "Add To Cart" button color on District 4.1.1 is the latest version

hello

trying to change the color of the add to cart button but can not seem to find the code or any steps on how to do it, can someone please help me

best

Hi @tryinghardhelp ,

This is Victor from PageFly - Landing page builder, I’d like to suggest this idea:
Step 1: Go to Online Store->Theme->Edit code
Step 2: Asset->/base.css->paste below code at the bottom of the file:

.button--secondary {
   background: black;
}

Note: You can change the color value to match your store

Hope my answer will help you.

Best regards,

Victor | PageFly

its not working, i cant find the button code in the base.css

@tryinghardhelp

Can you please share your store URL so that we can help you

Thank you.

Hello @tryinghardhelp ,

It’s GemPages support team and glad to support you today.

I would like to give you a recommendation to support you so kindly follow steps below:

  1. Go to Online Store > Theme > Edit code of your current theme

  1. Open your theme.liquid theme file

  2. Paste the below code before


Let us know how it works for you.

Best regards,
GemPages Support Team