adding a tempalte to autonav for a submenu and linking to css

Permalink
I am working on a site that has a main header menu, and a sub menu. I made a copy of the header_menu.php template and saved it as /blocks/autonav/templates/sub_menu.php. I want to be able to edit the css style (link color, hover color, etc.) so that the sub menu is different from the header menu. I do not want to change my site standard link colors that are found in the typography.css file. What must I edit in the sub_menu.php file in order to link it to new css in my main.css file? How should my css code look in the main.css file. I am using the default theme as my foundation. I attached a copy of my sub_menu.php file for reference. I had to change it to a txt file to upload it to this forum. I appreciate any direction that anyone can give me. Thank You!

1 Attachment

gavinc
 
tallacman replied on at Permalink Reply
tallacman
Have you read this?:http://www.concrete5.org/documentation/how-tos/custom-block-templat...

Chad explains the way to create a custom template. Your new css and js (if needed) will be loaded automatically by your new template. Remember to put the new/copied files into a folder named with your template name.