Change button hover colours and delete border

Change button hover colours and delete border

sirensiren
Excursionist
41 0 8

Hi! I am having trouble with the button design:

 

I want all my buttons to be this colour: #BB7C49, and the text to be this: #FFFCF3

and on hover I want the opposite, thus, the buttons to be this colour: #FFFCF3 and the text to be this: #BB7C49

 

What do I need to add to the code to resolve this? I am using the Dawn theme. Thanks for any help!

Replies 5 (5)

KetanKumar
Shopify Partner
37094 3645 12053

@sirensiren 

Sorry you are facing this issue, it would be my pleasure to help you.

Welcome to the Shopify community!😊
Thanks for your good question.

Please share your site URL,
I will check out the issue and provide you a solution here.

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing

PageFly-Victor
Shopify Partner
7865 1785 3099

Hi @Sirensiren

This is PageFly - Advanced Page Builder. I would love to give you some recommendations

-Go to Online Store->Theme->Edit code

-Asset-> base.css  paste the below code at the bottom of the file.

.button{

background:#BB7C49 !important;

    color:#FFFCF3 !important

 

    }

 

.button:hover{

background:#FFFCF3 !important;

    color: #BB7C49 !important

 

}

Best Regards;

PageFly

 

sirensiren
Excursionist
41 0 8

Hi! Thank you so much for your help! It kinda solved the problem, but a weird border appeared on both buttons of my homepage, the one on hover and the other not. I am attaching a video. Any idea why this is happening?

PageFly-Victor
Shopify Partner
7865 1785 3099

you can add more

.button:before,.button:after{display:none !important}

frey2
New Member
9 0 0

Hello! Is there a way to keep the border but set to a custom colour?