Topic-icon jfbc makes space in template top

Active Subscriptions:

None
8 years 6 months ago #55083 by bison
HI
When enable the jfbc System - JFBCSystem a space shows in top of my template.

Please advise how to get this fixed.

Best regards
Bison
The topic has been locked.
Support Specialist
8 years 6 months ago #55084 by mel
I see that you've run Autotune on several of your sites. Could you please provide a specific URL where this is happening and with the plugin is enabled, so that I can inspect the page to see if there is an obvious element causing the issue?

-Melissa
The topic has been locked.
Active Subscriptions:

None
8 years 6 months ago #55086 by bison
Hi Melissa

Site is mfonline.dk. The small space in top of the template, is showing, when the System - JFBCSystem is enabled.

Best regards
Bison
The topic has been locked.
Support Specialist
8 years 6 months ago #55090 by mel
There is a div with id "fb-root" that we put on the page to add the Facebook javascript and initialization. For some reason, it actually looks like JomSocial is setting a margin on JFBConnect's div. In /components/com_community/templates/jomsocial/assets/css/style.css around line 2926, they are setting a margin-top of 8.65248px. This is your problem.

-Melissa
The topic has been locked.
Active Subscriptions:

None
8 years 6 months ago #55091 by bison
Hi Melissa
Thanks alot for checking out the problem. Do I set the margin to 0 ?
I`m not a programmer, so I´m a little lost..

Regards
Bison
The topic has been locked.
Support Specialist
8 years 6 months ago #55093 by mel
Yup, that should be 0px or 0.

In the future, most browsers like Chrome and Firefox have developer tools included in them. You can inspect the elements on your page and assign temporary css values to them to test out quick changes. That's how I found this.
The topic has been locked.