[Resolved] Integraten of modal login and registration on Frontpage

Home Forums Support Integraten of modal login and registration on Frontpage

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1474197
    Carsten

    Hi there, I want to integrate modal login and registration on my Frontpage using a button code:

    <a href="#login" class="lrm-login lrm-hide-if-logged-in">login</a>

    But I don’t know, how to approach this. Can I add this code directly to a button block on my Frontpage, or should I create an element, and in that case, which and how?

    Thanks!

    #1474211
    David
    Staff
    Customer Support

    Hi there,

    yes you could add that to a HTML block ( or as HTML in the code view of the classic editor ) in your front page.
    To get the theme button styling simply include the button class in your HTML like so:

    <a href="#login" class="button lrm-login lrm-hide-if-logged-in">login</a>

    #1474240
    Carsten

    Hi there, thanks for your reply

    yes you could add that to a HTML block ( or as HTML in the code view of the classic editor ) in your front page.

    Sorry for bringing up a solution myself ;-), but apparently adding the selectors lrm-login, and lrm-register to the buttons css classes seems to be the easiest way?

    #1474280
    David
    Staff
    Customer Support

    Haha – yes πŸ™‚ Sorry hadn’t had my Coffee this morning lol

    #1474287
    Carsten

    Then you are excused, ha ha, it’s early, and coffee in the morning is important, luckily I had mine πŸ˜‰

    Thanks again!

    #1474431
    David
    Staff
    Customer Support

    Thank you! Much appreciated.

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