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

XF 1.4 template help

Discussion in 'Styling and Customization Questions' started by Brad P, Mar 22, 2015.

  1. Brad P

    Brad P Active Member

    evening all,

    i am currently working on a social block in my sidebar, i have the template like this
    [​IMG]
    how do make so when i click the icon on the actual social icon it goes to the social page?
    [​IMG]
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

    Brad P likes this.
  3. Brad P

    Brad P Active Member

    <a href="URL HERE" ? but how would i put it in the template
     
  4. Dylan V

    Dylan V Well-Known Member

    Hi,

    Replace your current code with:
    Code:
    <div class="section">
        <div class="secondaryContent">
            <h3>Get Social</h3>
            <a href="YOUR LINK URL"><img src="LOCATION OF THE IMAGE" alt=""></a>
            <a href="YOUR LINK URL"><img src="LOCATION OF THE IMAGE" alt=""></a>
            <a href="YOUR LINK URL"><img src="LOCATION OF THE IMAGE" alt=""></a>
        </div>
    </div>
     
  5. Brad P

    Brad P Active Member

    Thank you I did that last night. It works but is there a way of making it when you click the icon it opens another page?
     
  6. Brogan

    Brogan XenForo Moderator Staff Member

    Use target="_blank" in the a href.

    Code:
    <a href="http://example.com" target="_blank">Example</a>
     
  7. Hovi

    Hovi Member

    I can just provide you with our code and make your life easier if that interests you. Perhaps the code for the premium page as well? :whistle:
     
  8. Brad P

    Brad P Active Member

    I've figured it out ta. Our premium page could do with updating (sarcasm)
     

Share This Page