• Resolved mdebruyne

    (@mdebruyne)


    Hi helpers,
    I put this as extra CSS rule for a table:

    <div style=”width:50%; text-align:center;”>[table id=13/]</div>

    .wp-table-reloaded-id-13 .row-1 td {
    background-color: #ff0000;
    }

    But nothing happens…. the table is still 100% wide and the color the same as before.
    Can it be that my Theme does not support this. I use Suffusion.
    Thanks voor help and greetings from Holland.
    Marga

Viewing 4 replies - 1 through 4 (of 4 total)
  • Unless you provide a link to a page demonstrating the problem, no one will be able to offer much in the way of assistance.

    Thread Starter mdebruyne

    (@mdebruyne)

    This is the link
    http://www.seniorwebzwolle.nl/blog/?page_id=59
    Thanks for help.
    Marga

    There are no “td” elements in “row1”. They are “th” elements instead. Try changing:

    .wp-table-reloaded-id-13 .row-1 td {
    background-color: #ff0000;
    }

    to

    .wp-table-reloaded-id-13 .row-1 th {
    background-color: #ff0000;
    }

    Regarding the width, have you tried simply using something like the following in your style definitions?

    .wp-table-reloaded-id-13 {
    width: 50%;
    }

    Thread Starter mdebruyne

    (@mdebruyne)

    Good morning Curtis,
    this is great news… your advice works perfect, so I can continue with my stuggle to set tables to my hand (if that is good English??).
    Thank you and have a nice day.
    Marga

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Extra css-rule for table reloaded’ is closed to new replies.