• Resolved locutus1

    (@locutus1)


    Hi. I can’t change the column width for any column. I read through the FAQs. Look at column 1 on my page. It’s too narrow. I disabled all my other plugins. I’m using code like this which I got from the FAQ:
    .tablepress-id-1 .column-1 {
    width: 400px;
    }
    I tried setting the width to 5, 100, 200, 400. It always looks the same. I can change the padding without any trouble:
    .tablepress-id-1 .column-1 {
    padding: 100px;
    }
    To make sure that changing the padding works, I set padding to 100. The change was obvious so changing the padding works. Since I can change the padding that must mean that my theme is compatible, right? So why can I change the padding but not the width?

    Also, assuming that this can be fixed, do you know how I can stop my sidebar from appearing on pages that have tables?

    Thanks for any info.

    • This topic was modified 6 years, 10 months ago by locutus1.

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    The reason for this simply is the very wide “Download link” column.
    As these URLs are treated as one very long word (the browser can not add line breaks there), the table is too wide. I recommend to turn these URLs into clickable links with a short link text like “Download”, using the “Insert Link” button on the table’s “Edit” screen. After that, you should be able to get better widths.

    As for the sidebar: This depends on the theme. Please try choosing a “Full-width” page template on the page’s “Edit” screen.

    Regards,
    Tobias

    Thread Starter locutus1

    (@locutus1)

    Perfect. If you would like to see the tables I made with your plugin, the link in my first post will show you. I think they look great. The color scheme even fits perfectly. I donated to you. Thanks a lot.

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! ?? Good to hear that this helped!
    And thanks for the donation, I really appreciate it!

    Best wishes,
    Tobias

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

    Thread Starter locutus1

    (@locutus1)

    I rated it 5/5.

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks, I really appreciate it!

    Best wishes,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Can’t change column width’ is closed to new replies.