• I can create table, adding custom css and changes are reflected in preview and pages(where I inserted table) at WordPress site. But the table layout and styling are invisible at my site. Table data is available, though. May I know the cause of it? Am I missing any steps to get the table to my site.

    Thanks

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hi,

    thanks for your question, and sorry for the trouble.

    This sounds as if the relevant CSS files are not loaded. Please check if your theme contains a call to wp_head(); in its “header.php”.

    If that doesn’t help, can you please post a link to the page with the table where this problem happens, so that I can take a direct look? Thanks!

    Regards,
    Tobias

    Thread Starter mansigupta

    (@mansigupta)

    Hello Tobias,

    Thank you for your quick response!

    I did see a call to wp_head() in my theme’s header.php, as you said. I tried commenting it out, but didn’t work.

    Sorry that I won’t be able to provide a link to my page, as it is not accessible outside company network. And I know its difficult to help without the ability to access it. But is there anything I could do to make it work?

    Hi,

    no, don’t comment it out, it’s important! ??

    Unfortunately, it will be tough to debug this without being able to inspect the page.
    You could maybe try this: Using “View Source” in the browser, are the TablePress CSS files included (as HTML <link> tags)?

    Regards,
    Tobias

    Thread Starter mansigupta

    (@mansigupta)

    Hello Tobias,

    Thank you for your guidance.

    I didn’t see any TablePress CSS files includes as HTML <link> tags in my page source. Could you please provide me an example?

    Thanks,
    Mansi

    Hi,

    it will looks similar to

    <link rel='stylesheet' id='tablepress-default-css'  href='.../wp-content/tablepress-combined.min.css? ver=57'type='text/css' media='all' />

    Regards,
    Tobias

    Thread Starter mansigupta

    (@mansigupta)

    I am not able to see any such tags in my page source. Any idea why tablepress css files are not included in the pages?

    Really appreciate all your help.

    Thanks,
    Mansi

    Thread Starter mansigupta

    (@mansigupta)

    Also not sure if I am missing any configuration. Below are the steps I followed:
    1. Created table.
    2. Added Custom CSS under Plugin Options Custom CSS field, saved.
    Sample Custom CSS:-
    .tablepress-id-1 th,
    td {
    padding-top: 3px;
    padding-bottom: 3px;
    padding-left: 5px;
    padding-right: 5px;
    }

    .tablepress-id-1 thead th,
    .tablepress tfoot th {
    background-color: #003f8f;
    color: white;
    border: 1px solid #003f8f;
    }

    .tablepress-id-1 tbody td {
    border: 1px solid #003f8f;
    }
    3. Table is inserted into one of the pages

    Hi,

    the CSS contains a few minor errors, but that’s not the cause for this. You will have to find out why your theme is not loading the CSS files.
    As a test, can you maybe temporarily switch to a WordPress default theme like Twenty Sixteen?

    Regards,
    Tobias

    Thread Starter mansigupta

    (@mansigupta)

    I am already using Twenty Sixteen.

    Thanks,
    Mansi

    Hi,

    then there’s another plugin blocking the loading of the CSS files.

    Regards,
    Tobias

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Tablepress table's layout is not available’ is closed to new replies.