WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Custom Menus: Add CSS class to a specific entry (7 posts)

  1. romanczar
    Member
    Posted 4 years ago #

    Hi,
    I use wordpress 3 RC 2 and the new custom menu tool. Works great, I have the menu I want.

    But the last entry in my menu should get a different class than all the others. It is a download button and I want to mark it special.

    Any idea how I can do that? The Custom menu tool so far doesn't give the opportunity to add custom CSS class, only label, title.

    I have seen a screenshot that does it, but it is not in the RC2
    http://wpengineer.com/wordpress-3-0-menu-update/

    Any ideas?

  2. Mark / t31os
    Moderator
    Posted 4 years ago #

    Click on screen options, there's some extra options there that use to be on by default, they're now basically advanced features you need to enable.

  3. romanczar
    Member
    Posted 4 years ago #

    THX!!! That helped.

    one more question: why is the page hierarchy not kept? You always get a flat list and not the page-child relations...

    any ideas?

  4. Mark / t31os
    Moderator
    Posted 4 years ago #

    Sorry i have no idea, i don't use the nav menus that much, only briefly on WordPress.com.

    I happened to read something recently about nav menu classes(and the more advanced stuff) being moved under screen options.

    RE: Nav menus - page hierarchy
    http://core.trac.wordpress.org/ticket/13499

    Happy to help in any case... :)

  5. romanczar
    Member
    Posted 4 years ago #

    They even just closed the ticket...

  6. jdegreef
    Member
    Posted 4 years ago #

    Where are the screen options ? I don't see them in WP 3.0RC3 (btw not on RC2 neither).

  7. jdegreef
    Member
    Posted 4 years ago #

    Found it :)

    Answering my own question :
    In the upper right corner of the page Admin > Appearance > Menus

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.