This topic has 4 replies, 3 voices, and was last updated 6 years by Radu.

  • Author
  • #207108
     wholistic
    Participant

    Hello,

    I would like to know how I can create a button that will open a login popup. What URL should I use?

    The button needs to be on Members Only page which asks the user to log in when they are trying to access a members-only page. This means that once they click on the button, the login button will show and after they log in, the current page will be reloaded.

    Please let me know how this can be done. Thank you.

    #207136
     Laura
    Moderator

    Hello, will assign the ticket to a higher support level who can help and advise you in your query.
    Thanks! ?

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #207211
     Radu
    Moderator

    Hi,

    there are two ways to show the login pop-up

    1. Adding at the end of the link /#show-login example : http://rdu.local/kleo/#show-login

    COPY CODE
    
    <a href="http://rdu.local/kleo/#show-login">Show Login by direct link</a>
    

    2. Adding this class kleo-show-login to the element that you want to click and to appear the pop-up.

    COPY CODE
    
    <a href="http://rdu.local/kleo/" class="kleo-show-login">Show Login by class</a>
    

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #207212
     wholistic
    Participant

    Hi Radu,

    I am not sure if I made myself clear that I would need a dynamic link, as the Members Only page shows anytime a page is limited to members only. So the page I would want the re-fresh might be different every time.

    #207514
     Radu
    Moderator

    Hi,

    Still not understanding fully the scenario with that button sorry can you explain better using screenshots with adnotations and also showing url of the page that you want to add the button.

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 5 posts - 1 through 5 (of 5 total)

The forum ‘General questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?