Description
The light layout has a light color navbar, navigation menu and footer. In this page you can experience it. If you want to create a light version template you can use this layout.
CSS Classes
This table contains all classes related to the light layout. This is a custom layout classes for light layout page requirements.
All these options can be set via following classes:
Classes | Description |
---|---|
.navbar-light |
To set navbar light color you need to add .navbar-light class in navbar <nav> tag. Refer HTML markup line no 7. |
.menu-light |
To set the main navigation light color on page .menu-light class needs to add in navigation wrapper. Refer HTML markup line no 12. |
.footer-light |
To set the main footer light color on page .footer-light class needs to add in footer wrapper. Refer HTML markup line no 37. |
This section contains HTML Markup to create light layout. This markup define where to add css classes to make navbar, navigation & footer light.
- Line no 7: Contain the
.navbar-light
class for adjusting navbar color light. - Line no 12: Contain the
.menu-light
class for adjusting main navigation color light. - Line no 37: Contain the
.footer-light
class for adjusting footer color light.
Robust has a ready to use starter kit, you can use this layout directly by using the starter kit pages from the robust-admin/starter-kit
folder.
<!DOCTYPE html>
<html lang="en">
<head></head>
<body data-menu="vertical-menu" class="vertical-layout vertical-menu 2-column menu-expanded">
<!-- fixed-top-->
<nav role="navigation" class="header-navbar navbar-expand-sm navbar navbar-with-menu fixed-top navbar-light navbar-shadow navbar-border">
...
</nav>
<!-- BEGIN Navigation-->
<div class="main-menu menu-light menu-fixed menu-shadow">
...
</div>
<!-- END Navigation-->
<!-- BEGIN Content-->
<div class="content app-content">
<div class="content-wrapper">
<!-- content header-->
<div class="content-header row">
...
</div>
<!-- content header-->
<!-- content right-->
<div class="content-right">
...
</div>
<!-- content right-->
</div>
</div>
<!-- END Content-->
<!-- START FOOTER DARK-->
<footer class="footer footer-light footer-fixed">
...
</footer>
<!-- START FOOTER DARK-->
</body>
</html>