Skip to content

Instantly share code, notes, and snippets.

@MuseMetrics
Created January 24, 2016 22:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MuseMetrics/c21ebc87fe4882563b3b to your computer and use it in GitHub Desktop.
Save MuseMetrics/c21ebc87fe4882563b3b to your computer and use it in GitHub Desktop.
(Genesis WordPress) Post Category Widget Icons
/*
Floating custom icons to the left of post category names in
the post category widget. The category item has a number
associated with it that can be found through the developer
tools in your console. This number will replace the ?? in
the CSS. The current CSS works best with icons that are
50px square. It can be adjusted depedning on the icon size.
*/
/* ## Entries
--------------------------------------------- */
/*Post Categories*/
.cat-item-?? {
background: url(images/icon.png) left no-repeat;
background-size: 30px 30px;
padding: 15px 40px;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment