Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #3636764
Apply condition show and hide in header builder
Closed

Comments

  •  1
    Ram Kumar started the conversation

    Hi,

    Can you please advise me to apply conditional logic?

    Query: 
    I want to hide your penci login/register control before login. After login, I want to enable(show) it because I have created a custom login and register menu (Menu3) on my website in the top menu but once a user logged then my custom menu hides and your penci login/register menu will be hidden. 

    Please find the attached screenshot for your kind reference. 

    Thanks  & Regards
    Ram Kumar

    Attached files:  Screenshot 2024-04-27 222857.png

  •  2,540
    PenciDesign replied

    Hi,

    Please go to Appearance → Customize → Custom CSS then add the following custom CSS code:

    .pc-login-register {
      display: none;
    }
    body.logged-in .pc-login-register {
      display: block;
    }

    Regards,
    PenciDesign.