Archived topic
Not all borders showing desired color
9 replies · Started by robmac on October 12, 2016
Hi Tom,
Sorry to raise another issue so soon!
I've a table [generated using CKEditor], when I:
> select Table Cells Properties
> enter the desired Table Border color code
> All cell borders change to the desired color, EXCEPT for one side and along the top of the border
Can you suggest any fix please? Any CSS that might do the job please? I have Simple CSS installed.
Thank you,
Robert
Hi there,
Can you show me a page with the table on it?
Hi Tom,
Thanks for your reply. Have sent you the link.
Regards,
Robert
You can change the table border like this:
table, td, th {
border-color: #222222;
}
However, tables should only be used for tabular data.
For content like this, you should use grid columns: https://wordpress.org/plugins/lightweight-grid-columns/
Awesome.....thanks Tom!
You're welcome :)
Hi Tom,
I've got a follow up question, please.
On one page, I've got TWO tables, one of which, still has this issue of still showing part borders or showing part in a different colour, even when I clear set them not to.
Any further thoughts you may have, would be most appreciated. Thank you.
Regards
Robert
The above CSS should do it, make sure the tables not working don't have the border color added to the HTML itself using inline CSS.
How to change border color of right side of table rows?
Hi @Data,
I see you've opened a topic for this.
Let's continue the discussion for your specific site there. Please see my reply here - https://generatepress.com/forums/topic/how-to-change-border-color-of-left-side-of-table-rows/#post-2028581 - thanks! :)