Topic-icon Match SCLogin Button color to site

Active Subscriptions:

None
7 years 4 weeks ago #61219 by Inotachi
Hi,

How may I change SCLogin Button to match site color?

Best Regards,
Nev
The topic has been locked.
Support Specialist
7 years 3 weeks ago #61228 by mel
This will be a style change. If you can provide a specific URL where I can see the button, I could try to suggest a quick CSS style change that might work for you. Additionally, we'd recommend making a theme for your style changes to the SCLogin module, which you can read about here .

-Melissa
The topic has been locked.
Active Subscriptions:

None
7 years 3 weeks ago - 7 years 3 weeks ago #61234 by Inotachi
Hi Melissa,

Thanks for your reply.
I had to take the site down because of other issues ( I'm actually having issues with SC LOGIN when I activate "Use URL Rewriting" but this never happened before so I'm testing to find a conflict - If you could add any solutions to known issues about this it will be appreciated.)
Since I prefer SCLogin for most of my sites and understand CSS & hex color codes enough to make changes it would be nice if you could provide me the supporting code snippet and location in eg Joomla CSS such as Template>css> template.css; or: media/sourcecoast/themes/sclogin" or where I need to make the change, I would appreciate it :)

Meantime I will read "making a theme".

Many thanks!

Nev

ps I just read, "making a theme" and believe i half understand but I'll wait for your instructions rather than fiddle.
Last edit: 7 years 3 weeks ago by Inotachi.
The topic has been locked.
Support Specialist
7 years 3 weeks ago #61235 by mel
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:
.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
The topic has been locked.
Support Specialist
7 years 3 weeks ago #61236 by mel

I'm actually having issues with SC LOGIN when I activate "Use URL Rewriting" but this never happened before so I'm testing to find a conflict

Could you let us know more details on what you mean with this? What kind of issues?
The topic has been locked.
Active Subscriptions:

None
7 years 3 weeks ago - 7 years 3 weeks ago #61238 by Inotachi
Thanks for your reply and the instructions to modify color. Awesome!

Regarding logging in at front end issue I have been having numerous issues with SEO Setting set to yes in Joomla sites even a new instance tester. (Go Global Configuration>Site> SEO settings)

This issue only happens when I replace the default front end Joomla login.

In particular Use URL Rewriting which is standard for all my sites and I must have.

This would tend to suggest to me that it may be a server-side issue.

And yet hosting repeatedly advise it they believe it is not a server-end issue and that mod_rewrite is active and Joomla test suggests it is so.

This did not used to happen as I have successfully implemented 'Use URL Rewriting' on other previous sites without issue so I'm stumped for a solution. Have tried everything I can think of including reload site to another server.

• Config site is standard.
• .htaccess is standard and activated
• I'm not sure if I noticed correctly but I think maybe sometimes SCLogin has been locking itself and "Check-in" refers to modules table being checked out.

Attempt to login at front end results in various errors or none simply failing the login.

There is no issue with Admin login.

The Joomla standard login does work without issue but SCLogin and any other login extension fails.

Today SCLogin is giving a "The most recent request was denied because it contained an invalid security token. Please refresh the page and try again," and failed to log in.


Another login extension gave, " MOD_LOGIN_FORGOT_YOUR_PASSWORD
MOD_LOGIN_FORGOT_YOUR_USERNAME" and failed to log in.

Sometimes all the links on the site fail.

Just from replacing the default Joomla login.

I suspect I may need to change the code somewhere such as e.g. change the name of the standard Joomla login to that of SCLogin, for it to be identified and work but I'm not experienced enough to know where to start.

It is standard that 'Use URL Rewriting' will fail on MAMP on local server but once live it behaves normally.

I still reckon it may be server-side but hosting repeatedly assure me everything appears ok a their end.

Which really tells me nothing as their staff are more acclimatised to WordPress.

Whew! I hope I have offered a sufficiently clear overview.

Many thanks for your support in helping me address this. It is something I must beat.
File Attachment:
Last edit: 7 years 3 weeks ago by Inotachi.
The topic has been locked.
Active Subscriptions:

None
7 years 3 weeks ago #61239 by Inotachi
Hi,

re Color Change button

I can see and select 'whatever_name_you_like' in SC module, settings, backend but I can't get the colour to change.

Regards,
Nev
The topic has been locked.
Support Specialist
7 years 3 weeks ago #61254 by alzander
Nev,
I can't really tell a specific problem or cause from what you describe above. It sounds like switching to the SCLogin module causes problems, but then you mention:

Sometimes all the links on the site fail.

If that's the case, then it's not something specific to JFBConnect or SCLogin.

What I'd recommend, either way, is to start with caching. That's usually the culprit of things like you mention. Please disable any caching enabled in the Global Configuration area, the System - Page Cache plugin or any other extensions you have that are meant to 'optimize' the site.

I'm assuming you're not using any 3rd party SEF extensions, but if so, they could be part of the problem as well.

Beyond that, I don't have any great suggestions. Unless there's a reason you think the cause is specifically related to JFBConnect or SCLogin, I'm unsure how much help we can be beyond that.

I can see and select 'whatever_name_you_like' in SC module, settings, backend but I can't get the colour to change.

For this, please clear the caching in your browser in case it's keeping the old values. However, if you have caching enabled on your site, as mentioned above, that could be causing this as well.

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

None
7 years 3 weeks ago - 7 years 3 weeks ago #61267 by Inotachi
Thanks Alex,

I just looked at caching.

As it happens on a brand new instance of Joomla without any alterations and no additional caching extensions, I'm confused.

The issue happens only when I apply any front end login extension to replace the default Joomla one, not only SCLogin.

Will keep looking.

Regards,
Nev
Last edit: 7 years 3 weeks ago by Inotachi.
The topic has been locked.