Topic-icon [Solved] Login Button colour

Active Subscriptions:

None
7 years 3 weeks ago #61378 by sajpm
I need a custom colour in login button. How can i change it. :rolleyes:
The topic has been locked.
Active Subscriptions:

None
7 years 3 weeks ago #61379 by sajpm
Replied by sajpm on topic [Solved] Login Button colour

Melissa wrote: This should just be a couple of lines of CSS, such as the following two styles which instead of a blue login button will turn it green:

Code:

.sourcecoast .btn-primary:hover, .sourcecoast .btn-primary:focus, .sourcecoast .btn-primary:active, .sourcecoast .btn-primary.active, .sourcecoast .btn-primary.disabled, .sourcecoast .btn-primary[disabled] {
background-color: #008000;
}
.sourcecoast .btn-primary {
background-image: linear-gradient(to bottom, #3CB371, #008000);
}

Quick steps to make a theme:
1. Copy /media/sourcecoast/themes/sclogin/default.css to /media/sourcecoast/themes/sclogin/whatever_name_you_like.css
2. In SCLogin module backend > Login View Settings > Theme, select 'whatever_name_you_like' and Save.
3. Refresh on the front-end and the button color should be changed to green.

Should be that simple, so if you have problems, let me know.

-Melissa


This helped from another post

thank you
The topic has been locked.