Okay
  Public Ticket #2830516
Button text color
Closed

Comments

  •  7
    Mike Marshfield started the conversation

    Hi, I have a button on my page and the button text color changes to the main accent color on hover which makes the text disappear. How can i make the text mouseover color remain white on the button. I have had to add an extra color slightly lighter to the button to make the text show up.

    Thanks, Mike

  •  2,961
    Andrew replied

    Hi Mike,

    Thanks for writing in.

    Try the following CSS.

    a.nectar-button.jumbo.regular.has-icon.wpb_animate_when_almost_visible.wpb_shake.shake.regular-button.StayWhite.animated.wpb_start_animation:hover {
        color: white !important;
    }
    

    Regards,

  •  7
    Mike Marshfield replied

    Lovely! Worked a treat, thanks