Vertically Align A Navbar-brand With Bootstrap December 16, 2022 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; } Copy Solution 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 Scroll Nav-pills (bootstrap 3) Horizontally?Show Icons In The Collapsed Navbar In Bootstrap 3Change Bootstrap Div Order Depending On Screen Size Share You may like these postsCentering A Website Horizontally And VerticallyHow To Reference To Win32 Object Under Ms Windows 7 64bit In VbscriptDetect Data Change From Different Dom ElementInternet Explorer: Can't Access Iframe Contents Unless Status Code Is 200 Post a Comment for "Vertically Align A Navbar-brand With Bootstrap"
Post a Comment for "Vertically Align A Navbar-brand With Bootstrap"