[Resolved] Align content in a table

Home Forums Support [Resolved] Align content in a table

Home Forums Support Align content in a table

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #1333136
    jm1991

    Hi there,

    Is there some CSS that can be added align content up top for each table cell?. Although, if possible, I wouldn’t want the specific “pros” and “cons” cells to be aligned up top.

    I have two column tables and when one opposing cell has more content, it kind of messes up the alignment.

    Thanks

    #1333433
    Leo
    Staff
    Customer Support

    Hi there,

    Can you disable site ground optimizer so I can inspect the code closer?

    It should be vertically center aligned by default.

    Let me know ๐Ÿ™‚

    #1333636
    jm1991

    Hi there,

    I believe you’re based in North America? So you probably won’t review the code for a while. I’m keen to keep Siteground on for performance reasons, but will turn it off when I know someone will be able to look at my code.

    Happy to do that if any mod is awake in the UK :). If not, let me know when you’re ready to have a look, Leo.

    #1333755
    David
    Staff
    Customer Support

    Hi there,

    let us know when you have disabled it….

    #1333767
    jm1991

    Done ๐Ÿ™‚

    #1333783
    David
    Staff
    Customer Support

    Try adding this CSS:

    .wp-block-table td {
        vertical-align: top;
    }
    #1333798
    jm1991

    Perfect!. Thanks.

    #1333840
    David
    Staff
    Customer Support

    You’re welcome

    #1860685
    melvin wang

    Awesome David! thank you!

Viewing 9 posts - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.