Vertically Align A Navbar-brand With Bootstrap July 02, 2024 Post a Comment How can I align a navar-brand img vertically in the middle? That black box is a logo I want to align in the middle. The markup is: Solution 1: just add this to your css :.navbar-brand{ min-height: 66px!important; } .navbar-header{ min-height: 66px!important; } CopySolution 2: Have you tried the css property 'vertical-align: top;'? If it doesnt work try positioning it relatively and see for yourself if it's perfectly align. Baca JugaHow To Save Html5 Geolocation Data To Python Django Admin?Flex Container Vertical Overflowing Parent DivHow Can An Iframe That Has Content, Have An Undefined Contentdocument Object? Share You may like these posts Input Text + Select + Bootstrap + Form-inline: Horizontal Align LabelEnable Button (or Any Element) If At Least One Input Has ValueHeader Misbehave On Longer TitleCss Reverse Transition And Select Previous Sibling Post a Comment for "Vertically Align A Navbar-brand With Bootstrap"
Post a Comment for "Vertically Align A Navbar-brand With Bootstrap"