• Resolved skipperdoodle

    (@skipperdoodle)


    The instructions for setting column width could not be clearer.
    Unfortunately, no matter what I do, I’m unable to keep the tables from stretching the width of the text area.

    I am inputting these exactly as instructed and…no dice.

    And, just to test, I have followed the directions on changing font and color and that worked fine. So the problem doesn’t appear to be something with my ability to follow directions.

    Can anyone shed any light on this? I’ve spent well over an hour on it and, for the life of me, I’m out of ideas. Thanks!

    http://wordpress.org/plugins/tablepress/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter skipperdoodle

    (@skipperdoodle)

    Ok, I take it back…it does appear to be doing something…but not what I’m trying to get it to do. Basically, I’m trying to get the table to sit on half of the text area, sort of like an image, and not take up the whole space. Does that make sense? Thanks

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    Could you please post a link to the page with the table in question, so that I can take a direct look? Thanks!

    Regards,
    Tobias

    Thread Starter skipperdoodle

    (@skipperdoodle)

    Hey thanks for responding. the site isn’t live yet so I can’t post a link. The bottom line is, though, that tablepress appear to stretch the width of the text column, regardless of how wide that column is, right? In other words, if I wanted tablepresss to be, say, half the width of the text column in which it appears, there would be nothing I could do, correct?

    Thanks again…

    @skipperdoodle,

    If you want to set the table width to be half of your page( does your “half the width of the text column” means this?), you could follow the following instruction.

    Add the following code to the Custom CSS field (that just needs to be added to the “Custom CSS” textarea in the “Plugin Options”):

    .tablepress-id-N {
    	width: 50%;
    }

    Assuming that you know how to do with custom css. If not, please reply to notify me.

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    TablePress will set a width, but it’s up to the browser to take that or not. And in some tables, the content simply requires a larger width, e.g. if there are very long words in a column that can not be word-wrapped.

    To find out if that is the problem for your site, I’ll need to see the page with the table. Can you maybe create test page where I can see this table?

    Otherwise, if reducing the width of the table to half the page, please try lonelicloud’s code suggestion.

    Regards,
    Tobias

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