Canvas follows a simple coding structure that is easy to understand and implement. Make sure that you follow some of the Important Rules to avoid unexpected errors:
type
Attribute unnecessary or not needed related errors.<!DOCTYPE html>
<html dir="ltr" lang="en-US">
<head>
<!-- Stylesheets & Title
============================================= -->
...
</head>
<body>
<!-- The Main Wrapper
============================================= -->
<div id="wrapper">
<!-- Header
============================================= -->
<header id="header">
...
</header>
<!-- Site Content
============================================= -->
<section id="content">
<div class="content-wrap">
<div class="container">
...
</div>
</div>
</section>
<!-- Footer
============================================= -->
<footer id="footer" class="dark">
<div class="container">
...
</div>
<!-- Copyrights
============================================= -->
<div id="copyrights">
<div class="container">
...
</div>
</div>
</footer>
</div>
<!-- Scripts
============================================= -->
</body>
</html>
This Theme Supports both Boxed & Wide Layouts. Adding the class .stretched
to the <body>
will turn your website into a Wide Layout:
<body class="stretched">
Last Modified: June 3, 2020