• Resolved jthill

    (@jthill)


    I enjoy working with TablePress but have been unable to change the background color of the Search Bar. The default color is white and, therefore, is not visible against a white webpage. To fit my color scheme, I prefer more of a beige color (#f5ece1) for the Search Bar. How do I accomplish this? The following Custom CSS does not work:

    .dataTables_wrapper select,
    .dataTables_wrapper input {
      color: #000000;
    }

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

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

    (@tobiasbg)

    Hi!

    Thanks for your post and sorry for the trouble!

    The CSS code in your example would only set the text color of the search field to black. To set the background color, please try using e.g.

    background-color: #f5ece1;

    If that still doesn’t work, please post a link to the page with the table where this problem happens, so that I can take a direct look. Thanks!

    Regards,
    Tobias

    Thread Starter jthill

    (@jthill)

    Perfect! Keep up the good work!

    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 in the plugin directory. Thanks!

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

The topic ‘Tablepress Search Background Color’ is closed to new replies.