search button is not correct - bootstrap 4 / datatables

search button is not correct - bootstrap 4 / datatables

bartballonbartballon Posts: 2Questions: 1Answers: 0

Hi everyone, I am currently looking for a way to sort tables and came across this plugin. When I ran this plugin on my table I noticed that the styling was completely out of place. When I was searching on the website of datatabels I came across an example but in this example the search bar is also wrong, I have tried several things such as adjusting items in the css but nothing seems to wake up. Is there any way I can get the search bar in the right place like in the example?

Examples ->
https://datatables.net/extensions/responsive/examples/styling/bootstrap4.html

Result ->

My Code ->
https://pastebin.com/chsWkXUz

If anyone knows how to fix this you would be a hero! Thank you in advance for taking the time to read my post!
Regards
Bartballoon

Answers

  • bartballonbartballon Posts: 2Questions: 1Answers: 0

    Forgot to link my test case https://jsbin.com/fukeyazexe/1/edit?html,css,js

    Please ignore the PHP code =D, I couldn't do much with my test case because there is a lot of PHP code in between, I apologize for that. And also because I use the links from the example on the website

  • tangerinetangerine Posts: 3,365Questions: 39Answers: 395

    Use the code used by the example. See the "Javascript" and "CSS" tabs.

This discussion has been closed.