#aligning logo in nav-bar

11 messages · Page 1 of 1 (latest)

candid mango
#

hey guys just wondering if there is a better way for me to align my logo picture with my navbar as it does not resize very well.

leaden ether
#

you want to keep your navs at left corner bellow logo ?

hexed knot
#

maybe select them both and use the same line height or maybe justify both items center center

smoky mesa
#

Add padding around the logo? Or use the same margin as you did around the nav.

candid mango
#

thanks guys its more vertically that id like to center it

#

i moved the button up by removing top:2rem i think it looks a little better now

candid mango
#

what id like is for my image to be responsive within my navbar @smoky mesa @hexed knot

candid mango
#

for example my text and nav links stay the same but my image resizes way too small

versed bear
#

Have you learnt how to use flexbox? If you wrap the nav and logo in a container like a <header></header> tag you can position them both at the same distances from the top and sides.