• Resolved ashkanahmadi

    (@ashkanahmadi)


    Hi

    I would like to change the look of the search box on the top right corner of the table but I don’t know much CSS. Can you please let me know how to change the color of the borders?

    Thanks

Viewing 1 replies (of 1 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    For this, you can use CSS code like

    .dataTables_wrapper .dataTables_filter input {
        border: 2px solid #ff0000;
    }
    

    To find out more about this and the possibilities, I recommend checking out the developer tools in your browser (I prefer those in Chrome), as you can then try all this live and also find out the necessary CSS selectors.

    Regards,
    Tobias

Viewing 1 replies (of 1 total)
  • The topic ‘How to add CSS to the search box?’ is closed to new replies.