The Facebook Like/Reccommend widget has a means of setting the widget's width. Twitter and Google+ don't. In attempting to modify CSS to alter the width of the iFrames only to discover that there are inline styles that interfear with this. I looked at other issues for a resolution such as: #642642: How do I style service links? and #1178960: Style Tweet Widget Button and #1022582: Link alignment of shared links is out but they don't cover hard coded things like widths.
Any insight would be greatly appreciated.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 1661724-alter-widths-google-plus-4.patch | 6.91 KB | wiifm |
Comments
Comment #1
rbrownellAny suggstions anyone? Ultimately I would like to display all widgets side by side without 50px of extra white space.
Comment #2
radiobuzzer commentedIndeed this is a problem. I would be also interested in this
Comment #3
wiifmJust had a bug raised with me for this exact issue. I will look into a patch
Comment #4
wiifmSo after some research into this, I found that you can set the width of the Google plus button, so long as it is set to use the size 'inline' (see the docs).
From all the documentation I read on twitter, it is not possible to alter the twitter button width.
Attached is a patch that:
Comment #5
wiifmI also just read that you can use CSS to alter the width of the Twitter button - see http://stackoverflow.com/questions/9567504/cant-change-the-twitter-butto...
Comment #6
simon georges commentedPatch doesn't apply cleanly any more. Could someone re-roll this?
Comment #7
TheCrow commentedReworked #4 and committed, added info here http://servicelinks.altervista.org/?q=about/troubleshooting