Hello,
How can I amend the code that displays the three bars for the off canvas position?
I can see in the code <i class="fa fa-bars"></i>, but where in the template code would I override this with a different FontAwesome icon?
Thanks
Lee
SOLUTION
1. You need to duplicate mainnav.php in your template/tpls/blocks folder. Rename this duplicate file.
2. Modify the main template file you are using in your template/tpls/ to load this duplicated file.
3. Open the duplicated file and change the <i class="fa fa-bars"></i> to your new Font Awesome icon.
4. In the new mainnav.php change the code below:
<?php if ($this->getParam('addon_offcanvas_enable')) : ?>
<?php $this->loadBlock ('off-canvas') ?>
<?php endif ?>
Change the 'off-canvas' to a new filename.
5. Duplicate the off-canvas.php file in your template/tpls/blocks to match the filename you gave it above.
6. Open this new off-canvas file and change the <i class="fa fa-bars"></i> to your new Font Awesome icon.
Save and upload all the modified files to your template folder, refresh your page and the new icon should appear!