I can’t achieve vertical-align:middle – Help!

  • No matter what I do – the middle colum is stuck with top-align
    https://prnt.sc/sAom3swq3rxR

    Hello, I’ve used GP a couple times in the past but its been a while and im kind of rusty, plus there is this new 2.0 version.

    All I’m doing is building a topbar with 1fr 2fr 1fr, and i want everything to be vertical aligned middle, however the middle column is misbehaving and staying top-aligned no matter what i do:
    https://prnt.sc/NsE-_nXhPNOT
    https://prnt.sc/2Fe7uaKzSvLh

    Any help is appreciated!

  • Hi there,

    It’s because of the margin-bottom that comes with the paragraph block.

    Try using a text block instead and set margin-bottom to 0.

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