• Resolved billbennett

    (@billbennett)


    I’d like the table description text to line up under the table.

    At present it is full out on the page. See this page

    https://billbennett.co.nz/gartner-pc-shipments-flat-in-third-quarter-of-2021/

    I don’t seem to be able to enter custom CSS code for .tablepress-table-description to override the existing code.

    What am I doing wrong?

    On the page I’ve asked for help with, I’ve cheated by running the caption directly under the table using H6. That’s not ideal, but it lines up perfectly.

    The page I need help with: [log in to see the link]

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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    To fix all this, please try this “Custom CSS”:

    .tablepress-table-description {
        max-width: 900px;
        box-sizing: border-box;
        margin: -1em auto 0;
        display: block !important;
    }

    Regards,
    Tobias

    Thread Starter billbennett

    (@billbennett)

    Thanks for this, I forgot about using !important to override.

    At first it didn’t work, so I checked the plug-ins and found this plug-in was stopping the extra CSS from loading:

    WP Remove Query Strings From Static Resources

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! ?? Good to hear that this helped!
    Yes, that plugin that you mention likely prevents cache clearing, and I don’t think it’s necessary on modern sites.

    Best wishes,
    Tobias
    ?
    P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Description doesn’t line up below table’ is closed to new replies.