Tagged: colour css button
- This topic has 1 reply, 2 voices, and was last updated 1 year, 11 months ago by Sakin.
Viewing 2 posts - 1 through 2 (of 2 total)
-
AuthorPosts
-
January 12, 2023 at 11:43 am #314370mikestarkParticipant
Hello, my site has the standard black buttons in the shop (Add to cart etc.) which are black with white text. Hovering over them turns the buttons red.
Please can someone help me to change the hover colour of the buttons (i.e. the red)? I imagine there’ll be some pretty simple CSS to add to the site…
Thanks in advance.
Mike
January 12, 2023 at 12:46 pm #314380SakinKeymasterHi Mike,
You can change the color code in the following CSS and then add it in the “Appearance => Customize => Additional CSS” box:
.wp-block-file .wp-block-file__button:hover, .wp-block-file .wp-block-file__button:focus, .wp-block-button .wp-block-button__link:hover, .wp-block-button .wp-block-button__link:focus { background-color: #ef3636; }
-
AuthorPosts
Viewing 2 posts - 1 through 2 (of 2 total)
- The topic ‘WooCommerce button colours’ is closed to new replies.