how to add a facebook icon next to rss icon at the top of theme
In Andrew’s code, you need to replace the URL in the
<img src="http://yourlink.com" />with the URL to your icon. While I’m at that, you’d probably want to add the
altattribute to the
<img>tag as well so that if for some reason the image is not available, the alt text will be displayed.
<img src="http://link.to.image" alt="Image alternate text" />
Sorry for the late reply. I’ll be away on vacation and won’t be able to reply to this forum as often.
No problem Syahir! Hope the vacation goes well.
My image links were correct, but I found the problem was with the child theme in general.
I’ve got the icons showing up and working now.
Any way I could bring them closer together though?
They are a bit wider spaced than Andrews.
AnonymousNovember 22, 2010 at 9:24 pm #11428
your link is dead. the page isn’t loading.
AnonymousNovember 23, 2010 at 5:20 am #11430
since you’re posting the direct path to the images in your href statement, try removing all the css for the buttons to see if that helps.Admin
Sorry to beat a dead horse here, but I just upgraded my site with the latest version of Graphine (which I really like), but the Facebook, Twitter, and E-mail links that I had put on the top of the page (next to the RSS) have disappeared.
Any idea how I can put them back? The old method of putting them in the function.php (as outlined here) doesn’t seem to work anymore. Either that or I went stupid, which is quite possible considering I have very little knowledge of PHP.
Any help you might have would be greatly appreciated.
- You must be logged in to reply to this topic.