API
Version 7.x > API > Facebook Connect button View modes: 
User avatar
Certified Developer v7
Certified  Developer v7
yonatan-4hilton - 10/3/2012 12:59:49 AM
   
Facebook Connect button
Hi ,
there is any chance to give different style for Facebook Connect button?


User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 10/3/2012 2:25:32 AM
   
RE:Facebook Connect button
Hello,

As the only option to style Facebook button in the Kentico I see overwriting default button style because the connect button is loaded right from the Facebook plug-in.

I recommend you to inspect the button element (i.e. in Firefox) to find out which classes and style it uses by default and then modify (overwrite) them in your CSS file.

Take a look at the example.

Best regards,
Martin Danko

User avatar
Certified Developer v7
Certified  Developer v7
yonatan-4hilton - 10/3/2012 6:39:49 AM
   
RE:Facebook Connect button
Hi,
im using Facebook Connect web part.
the Facebook button is a part of the web part and as i can see he is located inside iframe and i cant overwrite the css.

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 10/3/2012 9:03:04 AM
   
RE:Facebook Connect button
Hi,

I'm afraid that in this case, the only solution is to create your own WebPart using the Facebook API.

Best regards,
Martin Danko