WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] CSS classes in the new menu editor (3 posts)

  1. leemon
    Member
    Posted 3 years ago #

    Hi!

    I'm trying to add a CSS class with underscores in it (ex: word1_word2) to a menu item in the new menu editor but when I save the menu WordPress removes the underscores (ex: word1word2).

    Is this a bug?

    Thanks

  2. chinmoy
    Member
    Posted 3 years ago #

    use hyphen like word1-word2

  3. leemon
    Member
    Posted 3 years ago #

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic