• Resolved darkeyes

    (@darkeyes)


    Hello,

    I have been adjusting the width of some of the columns using this CSS,

    .tablepress-id-7 .column-5 {
    width: 70px;
    }

    .tablepress-id-7 .column-4 {
    width: 70px;
    }

    .tablepress-id-7 .column-3 {
    width: 70px;
    }
    In the TablePress preview it looks correct, but when I preview the Post, and look at it on the website, the column widths have defaulted back to the same width. Unfortunately, I can’t post a link to the webpage, as it is behind a firewall. We are using the Hueman theme.

    Any suggestions, as to what might be causing this ?

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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Unfortunately, it’s very hard to find a cause for this without being able to inspect the page. Can you at least post a screenshot?

    Regards,
    Tobias

    Thread Starter darkeyes

    (@darkeyes)

    Hello Tobias,

    I don’t seem to be able to upload screenshots directly to the forum, but have posted them here

    I’m guessing that it might be caused by the formatting of the post, in which case, would using a % be a better option, and would I be best to specify each column width as a % ?

    • This reply was modified 6 years, 1 month ago by darkeyes.
    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for the screenshot. From what I can see, the reason for this simply is that your site’s/theme’s content area is simply much smaller than the full screen space that is available in the preview.

    You would either have to increase that or reduce the font size using CSS code if you want more content to fit into single lines. Just playing around with column widths will not help here.

    Regards,
    Tobias

    Thread Starter darkeyes

    (@darkeyes)

    Hello Tobias,

    Thank you for your response. I will look into adjusting the font size.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    yes, that will be the best.

    Best wishes,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Column width not working in Post’ is closed to new replies.