custom class to primary menu.

Created on 19 September 2011, almost 13 years ago
Updated 2 May 2024, about 2 months ago

hi all. just looking at the code for this. But is there a way to overwrite the function so that when i do print theme_nice_menus_primary_links(); withing my page.tpl.php, that it will assign a custom class to it.

eg:

class="customClass1 customClass2 nice-menu ........"

πŸ’¬ Support request
Status

Closed: outdated

Version

2.1

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom samuraisjakkie

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024