how to add a facebook icon next to rss icon at the top of theme
-
Admin
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 thealtattribute 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.
dsol,
your link is dead. the page isn’t loading.
Haha – .NET! – .com isn’t ready yet.
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
Try inserting this code in your child theme’s style.css file:
#rss a{
margin-left:10px;
}
#rss a.rss_link{
margin-left:23px;
}Modify the
margin-leftproperty for the#rss aelement and leave themargin-leftproperty for the#rss a.rss_link.Admin
URL please?
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.
Thanks,
Brent
- You must be logged in to reply to this topic.
