Please Log in or Create an account to join the conversation.
You can use CSS for all of that. You can add your custom CSS to CBs template as well to override it. See the below on how to use template CSS overrides in CB.Hi, I've searched endlessly for even the slightest hint on how to customize the login form with no success. I'd like to be able to change the field background colors, change the button color, change the alignment and so forth. Is there any simple documentation or tutorials on how to do this?
Seams a bit harsh. It matches Joomlas nearly 1:1. Maybe doesn't fit your specific Joomla template well though since we design CB for Joomlas default template.The default login form is horrible looking.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Your browsers developer tools can help with this. Right click and inspect element or press F12 to open the console directly. You can also find the default layout files below (this is standard for all modules with layouts).I'm not sure how to style the login form because I can't tell how the div's are set and what the classes are being used with the styling.
Styling your site is coding. If you've no coding experience you'll have difficulty personalizing your site.You guys need to remember that most of us are using Joomla because we aren't hard core coders.
We are not going to provide step by step instructions for writing CSS to style things. We can provide where you can put the CSS as I've done above, but beyond that what CSS you use is entirely up to you. At best we can provide simple examples.But having clear instruction step by step as to how and where to effect the changes needed are definitely a must have.
You need to write the CSS and add it to CB as instructed above or add it to your Joomla template CSS file. If you already have some CSS classes with the styling you're wanting you can add those CSS classes to your CB Login module under the Styles tab. I however believe you need a general CSS tutorial, which you can find on the MDN below.You'll see in my screenshot that I can't figure out how to change the color of the background of the username and password fields.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
99% of styling cases you simply don't. You style the classes that are already on the elements instead of adding new ones. CB Login module is a bit of an exception since it has parameters to add your own CSS classes to various elements of the form under the Styles tab of your login module.I can't find where to add the classes to the form fields like in the div's
For that you'd use a layout override and add your custom CSS classes directly in your layout. Layout overrides are documented by Joomla and are not specific to CB. See the below documentation regarding this.documentation explaining where those scripts are located to add the classes to that I will use in my css
The login page is just your login module rendered in the page. So all of the above described usages apply to the login page.I can't find anything on where the login form script is located in my server directory. I can create all the css I want but that will do no good if I don't know where the login form script is located to add the classes to. Does that make sense?
Please Log in or Create an account to join the conversation.