Jump to content
Sign in to follow this  
djb21au

Email icon to match the others?

Recommended Posts

djb21au

Anyone know where I might find a little email icon to match the other icons in the header?

Share this post


Link to post
Share on other sites
Kate

Hey David, You can modify the sprite icon and re-upload it (after adding the envelope).

Share this post


Link to post
Share on other sites
djb21au

Thanks Kate. Where do I find the sprite icon?

Share this post


Link to post
Share on other sites
cmunns

It would be sprite-socialicons.png in the platformpro main images folder

Share this post


Link to post
Share on other sites
djb21au

Whoa, I might actually be getting the hang of this! Took Kate and Adam's guidance, got to work and achieved my end. For those who follow, this is what I did: 1/ Downloaded sprite-socialicons.png from the main images folder in PlatformPro theme. Opened it in Photoshop, made it longer. Made up my own envelope buttons by combining some icons off the web and re-saved the finished file as sprite-socialicons.png again. If someone wants the same thing, you can use my file from here: sO6DL.png 2/ Uploaded the new sprite file. I uploaded it to the images folder in the base theme. As backup, before I uploaded it I renamed the old sprite file (which was also sitting in the Base theme all along, but that's by-the-by). 3/ Created a class for my new email sprite icon by adding code to the Custom Code box: ` .icons .emaillink {background: url("http://www.mywebsitename.com/wp-content/themes/platformbase/images/sprite-socialicons.png") no-repeat scroll -220px 0px transparent;} .icons .emaillink:hover {background-position: -220px -22px;} ` (There's a decent explanation of how the sprite thing works on this website: http://clty.be/e2r1fU) 4/ Added this line to the icons div - in my case a modified version which sits in functions.php in the Base: `` (This was done having already set up Feedburner and activated the email option.) And job done. It's in action, and working as intended, at the website I've just about finished: www.streetsofmytown.net Hope that helps someone else down the track. David

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×