• Resolved NevilleT

    (@nevillet)


    I had some major issues which caused the website to crash. I managed to fix it by turning off plugins and finding the one causing the issue, but now I have a “Login” or “Logout” to WordPress above the menu on the right-hand side. It was not there before, and I cannot work out how to get rid of it. I guess it is a menu but cannot work out how to hide or delete the item. I notice after I logged in to this forum, the same “logout” appears on this site as well.

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Most likely the login link is generated automatically. Try creating an empty secondary menu and check.

    Thread Starter NevilleT

    (@nevillet)

    I have a menu, but this is not part of the existing menu. It is above the main menu.

    Your theme has 2 types of menus: “secondary” and “main”. You need to add an empty “secondary”.

    Thread Starter NevilleT

    (@nevillet)

    I now have two menus.
    Custom Menu which has two menu items. I have ticked Automatically add new top-level pages to this menu and Main Menu (Header)
    Secondary (Secondary Menu(Header)). The same two options are ticked.

    The problem is still there.

    It is true that your login link is coming from a menu called “Secondary Menu.” If you can’t hide it yet, paste these two lines of code into the CSS field of your theme.

    nav#secondary-nav {
        display: none;
    }
    • This reply was modified 2 years, 2 months ago by Rabby.
    Thread Starter NevilleT

    (@nevillet)

    Tried that and still it persists.

    Thread Starter NevilleT

    (@nevillet)

    Success!!! I put it in theme file editor and it did not work, but when I put it in additional CSS it worked. Thanks for all your help. I am not too clear on menus but will do some more reading and looking at videos to get my head around it.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    @rabby6 Please do not ask for off-forum contact.

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