Shopify themes, liquid, logos, and UX
Hi!
I am looking to change this specific "SHOP ALL" button color on my homepage to #9CFF00 and add a 1pt black outline. I know it is a primary button but I do not want to change all of them just this specific one. Can't seem to figure it out.
Solved! Go to the solution
This is an accepted solution.
Hello @tourbrandus
You can try this code: it will be helpful to you
Go to the Online Store->Theme->Edit code->Assets->base.css>Add this code at the bottom.
a.button.button--primary {
background: #9cff00 !important;
border: 1px solid black !important;
}
This is an accepted solution.
Hi @tourbrandus ,
Thank you for the information.
Try this code.
section#shopify-section-template--18969633227073__image_banner a.button.button--primary {
border: 1px solid black;
background-color: #9CFF00;
}
Result:
NOTE:
You can change anytime the sizes and the color.
I hope it help.
Hi @tourbrandus ,
If you know a little bit coding you can call specific selector on the page.
And If not would you mind sharing your website with password?
Thanks!
This is an accepted solution.
Hi @tourbrandus ,
Thank you for the information.
Try this code.
section#shopify-section-template--18969633227073__image_banner a.button.button--primary {
border: 1px solid black;
background-color: #9CFF00;
}
Result:
NOTE:
You can change anytime the sizes and the color.
I hope it help.
This worked thank you.
Now when I hover over the button with my cursor the outline is white. Is there any way to alter that?
Yes, we can try this code.
a.button.button--primary:hover {
border: 1px solid black;
}
Same instructions, Thanks!
In your customizer, on the homepage, click on this specific section, and scroll down to where it says Add Custom CSS. Type this in:
.button{
background: #9cff00;
border: 1px solid #000000;
}
Does this work?
Hi @tourbrandus
I hope you are doing good and welcome to the Shopify Community!
I am San from MS Web Designer.
Please add this css in your bottom of the base.css file:
.banner__content .banner__buttons .button {color: #9CFF00 !important;border: 1px solid #000 !important;}
Regards,
San
If it’s helpful to you, please mark it as a solution.
Need Help with Shopify Design, Migration, Speed, or Custom tasks?
email: hi@mswebdesigner.com
Try Our Conversion Booster app to get more sales | Connect Our Founder Linkedin
Hello @tourbrandus ,
1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset > base.css and paste this at the bottom of the file:
.banner__buttons .button.button--primary {
background-color: #9CFF00;
border: 1px solid black;
}
This is an accepted solution.
Hello @tourbrandus
You can try this code: it will be helpful to you
Go to the Online Store->Theme->Edit code->Assets->base.css>Add this code at the bottom.
a.button.button--primary {
background: #9cff00 !important;
border: 1px solid black !important;
}
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024