Hello there, thank you for reaching out to us.
When we inspect the table on your site, we see the font size is 17px. The plugin inherits the font size added in the back-end with this:
.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable {
font-size: inherit;
We haven’t been able to replicate the issue locally, and since the font size is not defaulting to 13px, but is instead 17px on your site – is this issue ongoing?
Also, which version of the plugin are you using?
Kind regards
Hey,
Issue is still going on. I am currently using Version 2.1.38.
Hi, Chhaya
If we understood correctly, on the back-end, the table is correctly changing the font to 12px – but just on the front-end, something is overriding the plugin’s font setting?
wpDataTables is a WYSIWYG (What You See Is What You Get) concept-based plugin.
This means that the table should look the same both in the back-end and in the front-end.
When your front-end table looks and behaves differently than in the back-end, this usually implies that there is another plugin (or the current theme) that’s changing the behavior of our plugin.
Can you please change the theme and see if the issue is resolved?
If not, then please deactivate all other plugins except for our plugin, refresh the page where the issue is, and see if it is resolved (it should be).
If it is, then start activating other plugins one by one, and after each activation refresh the page to see if the issue occurred.
Once it does reoccur, you will have found the plugin causing the issue.
Please let us know how it goes, and if you isolated the issue by following these steps?
Thank you
Hi,
I have done all settings such as deactivating all plugins, and changing the theme but still facing the same issue.
While my old articles show 12px fonts but in newly generated articles it’s not changing.
Hello,
Can you please try to add this custom CSS ,
in main plugin settings/Custom JS and CSS/Custom wpDataTables JS:
.wpdt-c.wpDataTableContainerSimpleTable .wpdtSimpleTable.wpDataTable {
font-size: inherit;
font-size: 12px !important;
}
It seems that something is overriding the setting of the font.
Let us know if this helped.
Thank you
Hi,
Thanks for replying. My issue has been resolved now. But I wonder what was the actual issue?
Also, are you going to cover this issue in next plugin update so nobody need to manually insert code?
Hi, Chhaya
After further inspection, we realised something.
This issue you are experiencing is most probably a bug that was fixed in Lite version 2.1.40.
It was causing custom CSS selected for cells not to be saved correctly.
–
Can you please remove this custom CSS that I have sent you,
and then update your plugin to the latest version?
Then make sure to purge all cache on your site, and let us know if the issue is fixed?
Thank you