If you need different font or Google fonts you have to use wp_enqueue_style to insert them on WordPress. On this link you can find how.(find Properly Enqueuing Google Fonts in WordPress).
Then you have to use CSS rule for table rows and add font-family. You can add this code in Custom wpDataTables CSS under the "Custom JS AND CSS" in main settings of wpDataTables or on page between style tag.
Is there a way to force WPDataTables to utilize a font that isn't available to be selected in "Settings>Fonts?"
The rest of my site uses the font I selected in my theme, but WPDataTables does not, and it disrupts the aesthetics of the site.
You can see where the table data displays using a different font on the included page.
Thanks
Hello Omar
If you need different font or Google fonts you have to use wp_enqueue_style to insert them on WordPress. On this link you can find how.(find Properly Enqueuing Google Fonts in WordPress).
Then you have to use CSS rule for table rows and add font-family. You can add this code in Custom wpDataTables CSS under the "Custom JS AND CSS" in main settings of wpDataTables or on page between style tag.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables