Topic-icon Appearance of Login / Logout Buttons

Active Subscriptions:

None
9 years 11 months ago #58682 by StefanSchoch
Hi there,

I know I had this topic on another site before, but I forgot hwo to solve it... :-(

Problem is that the buttons of the SCLogin module look very different from my template stlyes.
www.integralzen.de/mondo-zen-praxisabende.html

How can I make sure that SClogin uses the template button styles?

Thx,
Stefan
The topic has been locked.
Support Specialist
9 years 11 months ago #58686 by alzander
The post below is the previous topic you created on it, along with our recommendation on how to update our login file and how to make the change permanent:
www.sourcecoast.com/forums/non-commercia...gin-/-logout-buttons

I hope that helps, but if you need anything else, please let us know.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
9 years 11 months ago #58688 by StefanSchoch
Hi Alex,

thx for answering.
I found the post and applied the changes, looks fine.

But - wouldn't it be easier, if you would use the standard button appearance of the sites template as a default (at least as an option to choose in the SCLogin configuration) and then not overwrite it when the module is updated?

Changing PHP files is not my daily business and a I have a hard time keeping track with all these changes. With each update, I have to notice and apply the change manually again.
That's veeeery inconvenient for me.

Any ideas on that?

Thx,
stefan
The topic has been locked.
Active Subscriptions:

None
9 years 11 months ago #58689 by StefanSchoch
And another question:

currently there is no space between the login and the 'register' button.
How can I manage to insert a space between them and habe then centered?
www.integralzen.de/blog-artikel/uebersicht.html

Stefan
The topic has been locked.
Support Specialist
9 years 11 months ago #58692 by alzander

But - wouldn't it be easier, if you would use the standard button appearance of the sites template as a default (at least as an option to choose in the SCLogin configuration) and then not overwrite it when the module is updated?

Unfortunately, all templates don't have a 'standard button appearance'. There's no way for us to detect what template each user has and how it will look. We'd love to have a way to make sure SCLogin looked the same as every template, but it's not possible, so we try to make it look good on its own in any template. Some modifications may be necessary if you want to integrate it further into your site.

Changing PHP files is not my daily business and a I have a hard time keeping track with all these changes. With each update, I have to notice and apply the change manually again.
That's veeeery inconvenient for me.

As noted in the post I linked to, you can create a template override, which makes the changes permanent. To do that, put the file you edit into the /templates/<YOUR_TEMPLATE>/html/mod_sclogin folder.

That's the standard way to override output from any extension and make the changes permanent.

currently there is no space between the login and the 'register' button.
How can I manage to insert a space between them and habe then centered?

The below styles should do what you're looking for:
div#form-sclogin-submitcreate {
    text-align: center;
}

div#form-sclogin-submitcreate button {
    margin-bottom: 10px !important;
}
You need the !important in the last one because your template is also setting a margin with !important somewhere else, which makes it hard to override.

I hope that helps,
Alex
The topic has been locked.