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

XF 1.5 How to move pinterest button?

Discussion in 'Styling and Customization Questions' started by viper357, Feb 5, 2016.

  1. viper357

    viper357 Active Member

    Hi all, I need some help moving a button please.

    I have added a Pinterest button to my share_page template...here is a snippet of the code: the blue text is the code I have added.

    But now it is putting the button all the way on the right hand side, like this:


    Is there anything I can do to move the button to the left, either before the Twitter button or inbetween the FB and Twitter buttons?

    Thanks. :)
  2. Brogan

    Brogan XenForo Moderator Staff Member

    It is the width of the Facebook iframe which is causing it to be that far over.

    Consider adding the Pinterest button before it.
    viper357 likes this.
  3. viper357

    viper357 Active Member

    I have done, the code is placed before the Twitter button but for some reason it's putting it on the right?
  4. Brogan

    Brogan XenForo Moderator Staff Member

    Replicate the existing code in the template - ensure you add the shareControl class to the div, which is what floats it left.
    <div class="shareControl">
        Pinterest code
  5. viper357

    viper357 Active Member

    That solved it, thank you. :)

Share This Page