Adding colour to calendar spite
I’m in the process of switching my theme to Graphene, but I have a question that I cannot seem to find a clear solution for. I believe to do what I want I need to add some custom CSS and possibly add icons/sprites or something similar, but here’s the question.
Currently, the basic install of Graphene has the calendar icon or sprite as being grey. I would like to change that to a colour, to be precise, twelve different ones, one for each month of the year.
Can anyone please give me a clear method of doing this? Please keep in mind that I am very much a beginner at using CSS and very clear instructions would be appreciated. Thank you!Mod
The calendar icon comes from the master sprite image. If you don’t want to use the default one, then you will need to do one of two things:
1) Create a separate icon image for every month of the year and apply that via custom css.
2) Create a separate appearance for every month of the year via css.
The hard part is changing that color for each month of the year. You would need to use a child theme and a custom function.Mod
I’ve looked, but nothing like this exists as a plug in by itself. I do know that it exists, the icon effect I mean, with the WP Touch plugin however. Posts that appear on a ipad or similar appear with different coloured calendar icons/sprites. I think I’ll have to see how that is done, it uses a theme that overrides the standard theme in order to display the site. Maybe I can use the CSS from that as a guide to doing what I am thinking of. If anyone has other thoughts, please leave a comment? Should I figure something out, I’ll post a thread explaining how I managed it for comment.
- You must be logged in to reply to this topic.