Home › Forums › Porto Admin Template › Problem Integrating Admin DataTables into Standard HTML Porto Theme
This topic contains 3 replies, has 2 voices, and was last updated by Support2 8 months, 1 week ago. This post has been viewed 310 times
I have both the Porta and the Porto Admin, latest versions… and when I integrate DataTables into the standard site, the search box and borders do not appear correctly.
I’ve looked through the code multiple times to see if there are any styles overriding, or something missing, but I can’t figure it out.
Hello, thanks for your purchase.
You can fix that with just a few adjustments:
1) In your table, where into your code is:
<section class="card card-admin">
2) And where is:
<table class="table table-responsive-lg table-bordered table-striped table-sm mb-0" id="datatable-tabletools">
You can change to:
<table class="table table-bordered table-striped mb-0" id="datatable-tabletools">
Please, try this and let us know if you need further assistance.
Thanks, this definitely helped, but I still have the issues in my 2nd ticket.
So just following up, as I still need help.
Your solution works for the ‘Simple Block Title’ cards on this page:
(I added ‘card-admin’ and they all looked perfect)
But it does not work for the ‘Default’, ‘Icon Colors’, ‘Box Colors’, etc. on that page, which are the ones I am trying to integrate into the front end theme.
Please see this page, and you can see the admin widgets are un-styled, even with the ‘card-admin’ class.
Regarding the second ticket we already answered on the other topic, please check there.