Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

facebook like

  • escalona
  • escalona
  • OFFLINE
  • Posts: 113
  • Thanks: 5
  • Karma: 1
10 years 10 months ago #238759 by escalona
facebook like was created by escalona
Hi
I want to edit css field like Facebook. Specifically I want to remove text 'X friends to like this.'
I inspect with Firebug, but I think these rules do not work.
I think css sent from FB is more 'powerful'.
There is a way to do it.
Thank you.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
10 years 10 months ago #238780 by krileon
Replied by krileon on topic facebook like
Use Facebooks social plugin generator to generate a new Like button to display however you like. I don't recommend trying to override Facebooks CSS.

developers.facebook.com/docs/plugins/like-button/

When you click "Get Code" you want the string under "Place the code for your plugin wherever you want the plugin to appear on your page.". Then replace the data-href usage with [profile_url] (user scope), [site_url] (site scope), or [page_url] (page scope) as needed (e.g. data-href="[profile_url]"). Next supply the code to your custom facebook social plugin.


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 or Create an account to join the conversation.

  • escalona
  • escalona
  • OFFLINE
  • Posts: 113
  • Thanks: 5
  • Karma: 1
10 years 10 months ago #238786 by escalona
Replied by escalona on topic facebook like

Next supply the code to your custom facebook social plugin.


Please can you explain this more?
I guess the plugin code is replaced by the new generated. But where? I can not find
Thanks

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48477
  • Thanks: 8281
  • Karma: 1443
10 years 10 months ago #238788 by krileon
Replied by krileon on topic facebook like
When you create a Facebook Social Plugin field within CB > Field Management you set "Social Plugin:" to "Custom" and you can supply the HTML5 code that Facebook generates for you there.


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 or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum