Topic: Navbar brand
szczerbo pro answered 7 years ago
Damian Gemza staff commented 7 years ago
This code won't work to you? For me works perfectly. <mdb-navbar class="navbar navbar-dark indigo" [containerInside]="false"> <logo> <a class="navbar-brand" href="#"> <img src="<a href="https://mdbootstrap.com/img/logo/mdb-transparent.png"" rel="nofollow">https://mdbootstrap.com/img/logo/mdb-transparent.png"</a>; height="30" alt=""> </a> </logo> </mdb-navbar> 1st question: SideClass is only a container for other classes. It works like class. 2nd question: It won't work, because navbar markup for Angular needs SideClass. If my code won't work to you, please try to use this ready-to-use navbars: <a href="<a href="https://mdbootstrap.com/angular/layout/navigation/"" rel="nofollow">https://mdbootstrap.com/angular/layout/navigation/"</a>; rel="nofollow"><a href="https://mdbootstrap.com/angular/layout/navigation/</a>" rel="nofollow">https://mdbootstrap.com/angular/layout/navigation/</a></a>; Let me know how the problem looks like. Best Regards, DamianFREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- Premium support: No
- Technology: MDB Angular
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
Damian Gemza staff commented 7 years ago
Dear Szczerbo, Please try adding [containerInside]="false" to your element. If it's your expected behavior, problem is solved. If not, let me know. Best Regards, Damian