Can’t get a button to center

  • connect4consulting

    I’m sure there’s an easy explanation for this but I can’t get a button to align center within a container. The H and Text content above it are perfectly centered but not the button.

  • Hi there,

    Select the container, and set its display to flex, align-items to center.

  • connect4consulting

    I swear I tried that! Thank you – that was an easy fix.

  • You are welcome   🙂

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