Help with Product Landing Page

Help with Product Landing Page
0

#1

Hi,
I’m working on my Project Landing Page and am having trouble with something that is probably an easy fix, but I’ve been struggling with. ugh.

What I would like to do is vertically center “Keenan’s New and Used Guitars” in my flexbox. Right now it’s stuck at the top. Any help would be greatly appreciated. Thx!

Here’s the link to my codepen for the project:


#2

Flex controls only direct children, so your label was not in a flexbox.

<div style="flex-basis: 300px; display: flex; align-items: center;">
    <label id="label">Keenan's New and Used Guitars
    </label>
</div>

#3

Thanks! It’s always those little things that get me.