Table Styles: Row Colors & Alignment - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Table Styles: Row Colors & Alignment

S

Seppe

SP Page Builder 2 years ago

Good morning

I'm trying to setup a table but for some reason I still have a backgroundcolor, although all settings are set to 0%

I found this page in the documentation, but it seems to be different from the latest version of SPPB. so I checked all settings, and they all seem to be perfect.

When I look at the website, I see the color of the header as I have set, but the even and odd rows also have a color, which is nowhere defined.

I tried also to define a color, check in the preview if it changed (which was), and then delete the color again to reset the background, but it always gives back the initial color.

Also, for the alignment, I set "content alignment" to top, but all data stays in the middle.

I also checked in the Helix framework if there is any definition for tables, but I can't find anything.

0
3 Answers
S
Seppe
Accepted Answer
2 years ago #127143

I don't know if it is the correct way, but as a temporary solution, I set the backgroundcolors of the odd rows manual to white. This solves the problem for now.

0
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 2 years ago #127203

Hi there!

Thanks for coontacting us. Yes, you have done it right.

This is the custom CSS:

.sppb-addon-table-main tbody tr {
    background: white;
}

Best Regards

0
Mehtaz Afsana Borsha
Mehtaz Afsana Borsha
Accepted Answer
Support Agent 2 years ago #127202

Hi

Thanks for contacting us. Yes you can also solve it this way. You can now close this post by accepting the answer.

-Regards.

0