Product Delivery
Targeted Sales
Collicitudin vel metus scelerisque ante commodo.
In Progress25% Completed
Fixed color footer
The Fixed footer options used to make your footer set to be fixed at bottom.
The footer fixed option has a fixed footer at the bottom side, You can check fixed footer on bottom of this page.
This page contain footer fixed options example, check on the bottom of the page.
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 |
---|---|
.navbar-fixed-bottom |
To set footer fixed you need to add .navbar-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 .navbar-fixed-bottom
.
You can also use styling options i.e .footer-border
& .footer-shadow
with .navbar-fixed-bottom
This section contains HTML Markup to create fixed footer. This markup define where to add css classes to make footer fixed.
.navbar-fixed-bottom
class for adjusting footer fixed..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">
<!-- navbar-fixed-top-->
<nav role="navigation" class="header-navbar navbar navbar-with-menu navbar-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 robust-content container-fluid">
<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 navbar-fixed-bottom footer-light footer-shadow content container-fluid">
...
</footer>
<!-- START FOOTER DARK-->
</body>
</html>
Robust Admin use JADE as template engine to generate pages and whole template quickly using node js, for getting start with JADE usage & template generating process please refer template documentation.
This table contains required JADE variables to generate fixed footer.
Variable | Value | Description |
---|---|---|
footerCustom |
'navbar-fixed-bottom' |
You need add footer fixed class to footerCustom variable value as 'navbar-fixed-bottom' in footerConfig block, it contains footer specific classes. |
To generate footer fixed page or template, you need to use following JADE code.
footerConfig
block has a footerCustom
variable, it contains footer specific classes in that you need to add navbar-fixed-bottom
class..footer-light
,.footer-dark
& .footer-transparent
color options..footer-line
& .footer-shadow
styling options.content
block has content section html file included include ../contents/footer-fixed.html
, which can be customizable on page level.If you want to use this layout on page level you need to define it on page it self. This template has one example jade file for fixed footer footer-fixed.jade
, however you can use it on template level but it will generate whole
template footer fixed.
block pageVars
- var pageTitle = "Footer Fixed"
- var pageSubTitle = "Fixed color footer"
- var description = "The Fixed footer options used to make your footer set to be fixed at bottom."
- var activeMenu = "footer-fixed"
extends template
block footerConfig
- var footerCustom = "navbar-fixed-bottom footer-light footer-shadow"
append breadcrumbs
include ../includes/mixins
+breadcrumbs([{url:"index.html",name:"Home"},{url:"#",name:"Footer"}, {name:"Footer Fixed"}])
append page-header
include page-headers/breadcrumb-top
//- Include page content in page block
append content
include ../contents/footer-fixed.html
//- Page specific dependency
//------------------------------
//- Add custom page specific CSS
block pagecss
//- Add custom page specific JS
block pagejs