• Resolved yt

    (@yteitz)


    I would like to display the comments icon used in the Twenty Thirteen theme in the sidebar as part of the comments link. Something like this:
    .pis-comments:before {
    content: “\f300”;
    }
    I added this to the widget custom styles, but this character is not displaying properly- it’s coming up as an X.

    Any help?

    http://wordpress.org/plugins/posts-in-sidebar/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Aldo Latino

    (@aldolat)

    Try defining the font-family:

    .pis-comments:before {
    font-family: "Genericons";
    content: "\f300";
    }
    Thread Starter yt

    (@yteitz)

    Yup- that worked! I ended up just copying all the style from Genericons.css to get it to look exactly the same as the others.

    .pis-comments:before {
    	display: inline-block;
    	width: 16px;
    	height: 16px;
    	-webkit-font-smoothing: antialiased;
    	font-size: 16px;
    	line-height: 1;
    	font-family: 'Genericons';
    	text-decoration: inherit;
    	font-weight: normal;
    	font-style: normal;
    	vertical-align: top;
    content: "\f300";
    }

    Thanks so much!

    Plugin Author Aldo Latino

    (@aldolat)

    You are welcome! 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘unicode icons not displaying’ is closed to new replies.