Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Theme sprite replacement - best practices?
Rajio
✭
I'm creating a new theme and Its pure CSS so far, no images used other than the logo which was uploaded from the dashboard, and the favicon which I just needed to include in my theme folder. I want to replace star_sprite and buttons.png with ones matching my theme. Whats the best way to do this?
I don't want to write out a full theme path in my css file, that doesnt seem ideal.
I don't want to write out a full theme path in my css file, that doesnt seem ideal.
0
Answers
a.Bookmark,
a.Bookmarked,
a.Bookmarking {
background: url('images/star_sprite.png') top center no-repeat;
}
to custom.css ... the only result is that the star sprite is changed to the new image but won't change states now. i cant seem to fidn the css for different states.
Need to also add
a.Bookmarked {
background-position: center center;
}
a.Bookmarking {
background-position: bottom center;
}
to custom.css