Hi,
thanks for your post, and sorry for the trouble.
Unfortunately, there’s no direct way to convert that XML file to CSV or other formats, as XML is more like a language and not a fixed format.
It might therefore be easier to simply use the HTML table output that the Table Maker plugin produces, and import that into TablePress via the HTML import format. As the import source you would simply choose the URL of the page where you are showing the table right now.
Regards,
Tobias
Thread Starter
drstir
(@drstir)
Many thanks with the prompt response, Tobias. It’s much appreciated. Your solution worked really well. I’ve put the new (top) and old (below) tables on this page. Is it possible to style the new so it’s similar to the old? https://www.goyt-valley.org.uk/goyt-valley-families/errwood-hall/
Hi,
no problem, you are very welcome! 🙂 Good to hear that this helped!
Styling the table is possible with CSS code. In your case, you probably want
https://tablepress.org/faq/change-background-color-table-head-row/
and
https://tablepress.org/faq/change-background-color-of-a-row/
Regards,
Tobias
Thread Starter
drstir
(@drstir)
Thanks again, Tobias.
One more question (I’m not that good with css); is it possible to add multiple rows in the css rule for the row styling? Or do I have to add each row individually? This is how I’ve done the two rows…
.tablepress-id-2 .row-2 td {
background-color: #dce9da;
color: #2a2a2a;
}
.tablepress-id-2 .row-10 td {
background-color: #dce9da;
color: #2a2a2a;
}
Hi,
yes, you can indeed use multiple rows in the CSS selector. Here, basically, whenever the part between the { and } is the same for different chunks of CSS, you can combine the part before the { as a comma-separated list. Thus, your example could written as
.tablepress-id-2 .row-2 td,
.tablepress-id-2 .row-10 td {
background-color: #dce9da;
color: #2a2a2a;
}
Regards,
Tobias