In Sapphire/Security/MemberLoginForm.php it references a CSS/member_login.css and I was hoping that was where the CSS came from, but there is not such a file.
Anybody know where I can find the CSS for the login page?
Thanks.
This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.
Please use forum.silverstripe.org for any new questions
(announcement).
The forum archive will stick around, but will be read only.
You can also use our Slack channel
or StackOverflow to ask for help.
Check out our community overview for more options to contribute.
In Sapphire/Security/MemberLoginForm.php it references a CSS/member_login.css and I was hoping that was where the CSS came from, but there is not such a file.
Anybody know where I can find the CSS for the login page?
Thanks.
I believe most of the styles come from the 'form.css' in your selected theme. Or sapphire/css/form.css
Willr, thanks for your reply. Neither of those files seem to have any effect on the login page at all.
~ James
tried just viewing the source of the page and seeing what files are included?
Yeah, I have. It references classes I can't find in any CSS docs.
Most of the classes wont actually exist in a css file as they are just dynamically generated so that you can add your own styles if you want to. Use form.css to add styles using these classes that will only effect the login. By default all the forms on a site use the same styles that exist in themes/yourtheme/css/form.css
I use Firefox developer toolbar to help me pick out the right selectors for a certain element, it's great for that and many other things too.
Thanks for the input aram. I will try adding those styles and see if it works.
~ James