Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #884400
    caitlinh
    Participant

    I want one type of custom button for my Promo boxes that is just purple with white font and NO hover effect when you mouse over it. I just want it to stay plain.

    In Customizer I have:

    .x-promo .x-btn {
    box-shadow: none;
    background: #472D79;
    color #472D79;
    }

    How do I take the hover color change out?

    #885238
    Friech
    Moderator

    Hi There,

    You can simple add the hover state of x-promo button on your custom CSS selector.

    .x-promo .x-btn,
    .x-promo .x-btn:hover {
    box-shadow: none;
    background: #472D79;
    color #472D79;
    }

    Hope it helps, Cheers!

    #886219
    caitlinh
    Participant

    I should reword – I want to REMOVE any hover effect so that when you mouse over and click the button nothing changes. Access info in private reply below.

    #886223
    caitlinh
    Participant
    This reply has been marked as private.
    #886779
    Christopher
    Moderator

    Hi there,

    Please add this as well:

    .x-btn {
     
        padding: 0.563em 1.125em 0.813em !important;
    }
    
    .x-btn, .x-btn:hover, .button, .button:hover, [type="submit"], [type="submit"]:hover{
       border-width: 0px !important;
        text-shadow: none;
        color: #fff;
    }
    

    Hope it helps.

  • <script> jQuery(function($){ $("#no-reply-884400 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>