Archived topic
Field Size
1 reply · Started by robmac on March 31, 2021
Hello,
On the right-side of my webpage I have a contact form, I'm trying to center the text immediately above it, I've tried for example
.tablepress-id-X .column-X {
text-align: center;
}
But that's centering everything and I only need the text above it please?
Also, regards the contact form fields, can you suggest a way to set them all to one width - as wide as the message field please?
Any help appreciated. Thank you.
Robert.
Hi there,
Try this CSS:
.tablepress-id-x td.column-x > b:first-child {
text-align: center;
display: block;
}
Example: if you want to center "Contact Sylvia".
table.tablepress-id-2 td.column-3 > b:first-child {
text-align: center;
display: block;
}