Hello!
After updating to the latest X-theme and Cornerstone, my blog posts display blank squares instead of the normal icons for the Date and Category of the post.
Here’s an example:
How can this be solved?
Thanks.
Hello!
After updating to the latest X-theme and Cornerstone, my blog posts display blank squares instead of the normal icons for the Date and Category of the post.
Here’s an example:
How can this be solved?
Thanks.
I managed to solve it. There was no one single post that helped me so I did it through reading several topics and experimenting.
It turns out these icons were setup via functions.php in my child theme, so a little fix was due. Here’s how if someone is encountering the same problem:
For instance my calendar icon code was:
<i class="x-icon-calendar"></i>
I just replaced it with
<i data-x-icon-o=></i>
where “” is the actual unicode glyph from Font Awesome.
Mind you “” is not a generic character you can copy and use for every icon. You actually have to copy the glyph from the desired icon’s page from FontAwesome in order for it to work. For instance if you copy this actual it will be the “alt-calendar” icon.
Alternatively instead of the glyph, you can use the actual unicode, by appending &#x to it.
So my code would be:
<i data-x-icon-o=></i>
I think this method is preferable since it helps read and understand code better and differentiate it from other icons. It’s what I ended up using.
Also bear in mind that “data-x-icon-o=” will output an outlined version of the icon, so:
data-x-icon-o: Outlined.
data-x-icon-s: Solid.
data-x-icon-b: Brands (facebook, instagram, etc).
Glad to hear that. Thanks a lot for sharing the solution with the community member. 
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.