Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    There’s nothing really that I can do here, unfortunately. The CSS file that TablePress uses is already embedded in the <head> of the page, which is before the HTML code for the table.
    In your case, the issue is more which CSS classes you are using in the “Custom CSS”: Everything that starts with .dataTables... is only applied after the JavaScript is executed, and that takes some time. For the font changes, the fix is pretty easy: Simply apply the font CSS to something like .tablepress th. That’s available immediately and thus it’s applied faster.

    Regards,
    Tobias

    Thread Starter TamerDesigns

    (@dribgib)

    No sweat my friend – appreciate your prompt replies – I’m impressed

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! ?? Always glad when I can help!

    Now, it looks like you manually modified the default.min.css file, right? I really need to discourage you from doing that! You will lose those modifications after a plugin update of TablePress (due to how the plugin update mechanism in WordPress works)! Please move those CSS changes to the “Custom CSS” textarea.

    Regards,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Load CSS before Table’ is closed to new replies.