Description
The footer fixed option has a fixed footer at the bottom side, You can check fixed footer on bottom of this page.
CSS Classes
This table contains all classes which can be used in fixed footer. You can combine them as per footer fixed template requirements.
All these options can be set via following classes:
Classes | Description |
---|---|
.fixed-bottom |
To set footer fixed you need to add .fixed-bottom class in footer
<footer> tag. Refer HTML markup line no 37. |
Default fixed footer color is light, You can use .footer-dark
& .footer-transparent
with .fixed-bottom
.
You can also use styling options i.e .footer-border
& .footer-shadow
with
.fixed-bottom
This section contains HTML Markup to create fixed footer. This markup define where to add css classes to make footer fixed.
- Line no 37: Contain the
.fixed-bottom
class for adjusting footer fixed. - Line no 37: Also contain the
.footer-light
&.footer-shadow
classes for adjusting footer color and shadow. Those are optional classes.
<!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-transparent navbar-shadow navbar-border">
...
</nav>
<!-- BEGIN Navigation-->
<div class="main-menu menu-transparent 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 body-->
<div class="content-body">
...
</div>
<!-- content body-->
</div>
</div>
<!-- END Content-->
<!-- START FOOTER DARK-->
<footer class="navbar footer fixed-bottom footer-light footer-shadow content container-fluid">
...
</footer>
<!-- START FOOTER DARK-->
</body>
</html>