Developing the footer
The footer I designed for this theme is made up of two rows and two main columns in the first row. We will put the static contents such as the footer company's description, footer links, social links, and card image in CMS static blocks.
Hence, the user who manages the store can easily manage the footer from the admin panel. The final result will be similar to what is shown in the following screenshot:
All the links and the text in the footer are made of CMS blocks, so let's see the HTML structure. The footer file footer.phtml
is located at app/design/frontend/bookstore/default/template/page/html
/ like the header file.
The HTML code of the footer will look as follows:
<div class="row"> <div class="col-md-4"> <?php echo $this->getChildHtml('footer-company') ?> </div> <div class="col-md-8"> <div class="row"> <?php echo $this->getChildHtml('footer-cmslinks') ?> <hr> </div> <div class="row"> <div class="col...