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?
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:
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?