Hi people, is there any way to style the default FB button?? I really need to do this. I read some articles but i can't see anywhere the string "

any help will be appreciated.
thanks.

Comments

lliss’s picture

Nope. It comes from facebook and changing the style is actually against the terms of service.

lliss’s picture

Status: Active » Closed (won't fix)
clashar’s picture

Sorry for re-opening of this issue.
Could you please clarify whether I can style somehow at least work breaking of text?
In french it's too long text within 1 line for my block:
"Soyez le premier de vos amis à indiquer que vous aimez ça."
what in translation is smth like : "Be the first to like this between your friends"

or there is no at all any customization through CSS?
Maybe any other workaround?

clashar’s picture

Status: Closed (won't fix) » Active
lliss’s picture

Status: Active » Closed (won't fix)

Not with this module. The content comes in through an iframe so it is not really possible to manipulate the content within it. You can manipulate the css for the frame itself (make it wider etc) and this might work for you but you can't really target the content with css.

FAAREIA’s picture

It won't fix, since we can't target everything within the iframe......but there is a workaround that works in FF and Chrome, IE does not support it and Opera needs a little code.

You need to create a div with position absolute, and put it over the iframe. Then insert the magic CSS line "pointer-events: none;". This will make you to click through the div, despite its over the iframe.

Hope it helps.
There are some codes out there simulating the pointer-event thing, but i didn't apply any.

lliss’s picture

Well if IE doesn't support it, it's not a great option. But I do appriciate learning a new trick.