Topic: issues with ng-uikit-pro-standard
sebalopsa free asked 6 years ago
Hi! I would be grateful if somebody help me please.
I followed this installing guide for angular- ng-uikit-pro-standard:
https://mdbootstrap.com/angular/5min-quickstart/
I made the token and finally it works, but when I try use the intros, navbar o sections from docs (https://mdbootstrap.com/angular/layout/navigation/), I get troubles.
For example here is a comparition between my web using pro-kit and my web using standard free-kit. Its exactly the same code.
I show you too the files app.component.html and app.component.scss.
I understand that the uikit-pro isn't working. I'm using this:
https://git.mdbootstrap.com/mdb/angular/ng-uikit-pro-standard
best regards!
pro-kit image
standard-kit image
app.component.html:
<header> <mdb-navbarSideClass="navbar fixed-top navbar-expand-lg navbar-dark indigo scrolling-navbar intro-fixed-nav" [containerInside]="false"> <logo> <aclass="logo navbar-brand"href="#"><strong>Navbar</strong></a> </logo> <links> <ulclass="navbar-nav mr-auto"> <liclass="nav-item active waves-light"mdbWavesEffect> <aclass="nav-link">Home <spanclass="sr-only">(current)</span></a> </li> <liclass="nav-item waves-light"mdbWavesEffect> <aclass="nav-link">Link</a> </li> <liclass="nav-item waves-light"mdbWavesEffect> <aclass="nav-link">Profile</a> </li> </ul> </links> </mdb-navbar> <!-- Main --> <divclass="view"> <divclass="full-bg-img"> <divclass="mask rgba-black-light flex-center"> <divclass="container text-center white-text"> <divclass="white-text text-center wow fadeInUp"> <h2>This Navbar is fixed</h2> <h5>It will always stay visible on the top, even when you scroll down</h5> <br> <p>Full page intro with background image will be always displayed in full screen mode, regardless of device </p> </div> </div> </div> </div> </div> <!-- /.Main --> </header> <!--Main Layout--> <main class="text-center py-5"> <divclass="container"> <divclass="row"> <divclass="col-md-12"> <palign="justify">quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p> </div> </div> </div> </main> <!--Main Layout-->
app.component.scss
.view { background: url("https://mdbootstrap.com/img/Photos/Others/img (50).jpg")no-repeatcentercenter; background-size: cover; height: 100vh; }
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Opened
- ForumUser: Free
- Premium support: No
- Technology: MDB Angular
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: Yes
Damian Gemza staff commented 6 years ago
Dear sebalopsa, Thanks for your report! We'll investigate this, but for now, I can suggest you a workaround for this situation - add styles margin-top: 100vh for main element. Best Regards, Damian