button instead link in login module

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

1/14/2020 1:17:21 PM
Total Posts 129

button instead link in login module

I would need to have the registration link in the login module as a button instead of a link. is there any way to do it? I'm using the bootswatch skin

6/9/2020 11:22:23 AM
Total Posts 211
Community Expert

mojoPortal Hosting & Design @ i7MEDIA!

Re: button instead link in login module

I think your best bet here is to add your button classes onto the register links' skin ID in the theme.skin: <asp:HyperLink runat="server" SkinID="LoginControlRegisterLink" CssClass="btn btn-primary" />

Otherwise you can use CSS to turn the link into a button. In .LESS you can use .loginmodule .lnkregister:extend(.btn all, .btn-primary all) { // extra styles here } - but in pure CSS you'll just want to copy the button styles in under the right class name.

Hope this helps.