[ad_1]
Hello everyone. Ive just started learning WordPress and I was wondering how to align the buttons vertically? I want to make them like this: https://imgur.com/nVszs83
I have additional CSS that looks like this: https://paste.ofcode.org/366hswcUZdfN657hCF2ErVE
Can smb help me out? Thanks in advance.
[ad_2]
Look into flex box css positioning.
Basically the container needs to have these attributes…
display:flex;
Flex-direction:column;
From there you have a few different ways to position the button on the bottom.
Add this to the button…
Margin-top: auto;
You can use flexbox space-evenly for this – though it will only work if each of the 3 boxes are the same height, so one little trick I use is to specify a min-height.
https://www.reddit.com/r/css/s/DUom0YOKlD