× Joomla Facebook Connect support forum

Topic-icon Module Padding (SOLVED)

Active Subscriptions:

None
15 years 4 months ago #6883 by bil7y
HI where can I adjust the (css) padding on the module for login. I am using only the login button and there is too much padding around it and I want it smaller. I would also like to center it. Thanks.
The topic has been locked.
Support Specialist
15 years 4 months ago #6891 by alzander
Replied by alzander on topic Module Padding (SOLVED)
Can you link to your page and we can give you a snippet of code that you should use. Unfortunately, we're not currently putting a great div around the button that you might be able to use to remove the padding. Overhauling the JFBCLogin module is in the future to make it easier to style and modify in a bunch of new ways.

Thanks!
The topic has been locked.
Active Subscriptions:

None
15 years 4 months ago #6894 by bil7y
Replied by bil7y on topic Module Padding (SOLVED)
Thanks Alzander. The Site is www.waterhound.com
The topic has been locked.
Support Specialist
15 years 4 months ago #6901 by alzander
Replied by alzander on topic Module Padding (SOLVED)
In the module configuration, I'd recommend setting the Module Class Suffix to something like "-jfbclogin". Then, if you add the following to your template, it should fix the extra padding:
.module-jfbclogin {
padding: 0px;
}

Obviously, you can set the padding to whatever you want. Currently, it's 15px all around, just so you know.

Good luck, and let us know if that works for you!
The topic has been locked.
Active Subscriptions:

None
15 years 4 months ago #6903 by bil7y
Replied by bil7y on topic Module Padding (SOLVED)
Thanks - solved
The topic has been locked.
Support Specialist
15 years 4 months ago #6908 by alzander
Replied by alzander on topic Module Padding (SOLVED)
Fantastic. Glad we could help. If you have anything else, feel free to ask. If you use JFBConnect and would like to leave a rating or review on the JED, we'd love it.

Thanks again, and good luck!
The topic has been locked.