Is there a way of enlarging the Facebook send button by using css on it ?
The small send button seems very miniature for the site am trying to build with its bigger font size
Please help
You can use CSS transforms like scale, scaleX or scaleY to change size of elements.
To get Send Button with size of 150% you may use something like:
.fb-send, fb\:send {
transform: scale(1.5);
}
You may see this in action (without polyfill)
Notes:
-webkit
, -moz
, -o
and -ms
.Update:
Aside of using CSS for scaling the original button you may use Send Dialog as suggested in other answer. Use JavaScript SDK (using method send
of FB.ui
) and your custom button that may look as you wish, just fire next code once clicking on custom button:
FB.ui({
method: 'send',
name: document.title,
link: document.location.href
});