Table styles: row colors & alignment - Forum | JoomShaper
Solved SP Page Builder

Table styles: row colors & alignment

Asked by Seppe 3 years ago Last activity 3 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.

Accepted answer

Marked as the solution
Seppe Asked this

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.

Rashida Rahman Staff

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

1 more reply

Mehtaz Afsana Borsha Staff

Hi

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

-Regards.

Log in to reply.