Hello,
How can I change all the buttons colors on my homepage? I’d like for the font to be black and the background white, with a black border. I’ve tried many codes and nothing is working. I don’t want this to infer with add to cart button as well. May you please help?
Thank you
www.chicandvintage.store
@chicandvintage
Please add the following code at the bottom of your assets/theme.css file.
.template-index a.btn {
background-color: #fff;
color: #000;
border: 1px solid #000;
}
This should work for home page buttons only.
Thanks!
1 Like
Hello
Follow below Step and add Css
Step 1: Go to your shopify store admin
Step 2: Click on online store
Step 3: Click on Actions and edit code
Step 4: Find theme.css file
Step 5: https://prnt.sc/xyr7i4 add CSS on bottom of file
#shopify-section-1612163569b20d1fd1 .hero__btn {
background: #fff;
color: #000;
border: 1px solid #000;
}
Step 6: https://prnt.sc/xyr7i4 add CSS on bottom of file
#shopify-section-collection .btn{
background: #fff;
color: #000;
border: 1px solid #000;
}
Step 7: Click on Save.
Thank you so much for your help!
2 Likes