cb login centered

13 years 1 month ago #81621 by lukass2000
cb login centered was created by lukass2000
Hi!

I Did CB 1.2RC4 and the CB login modules on my Joomla 1.5.8 installed.

Now the module is left (I mean text and logos is not the module position).
There is a possibility the module Center display?

After login, everything is centered.

THANK YOU!

Please Log in to join the conversation.

13 years 1 month ago #81649 by krileon
Replied by krileon on topic Re:cb login centered
lukass2000 wrote:

Hi!

I Did CB 1.2RC4 and the CB login modules on my Joomla 1.5.8 installed.

Now the module is left (I mean text and logos is not the module position).
There is a possibility the module Center display?

After login, everything is centered.

THANK YOU!


Do you have the orientation set to vertical or horizontal?

Horizontal the login, password, text, button, etc. Will be aligned to the left. Upon login the button and avatar become centered.

If vertical it needs to be in a vertical module position as per your template.

You can center the entire module using a custom module class suffix.

Add the following to your templates CSS:
[code:1]
.mod_login {
text-align:center;
}
[/code:1]

Post edited by: krileon, at: 2008/12/08 23:53


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

13 years 1 month ago #81662 by lukass2000
Replied by lukass2000 on topic Re:cb login centered
The CSS entry works perfectly, thank you!

Can I use the line spacing also increase by CSS?

THANK YOU!

Please Log in to join the conversation.

13 years 1 month ago #81666 by krileon
Replied by krileon on topic Re:cb login centered
lukass2000 wrote:

The CSS entry works perfectly, thank you!

Can I use the line spacing also increase by CSS?

THANK YOU!


Yes, that class modifies the entire login module. Any CSS used inside of it will affect all of the login module. :)


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

13 years 1 month ago #81672 by lukass2000
Replied by lukass2000 on topic Re:cb login centered
Can you tell me what I wrote in the CSS file needs?

Please Log in to join the conversation.

13 years 1 month ago #81675 by krileon
Replied by krileon on topic Re:cb login centered
lukass2000 wrote:

Can you tell me what I wrote in the CSS file needs?


What are you trying to add? You're just wanting some spacing between the input boxes?

[code:1]
.mod_login td .inputbox {
margin:5px;
}
[/code:1]

Change the margin to whatever distance you want between in the input boxes.

Post edited by: krileon, at: 2008/12/09 01:06


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.189 seconds