Topic-icon SOLVED: change width of horizontal login

Active Subscriptions:

None
10 years 6 months ago - 10 years 6 months ago #42124 by d2dpcs
The width of the horizontal login works fine on larger screens. I'm interested in making the user/password text boxes a little narrower, though, so the login module looks better on smartphones. As it is now, the Login and Register buttons drop to a second line on smartphones. I want it to display in one line.

www.erichay.es/kiosk

Thanks,
Eric

Last edit: 10 years 6 months ago by d2dpcs.
The topic has been locked.
Support Specialist
10 years 6 months ago #42174 by alzander
Sorry for the delay. You can add something like the following to your template or to a Joomla Login theme for SCLogin file:
.sclogin-joomla-login input {
width: 50px !important;
}
That width will be used for the boxes. The default width, I believe is about 90px, so anything smaller should make it a little better on smart phones.

I hope that helps, but if not, just let us know.

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

None
10 years 6 months ago #42258 by d2dpcs
Worked perfectly. Thanks.
The topic has been locked.
Support Specialist
10 years 6 months ago #42274 by alzander
Glad to hear that got you going. Should you need anything else, just let us know.

Finally, if you haven't already, please consider leaving a rating and review for SCLogin, or our support, on the Joomla Extension Directory. It certainly isn't required, but is very appreciated:
extensions.joomla.org/extensions/access-...authentication/24054

Thanks,
Alex
The topic has been locked.