Hi,
thanks for your post, and sorry for the trouble.
Hi Ryan,
thanks for your post, and sorry for the trouble.
You are affected by a small HTML problem here. For some reason there are extra <pre> HTML tags around the table Shortcode code on that page, which need to be removed. For that, please go to the “Edit” screen of the page and switch from the “Visual” to the “Text” editor mode. Then, remove the <pre> and </pre> around the table Shortcode, so that it stands by itself on its own line.
Regards,
Tobias
Thread Starter
Ria C
(@ria-c)
Hi Tobias,
Many thanks for such a quick reply.
I have done what you said, & whilst it is much better than it was, it is still not quite aligned correctly. Is there anything else I can do?
Thank you,
Ria.
Hi Ria,
nice! Yes, now we can even out the padding between the cells, which (due to your theme) are different.
Please add this to the “Custom CSS”:
.entry-content .tablepress tr td,
.entry-content .tablepress tr th {
margin-top: 8px;
margin-bottom: 8px;
}
Regards,
Tobias
Thread Starter
Ria C
(@ria-c)
Hi Tobias,
I’ve tried it but it hasn’t quite worked.
This is the custom CSS I now have for the table. Is the other CSS impacting what you have advised me to do? I only added this because I needed the test colour to be darker.
.tablepress tbody td {
font-family: Tahoma;
font-size: 14px;
color: #000000;
}
.entry-content .tablepress tr td,
.entry-content .tablepress tr th {
margin-top: 8px;
margin-bottom: 8px;
}
Is there anything else we can try? If it’s easier, I’m happy to make it responsive just on a tablet & phone, rather than ‘all’.
Many thanks,
Ria.
Hi Ria,
ah, my bad. I wrote margin instead of padding… Please try again with
.entry-content .tablepress tr td,
.entry-content .tablepress tr th {
padding-top: 8px;
padding-bottom: 8px;
}
Regards,
Tobias
Thread Starter
Ria C
(@ria-c)
Hi Tobias,
It works!
Thank you very much for your help, it looks great.
Regards,
Ria.
Hi,
no problem, you are very welcome! 🙂 Good to hear that this helped!
Best wishes,
Tobias
P.S.: In case you haven’t, please rate TablePress here in the plugin directory. Thanks!