• Resolved eccofatto

    (@eccofatto)


    hi

    how can I avoid any newline on the table (not on the title)? And how can I specify a background color for each line?

    see site here
    avelacongiorgio.it/test password test

    thaks
    eccofatto

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

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    For this, you can use CSS code:

    .tablepress-id-1 th,
    .tablepress-id-1 td {
      white-space: nowrap;
    }

    For the background color, you can use

    .tablepress-id-1 .row-2 td,
    .tablepress-id-1 .row-5 td,
    .tablepress-id-1 .row-8 td {
      background-color: #0000ff;
    }

    Regards,
    Tobias

    Thread Starter eccofatto

    (@eccofatto)

    tanks

    it’s works

    I would have the newline on the title( main line), how can I do that?

    Thread Starter eccofatto

    (@eccofatto)

    thanks

    it’s works

    I would have the newline on the title( main line), how can I do that?

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    for that, just remove the .tablepress-id-1 th, part of the code.

    Regards,
    Tobias

    Thread Starter eccofatto

    (@eccofatto)

    really thanks, perfect.

    how can I specify a bold setting for a specific cell, for example table 1, row 4, line 5 ?

    thanks

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    for that, I suggest to use the approach from https://tablepress.org/faq/highlight-cells-or-content/ with a CSS command like
    font-weight: bold;

    Alternatively, just wrap the text that should be bold in HTML <strong> tags, like
    <strong>This is bold</strong>

    Regards,
    Tobias

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘avoid newline and change background color’ is closed to new replies.