• Resolved haagmeister

    (@haagmeister)


    I am cross-browser testing my site and I have noticed that on Microsoft Edge I am not seeing any html inside of my .site-header-menu div. If I turn off nav-menu-roles the menu appears.

    This is being tested with the same user account across all major browsers.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author HelgaTheViking

    (@helgatheviking)

    Hi Tom, thanks for posting here. Can you confirm that this still happens with a default theme? If so, I can try to test it later myself. If the problem resolves itself, then it’s likely your theme and not NMR.

    Thread Starter haagmeister

    (@haagmeister)

    I am using 2016 theme and it was just updated. I am also using Simple Restrict, User Role Editor and Peter’s Login Redirect so I can control pages and the flow of users.

    I just think its strange that it is only in Edge and IE. Trying to figure it out.

    Plugin Author HelgaTheViking

    (@helgatheviking)

    Those plugins shouldn’t have an impact as far as I know. I guess this confirms that Microsoft browsers are still terrible. I have a lot on my plate today, but I’ll try to check this out when I can. Could you screenshot your menu settings so I can try to reproduce?

    Thread Starter haagmeister

    (@haagmeister)

    You can also just log into our account and check it out. just email me directly and I can set you up with a login.

    Plugin Author HelgaTheViking

    (@helgatheviking)

    I’m seeing an empty menu with Chrome as well, so I don’t think it’s browser-specific. If I had to guess all your menu items are configured for your custom roles (how were they registered?), but you may not have given the custom role’s capability to the default admin?

    NMR uses current_user_can($role) (which isn’t ideal, but better than asking users to choose capabilities like edit_posts in the NMR settings) to check whether an item can be displayed. Usually an admin can do anything any of the other roles can do, but your roles are custom and maybe they didn’t inherit the new role’s custom capabilities? I don’t know for sure, but I’m guessing that none of the menu items are being shown to the admin, hence an empty menu. The fastest way to fix that would be to check “admin” as an additional setting.

    Can you also test as a particular role? Additionally, if every menu item requires a role, then non-logged in users (once/if the site becomes public) won’t see a menu either.

    Thread Starter haagmeister

    (@haagmeister)

    There may be some CSS issues with chrome. Do you not see the menu items in the code? I am seeing the menu on every browser (current versions) that I have except Edge. With edge it is not just off of the page but the div container is empty.

    Thread Starter haagmeister

    (@haagmeister)

    I am now seeing the menu in Edge. I cleared cache then closed and reopened. I can see it. I see it across the board using the test account I sent to you.

    Plugin Author HelgaTheViking

    (@helgatheviking)

    The Cache Monster strikes again. Can we mark this as resolved?

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Menu with no content’ is closed to new replies.