Adding id and classes to autonav view file

Permalink
I realise I have to add my custom ids and classes to the duplicated view.php. But as I am not very familiar with adding code here, where do I put the ids and classes in the view.php? At the beginning? At the end? Do I add empty tags? Or my full hard coded menu items?

Thanks

trixiemay
 
aghouseh replied on at Permalink Reply
aghouseh
I would definitely check out jordanlev's awesome autonav/pagelist/form templates over on GitHub (https://github.com/jordanlev/c5_clean_block_templates). These have all the great features that most builders put into their templates anyway, and you can enable custom classes for each nav item based on their collection ID just by commenting out a few lines.

This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.