Support » Fixing WordPress » best way to change color of menu item

  • Hi guys,

    What would be the best way to change the color of the menu item “Kalender” of the parent menu item “Ploegen” on my site? I was thinking of adding a class to the wp-includes/nav-menu.php or nav-menu-template.php file if the menu-item == “Kalender”, but I have no idea how or where to add this.

    Hope you guys can help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • esmi

    (@esmi)

    Forum Moderator

    No! Never, ever, edit WordPress core scripts. And do not encourage others to do so. Editing core scripts can bring down your entire site and/or open security holes for hackers to use.

    You need to start editing your theme’s CSS. FTP into your site (or use whatever file management application your host provides) & delete the

    Okay I see. I would very much like to edit the css files, but the class and id’s are the same for each menu item, so how can I change the color of only one menu item only in css?

    esmi

    (@esmi)

    Forum Moderator

    That menu item has more than 1 unique id.

    thanks!!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘best way to change color of menu item’ is closed to new replies.