• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

trying to add stumbleupon to share_page

Brandon Sheley

Well-known member
#1
no mater where I put this code

Code:
<script src="http://www.stumbleupon.com/hostedbadge.php?s=1"></script>
found here

http://www.stumbleupon.com/badges/

in the share_page template, it always falls to the bottom of the page like this.

stumble.png

I would like to add it to the right of the Twitter badge before toe google badge.
I'd like to add it in the sidebar share this page spot as well, but I think if I figure out the one in the post, the sidebar one will be easier.

Any help is appreciated

thanks
-Brandon
 

Brogan

XenForo moderator
Staff member
#2
This works for me.

Code:
<div class="shareControl"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1"></script></div>
You may need to create a new class and add some additional styling.
 

Brandon Sheley

Well-known member
#3
This works for me.

Code:
<div class="shareControl"><script src="http://www.stumbleupon.com/hostedbadge.php?s=1"></script></div>
You may need to create a new class and add some additional styling.
I'm not sure what I would add for CSS, it's still showing at the bottom of the screen
 

Brogan

XenForo moderator
Staff member
#4
Are you sure you're adding it on the correct place?

That line of code should be placed directly before this:
Code:
<xen:if is="{$xenOptions.plusone}">
 

Brogan

XenForo moderator
Staff member
#6
It can only be something else on the page which is interfering with it; some additional JavaScript or something.