Tagged: x
-
AuthorPosts
-
May 11, 2016 at 9:42 pm #987048
James HParticipantHello
I am setting up a store on an existing site where the global button colours do not work on the woocommerce shop and product pages. I have searched the forum but can only find CSS for changing the buttons that does not include hover color changes. Could you provide me with the CSS required to change the button color including the hover color changes. I have used:
product .x-btn, .product .button, .product [type=”submit”] {
color: #fff;
border-color: gray;
background-color: gray;
box-shadow: 0 0.25em 0 0 #5C5C5C,0 4px 9px rgba(0,0,0,0.75);
}but I get a static button that does not change upon hover to give a cue that you can select the button.
Jim
May 11, 2016 at 9:46 pm #987055
James HParticipantOne more thing, I need the CSS for Cart page and the Checkout Page. Essentially, I want to change all of the button colors in Woocommerce.
Thanks
Jim
May 11, 2016 at 10:13 pm #987078
Prasant RaiModeratorHello Jim,
Thanks for writing in!
You can add this under Custom > CSS in the Customizer:
.shop .x-btn, .button, [type="submit"] { color: #000 !important; background-color: #ddd !important; border-color: #ddd !important; box-shadow: 0 0.25em 0 0 rgba(167, 16, 2, 0.58),0 4px 9px rgba(0,0,0,0.75); }Let us know how it goes.
Thanks.
May 12, 2016 at 5:50 am #987595
James HParticipantThank you for the prompt response – this is a significant improvement. It has changed all of the buttons but they do not respond to hover. If possible, I want them to change to different border, text and background colors on hover to indicate that they are active, available and working.
Jim
May 12, 2016 at 9:18 am #987820
Paul RModeratorHi Jim,
You can add this under Custom > Edit Global CSS in the Customizer.
.shop .x-btn:hover, .button:hover, [type="submit"]:hover { color: #000 !important; background-color: #ddd !important; border-color: #ddd !important; box-shadow: 0 0.25em 0 0 rgba(167, 16, 2, 0.58),0 4px 9px rgba(0,0,0,0.75); }Please change the colors.
Thanks
May 12, 2016 at 1:47 pm #988289
James HParticipantThanks. That was precisely what I was looking for. Great support.
Jim
May 12, 2016 at 6:43 pm #988689
JadeModeratorYou’re most welcome Jim.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-987048 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
