• Resolved Dreilwood

    (@dreilwood)


    Hi Tobias

    Your plug-in you have developed is awesome. Really enjoying what can be done with it.

    Was wondering is there a way to more than one row to be the header of the table?

    I’m having another issue with combing cells in rows and columns. I’m using #colspan# under the cell I want to join with and #rowspan# to the right of the cell I want to join.

    Sorry about the double question.

    Many thanks,
    Dreilwood

    http://wordpress.org/extend/plugins/wp-table-reloaded/

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

    (@tobiasbg)

    Hi,

    thanks for your questions.

    More than one row as the header is not possible unfortunately. That’s however more a restriction in HTML tables, so it’s nothing really that I can change in the plugin.

    For rowspan/colspan: You just mixed those up! You will need to put #rowspan# in the cell below of that with the content for the joined cell, and #colspan# to the right!

    Regards,
    Tobias

    Thread Starter Dreilwood

    (@dreilwood)

    Hi

    Thanks for the feedback. You were bang on the money there, just needed to swap those two around, doh!

    For the header using nth types to give the look of multiple row headers.

    Love the plugin, thanks.

    All the best,
    Dreilwood

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for the confirmation! 🙂 Nice to hear that everything works now!

    Best wishes,
    Tobias

    Hi Tobias

    I think I’ve read enough other threads to know its not possible, but I wanted to ask anyways.

    Can I selected multiple rows to apply the same style to? I’ve tried this.

    .wp-table-reloaded-id-2 .row-2,.row-5,.row-8 td {font-weight:700; padding:10px 4px;}

    But this only applies the styles to the last row (row-8 in this example). It seems to work just fine when applying to multiple columns, just not rows.

    Do I have to explicitly call EACH and EVERY row that I want custom styling on?

    Thanks so much for a great plugin!

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your question.

    Yes, you can select multiple rows for one styling. It is however important (due to the way CSS works) to use the entire selector for each row again. So, your example would need to be

    .wp-table-reloaded-id-2 .row-2 td,
    .wp-table-reloaded-id-2 .row-5 td,
    .wp-table-reloaded-id-2 .row-8 td {
      font-weight:700;
      padding:10px 4px;
    }

    CSS does not allow to just copy parts of the selector.

    Best wishes,
    Tobias

    ahh, thanks. i knew that but was totally brain blocking it!

    thanks again for such a great plugin!

    Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    no problem 🙂 You are very welcome!

    Best wishes,
    Tobias

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: WP-Table Reloaded] Multiple rows for the header’ is closed to new replies.