0

I am trying to add navbar-brand logo, but the logo does not fit into navbar and when I set image height and width to 100%,

img{height:100%; width:100%;} the logo becomes compressed.

How can I change the size of bootstrap navbar to properly center navbar-brand image/logo without affecting the height and width of the image ?

kyun
  • 9,710
  • 9
  • 31
  • 66
  • Please include a [Minimal, Complete, and Verifiable](https://stackoverflow.com/help/mcve) example and a summary of what you tried, so we can help. – DaFois Oct 25 '17 at 01:07
  • Possible duplicate of [Centering brand logo in Bootstrap 3 Navbar](https://stackoverflow.com/questions/23400234/centering-brand-logo-in-bootstrap-3-navbar) – Pablo Palacios Oct 25 '17 at 01:16
  • the image is compressed inside the navbar when i set img height and weight to 100% – Akpareva Innocent Oct 25 '17 at 02:09

0 Answers0