Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Social Media Links

Options
  • 20-10-2015 10:09pm
    #1
    Registered Users Posts: 274 ✭✭


    Hi there,

    I am trying to add a link to my three social media icons on my webiste. I am looking at the below code

    <div id="header-right">
    <ul class="social-icon">
    <li><a href="index.html"><img src="images/home.png" /></a></li>
    <li><i class="fa fa-facebook"></i></li>
    <li><i class="fa fa-twitter"></i></li>
    <li><i class="fa fa-linkedin"></i></li>

    I am wondering where I add the a href to link to the facebook page, Twitter page and so on.

    Can anyone help me ?

    Dad11


Comments

  • Registered Users Posts: 6,252 ✭✭✭Buford T Justice


    Where did you get that code from?


  • Registered Users Posts: 274 ✭✭Dad11


    Nowhere particularly ended uo with that code as was advised by another developer to use it and worked in past



    Where did you get that code from?


  • Registered Users Posts: 6,501 ✭✭✭daymobrew


    Dad11 wrote: »
    I am wondering where I add the a href to link to the facebook page, Twitter page and so on.
    Around the FontAwesome <i> elements:
    [HTML]<li><a href="https://www.facebook.com/mypage/"<i class="fa fa-facebook"></i></a></li>[/HTML]


  • Registered Users Posts: 6,252 ✭✭✭Buford T Justice


    have you some css to go with that?


  • Registered Users Posts: 6,501 ✭✭✭daymobrew


    have you some css to go with that?
    No need - they will work (as long as you are loading FontAwesome).
    We would have to see your page and know how you want it to look to know the CSS needed.

    Post your attempt and people can review and tell you if your code needs changes.


  • Advertisement
  • Registered Users Posts: 6,252 ✭✭✭Buford T Justice


    Have you tried this instead?
    <ul class="fa-ul">
      <li><i class="fa-li fa fa-check-square"></i>List icons</li>
      <li><i class="fa-li fa fa-check-square"></i>can be used</li>
      <li><i class="fa-li fa fa-spinner fa-spin"></i>as bullets</li>
      <li><i class="fa-li fa fa-square"></i>in lists</li>
    </ul>?
    

    Using the layout they've implemented for list icons?


  • Registered Users Posts: 6,252 ✭✭✭Buford T Justice


    daymobrew wrote: »
    No need - they will work (as long as you are loading FontAwesome).
    We would have to see your page and know how you want it to look to know the CSS needed.

    Post your attempt and people can review and tell you if your code needs changes.

    Then the CSS is generated by FontAwesome


Advertisement