Skip to content

Change background color in table #532

Closed Answered by yhatt
andreabonetti asked this question in Q&A
Discussion options

You must be logged in to vote

The default theme (a base theme you are using) has different background colors in each row, so the specified background color into the table is overloaded by rows. You should set the background color into each cell to overload row colors.

table td {
    background-color: var(--base);
}

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@andreabonetti
Comment options

Answer selected by andreabonetti
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants