Hover over button

Home › Forums › OceanPlaza WP+WOO › Hover over button

All Wordpress Themes

Viewing 15 posts - 1 through 15 (of 19 total)
  • Author
    Posts
  • #5064

    sambruni
    Participant

    Please go to this link. http://www.roastpub.com/product/la-bella/

    When you hover over the “add to cart” button it fades to the color of the rest of the page. How do I change the color of the button on hover or change the text color on hover? I have this problem with all my cart buttons.

    #5065

    Support Team 1
    Keymaster

    Sam
    You can do it here – “WooCommerce > Settings > Generl” http://prntscr.com/441ryr

    #5107

    sambruni
    Participant

    Sorry, but that did not fix the problem. Do you know of other areas that might fix this issue? If you go to the link and hover over the “add to cart” button you will see that you can’t read it. I changed all the colors in the location you recommended and it did not fix the issue.

    -Sam

    #5111

    Support Team 4
    Keymaster

    Sam, you can use css:

    .single_add_to_cart_button:hover { background-color: #000000 !important; color: #992244 !important; }

    color: #992244 this is color for text on button.

    #5124

    sambruni
    Participant

    Is there not a place in the admin to do this? It has to be in the css style sheet?

    #5126

    Support Team 1
    Keymaster

    Hello, sambruni! To do this you should go to menu Appearance-> Editor, find file style.css and add this code http://prntscr.com/44lg9k.

    #5128

    sambruni
    Participant

    What about the rest of the cart? How do I change these button colors? http://www.roastpub.com/cart/

    #5130

    Support Team 1
    Keymaster

    For this button use this code

     .woocommerce a.button:hover { background-color: #000000 !important; color: #992244 !important; }
    #5167

    sambruni
    Participant

    It doesn’t appear to be working. This is what I’ve added to my style css. Does it look right?

    @media screen and (min-width:1024px) {
    .mycarousel-woo > li {
    width: 22%!important;
    }
    }
    .single_add_to_cart_button:hover {
    background-color: #000000 !important;
    color: #992244 !important;
    }
    .woocommerce a.button:hover {
    background-color: #000000 !important;
    color: #992244 !important;
    }

    #5169

    Support Team 1
    Keymaster

    What does not work? Buttons didn’t change or you have problems with woo section?

    #5177

    Support Team 1
    Keymaster

    To change hover background for all Woo buttons you can add this code to style.css

    .woocommerce a.button:hover, .woocommerce button.button:hover, .woocommerce input.button:hover, .woocommerce #respond input#submit:hover, .woocommerce #content input.button:hover, .woocommerce-page a.button:hover, .woocommerce-page button.button:hover, .woocommerce-page input.button:hover, .woocommerce-page #respond input#submit:hover, .woocommerce-page #content input.button:hover { background: none repeat scroll 0% 0% #845653 !important; }

    You need only select color you like.

    #5222

    sambruni
    Participant

    Okay that fixed most my problems. I have one more area, it is once you are logged in and go back to the my account section. I used the blank 1 menu for this section and it takes you back to the home page. When I click on it using firefox inspect element the buttons I’m trying to fix are
    Switch Subscription
    Change Payment Method
    Change Address
    Suspend
    Cancel

    Can I manage these colors for the buttons in the admin or is it done is the styles css as well?

    I attached a screen shot as well.

    #5225

    Support Team 1
    Keymaster

    Hello, Sam
    I want to clarify – you want to change the font and color these buttons > http://prntscr.com/453vfy ?

    #5230

    sambruni
    Participant

    Yes and the two buttons below it.

    #5234

    Support Team 4
    Keymaster

    Sam, check this css, please:

    .woocommerce .button { background-color: #123456 !important; }

    If this can’t help, then I need see this page on live.

Viewing 15 posts - 1 through 15 (of 19 total)

The topic ‘Hover over button’ is closed to new replies.