Hello,
How can I amend the code that displays the three bars for the off canvas position?
I can see in the code , 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 to your new Font Awesome icon.
4. In the new mainnav.php change the code below:
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 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!
How can I amend the code that displays the three bars for the off canvas position?
I can see in the code , 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 to your new Font Awesome icon.
4. In the new mainnav.php change the code below:
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 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!