Shopify themes, liquid, logos, and UX
Looking to add the hover effect to all of my buttons to change the background color to #d2a96a and the text color to #fff4eb. I had success changing the product "Add to Cart" button color with this code:
button.product-form__submit.button.button--full-width.button--secondary:hover {background:#d2a96a !important;}
but I have had no success adapting the code to also change text color as well as changing any of my other buttons (namely the buttons on the home page and the contact us page). Is there a single line of code I could use to add this effect to all buttons? I'm working in the Dawn theme.
URL: https://6af6dc-42.myshopify.com/
Password: neimpu
Thanks in advance!
Solved! Go to the solution
This is an accepted solution.
@GLL2024, try this one
button:hover, .button:hover {background:#d2a96a!important;}
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
This is an accepted solution.
@GLL2024, try this one
button:hover, .button:hover {background:#d2a96a!important;}
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now
This worked perfectly, and I was able to change the text color as well by replacing "background" with "color". Thank you!
We recently spoke with Zopi developers @Zopi about how dropshipping businesses can enha...
By JasonH Oct 23, 2024A big shout out to all of the merchants who participated in our AMA with 2H Media: Holi...
By Jacqui Oct 21, 2024We want to take a moment to celebrate the incredible ways you all engage with the Shopi...
By JasonH Oct 15, 2024