The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Facebook like button to the left of the connect button?
Hey there,
I'm trying to place a like button to the left off the connect button in the header. However I am having some difficulty doing so. So far I have tried placing the like button code before: Code:
<vb:if condition="$vboptions['enablefacebookconnect']"> {vb:raw facebook_header} </vb:if> Any help would be greatly appreciated. Josh |
#2
|
|||
|
|||
What does the code for your like button look like?
|
#3
|
|||
|
|||
I'm just using the standard iFrame code:
Code:
<iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FAppGabble%2F291149524274050&send=false&layout=button_count&width=50&show_faces=true&action=like&colorscheme=light&font&height=21&appId=248697491832660" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:50px; height:21px;" allowTransparency="true"></iframe> |
#4
|
|||
|
|||
I'm not an html expert or anything, but it could be because where you're putting it is between two <li> tags. Maybe try putting it in the facebook_header template after the opening <li ... tag? But that will mean that it'll be inside the <vb:if condition="$vboptions['enablefacebookconnect']"> condition.
|
#5
|
|||
|
|||
I tried what you said again, but the same affect happens, the Facebook connect button gets pushed down, it's as if the width of the button is the maximum width anything can be in that area before a new line is formed.
|
#6
|
|||
|
|||
Hmm...maybe try adding display:inline; to the iframe style attribute.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|