MmyalaMay 9, 2016
Hi, is there an easy way to automatically set the .current class to a menu item based on the page. I am using php includes to include the navigation and so I need to be able to do this. Thanks in advance for your time!
1 reply · opened May 9, 2016
Hi, is there an easy way to automatically set the .current class to a menu item based on the page. I am using php includes to include the navigation and so I need to be able to do this. Thanks in advance for your time!
Hello,
This is Definitely Possible. Please consider using this Example: http://stackoverflow.com/questions/4672342/detecting-page-filename-using-php which is exactly what you will be needing!
This will definitely work fine. Let us know if we can help you with anything else or if you find any further issues.
Have the same question, or something new?
Sign in to the Canvas dashboard to reply or open your own topic. Canvas owners get direct help from the SemiColonWeb team.
Reply on the dashboard