Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #654079

    hi,

    I am trying to achieve this look for the header secondary menu

    I found a code online but it is far from pretty http://oemden.com/wp-code-insertion-to-get-login-on-the-header/

    see private link content how it currently looks on my site, how do i achieve the same look on one line and have other buttons like Sign up

    Also, how can i display the current logged in user first/last name instead once logged in, something like “Welcome John Smith”

    • This topic was modified 8 years, 5 months ago by yingyang.
    #655288

    Hey kilimats,

    I cannot see login form on your website. Have you removed it?

    To show certain menu items to only logged in users, please go to Appearance > Menus and click “Screen options” on the top right corner and check “CSS Classes” and then click on your menu items and give them two different classes, “only-li” for logged in and “only-lo” for logged out users – http://kriesi.at/documentation/enfold/wp-content/uploads/sites/2/2015/09/Screen-Shot-2015-09-28-at-16.55.48-1030×621.png
    Then add following code to Quick CSS in Enfold theme options under General Styling tab

    .logged-in .only-lo,.only-li { display: none; }
    .logged-in .only-li { display: block !important; }

    Best regards,
    Yigit

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.