Topic-icon Change layout of login module

Active Subscriptions:

None
10 years 7 months ago #36890 by Judah Raine
Hi there - I would like to have the login module display slightly differently:

All horizontal
Facebook Google Username Password Login Remember Me Register

It's usable as it is, but takes up too much vertical space and leaves too much blank space to the right.

I'd appreciate your assistance

Many thanks,
Jude
The topic has been locked.
Support Specialist
10 years 7 months ago #36895 by alzander
Can you post the URL where we can see the module in the current form, and we should be able to help you with some CSS to help from there.

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

None
10 years 7 months ago #36926 by Judah Raine
The topic has been locked.
Support Specialist
10 years 7 months ago #37003 by alzander
Jude,
The easiest way to make everything horizontal is to make the following modifications. In the /modules/mod_sclogin/tmpl/login.php file, around line 43, you'll see:
require(JModuleHelper::getLayoutPath("mod_sclogin", "joomlaLogin_" . $layout));
            require(JModuleHelper::getLayoutPath('mod_sclogin', "socialLogin"));
Swap those two lines and that will make the social buttons appear first.

Then, add the following to your template's CSS file:
#form-sclogin-remember {
float: left;
clear: none;
}
I hope that gets you going, but if you have any other questions, just let me know.

Thanks,
Alex
The topic has been locked.