• Resolved Kevin Brennan

    (@ksbrennan)


    Rather than hide menu links, we would like to style links based on the membership level. This would let non-members see what they’re missing out on by not being members.

    I don’t see any unique classes in the markup to allow this to happen.

    Do you know if there’s any way of doing this with Ultimate Member?

    https://wordpress.org/plugins/ultimate-member/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ultimate Member

    (@ultimatemember)

    Hi,

    That is not possible with UM but you could maybe try assigning a unique CSS class to each menu item (this is part of WP and not UM).

    So if you to to menus page and at top right of page click screen options then select CSS Classes options then expand a menu item you can assign it a css class.

    You can try that but not sure if it will work for what you need or not.

    Thanks

    Thread Starter Kevin Brennan

    (@ksbrennan)

    Thanks for the reply. Unfortunately that won’t work.

    There wouldn’t be a way for the the unique CSS class to relate to the users membership level.

    For example, Level 1 menu items would be assigned the class “level-1” so we could style them as necessary. They could be a different colour, striked-out, etc. If a Level 2 member logged in, they would see the links but they would not be able to click on them or would look inaccessible.

    Just something to think about for future releases. Thanks for the great plugin.

    Plugin Author Ultimate Member

    (@ultimatemember)

    You would just have to create unique links for each user role. So level 1 members can only see level 1 links etc.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Menu Link Color Option’ is closed to new replies.