Site logo

Archived topic

How to add lines and boders to table?

3 replies · Started by Jin on October 11, 2022

Viewing posts 1–4 of 4

How can I add borders and lines to a table in GeneratePress? Don't see any option for this - only see an option for default and stripes.

Thanks

Hi Jin,

The Table Block is from WordPress. You have this custom code hiding the Table border lines:

table, tr {
            border: hidden;
        }

        td, th {
            border: hidden;
        }

Alternatively, you can use a GenerateBlocks Grid Block. Reference: https://docs.generateblocks.com/article/grid-overview/

Hi Fernando

Thanks for your help. Completely forgot that I added that in and I was trying to figure out why the lines weren't showing.

You're welcome Jin!

This archived topic is closed to new replies.