Hi,
thanks for your question, and sorry for the trouble.
That’s a bit tricky, as you will first have to add a border and then only add the border radius to the top and bottom cells.
Can you please post a link to the page with the table where this problem happens, so that I can take a direct look? Thanks!
Regards,
Tobias
Slight problem there as it is on my test site which is in maintanence mode… I will have a go with that… will be back to let you know what happens.
Kriss 🙂
Hi Kriss,
you could maybe take inspiration from https://ww.wp.xz.cn/support/topic/can-tablepress-do-this/
Regards,
Tobias
Ok I put in that and I got rounded corners on the bottom and not the top… may have found out why but when I inspect the CSS it cancels it out but no sign of the new CSS I did put in !important and it still didn’t work…
I am not a proper developer so not sure why this is happening… I have pasted what it says in the theme CSS to see if you can see why the bottom works and not the top..
.fluida-stripped-table .main td {
border-top: 1px solid transparent;
}
.fluida-stripped-table .main tr.even {
background-color: transparent;
}
.fluida-bordered-table .main th,
.fluida-bordered-table .main td {
border: 1px solid transparent;
}
.fluida-stripped-table .main th,
.fluida-bordered-table .main th {
border-top: 1px solid transparent;
}
.fluida-stripped-table .main thead th,
.fluida-bordered-table .main thead th {
border-top: 2px solid transparent;
}
Thanks
Kriss 🙂
Hi,
I’m a bit confused as to what these .fluida-stripped-table and .main CSS classes are. Those are not for a TablePress table…
Is your top row a table head row? Then you would need to target the th elements. But your code does have those, so I assume that this is the case.
Regards,
Tobias
These are the themes CSS not yours… but I think they may be interferring…
And yes my top row is a table head row…
Kriss 🙂
Hi,
ah, ok 🙂
Now, I don’t think that they interfere because the CSS classes don’t apply to TablePress tables.
Regards,
Tobias
Thought not… ahh well… for some reason it doesn’t want to work but that is ok…
Thanks for all the help…
Kriss 🙂