Okay
  Public Ticket #917740
Clear Filter button - change color
Closed

Comments

  •  2
    TERRY started the conversation

    How can I change the color of the "clear filters" button?  

    It was generated by Visual Composer but I don't seem to be able to customize the button color with it.  Strange, because VC can customize the Athena Theme's default green/turquoise button colors on the other pages. 

    Adding the following css code to the wpDataTable settings' custom CSS field, with now effect...

    .button btn wdtClearFilters {     
    color: #fff;
        background: #C8C8C8;
        background: rgba( 200, 200, 200, 0.9 ) !important;
    }

  • [deleted] replied

    Hi Terry,

    You need to have a dot in front of every CSS class. Please try this code:

    button.button.btn.wdtClearFilters {
        color: #fff;
        background: #C8C8C8;
        background: rgba( 200, 200, 200, 0.9 ) !important;
    }

    You also have two background rules. 

  •  2
    TERRY replied

    Hallelujah!!!  It worked!  :D

    Thanks so much Miljo!  I've been very frustrated.  

    I consider this solved and "closed"

  • [deleted] replied

    Hi Terry,

    If you like our plugin and support please rate our plugin at CodeCanyon on this link. It means a lot to us. Thanks.