With so many files in the theme, it can be hard to know how the site should look in the end. Here is the typical HTML structure of the rendered site using ignition. This will help later on as you use the site and may need to adjust things.
<!doctype html class="js"> <html lang="en"> <head> ... </head> <body> <div class="site-container"> <div id="panel-left"></div> <div id="panel-right"></div> <div id="page" class="site"> <div class="site-top">...</div> <div class="site-content">...</div> <footer class="site-footer">...</footer> </div><!-- /#page --> </div><!-- /.site-container --> </body> </html>
The site is split into three parts where you will place content.
Here is what this looks like once rendered:
Breaking it Down
The site is contained
Your main menu will be inside
.site-topby default. Below that would be the content for the page or post. Then comes the footer.
Sometimes you will have content that resides in special panels on the left and right of the main site. By default, they are hidden when empty. You can make use of them at any time. For
You can also place content in the right panel, like a sidebar. You can choose to have the sidebar hidden until the sidebar button is clicked, or have it open all the time.
For instance, this documentation page has content in the left panel even on
The #page id holds the main centered part of the site and is set to make sure the footer at the bottom is stuck to the bottom even on a page with little content. Inside the #page lives the main parts of the site.
Most of the main content will reside