• Resolved sephan

    (@sephan)


    Hi, Tobias
    I use Tablepress with the ColumnFilterWidgets extension.
    I got a problem/question I would like to solve.
    The first one is the color of the filters I’ve activated. I would like to change the appearance of the filters that are activated. For example when I filter by “Bogen” under “Art”, how do I change the color of the activated filters? And is it possible to maybe deposit the active filters with colored Boxes?

    Best regards, Stephan.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    It seems that you already found the CSS code to change the color, right?
    To show them as a box, you could add e.g.

    border: 1px solid #EFF8FB;
    

    Regards,
    Tobias

    Thread Starter sephan

    (@sephan)

    Thanks for your fast reply!
    Yes, I already found the solution for the color.
    But thx for the help with the border it works great!
    Is it possible to display a little “X” or something similar inside the box, to visualize that the user can click to remove the tag?

    I really enjoy your plugin and your work is great and helpful!

    Best Regards,
    Stephan.

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    you could try something like this:

    .column-filter-widgets .filter-term:after {
        content: "x";
        float: right;
        margin-right: 5px;
    }

    Regards,
    Tobias

    Thread Starter sephan

    (@sephan)

    Worked great!

    Plugin Author Tobias Bäthge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! 🙂 Good to hear that this helped!

    Best wishes,
    Tobias

    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘DataTables ColumnFilterWidgets’ is closed to new replies.