This topic has 5 replies, 2 voices, and was last updated 6 years by Radu.

  • Author
  • #206347
     adyrockstar
    Participant

    Hi There,

    Can you guide me how can I call the login modal from a Kleo button shortcode?

    I know the class for modal is class=”kleo-show-login”. But I’m not able to use it in a button.

    Thanks,

    Andrews

    #206378
     Radu
    Moderator

    Hi,

    Or you add that class for any shortcode that support class or to any html element

    COPY CODE
    
    <a href="/login" class="kleo-show-login">Show Login</a>
    

    Or you can add this #show-login at the end of the link
    Example

    COPY CODE
    
    <a href="/login#show-login">Show Login</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
    #206384
     adyrockstar
    Participant

    Thanks, but this will put the modal open link on a text (not button).
    I need to open the modal window on button click. Can you please tel me how to do that?

    #206396
     Radu
    Moderator

    Hi

    Are you referring to a visual composer button ?

    If yes try the next shortcode

    COPY CODE
    
    [kleo_button title="Show Login" href="#" icon="0" el_class="kleo-show-login"]
    

    Cheers
    R

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Ticket solution
    #206467
     adyrockstar
    Participant

    Thanks

    #206483
     Radu
    Moderator

    No problem

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

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?