-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fontawesome icons are not displayed #110
Comments
What theme are you using? Does it load Fontawesome CSS? |
I'm using my own modified Future Imperfect theme (https://github.com/pmoreno-rodriguez/future2021, and yes, the fontawesome 5 css is included in assets. |
I have the same issue, using the Quark Open Publishing template. When I add FA icons to a shortcode accordian (neither by shortcode nor div), they're not visible and the stylesheet isn't loading when I look at the source code of the page. I am able to force the use of FA icons by adding a FA icon within a regular paragraph, outside the accordion items. When doing so, the stylesheet for FA does show up in the source code. Somehow the use of FA icons within info blocks, accordions etc aren't recognised by the parser. |
Hi.
This could be improved, if some modifications are made at the plugin code level, to differentiate the styles that are loaded if Fontawesome version 4 or 5 is chosen (and why not, version 6). In addition, the icons could be differentiated, depending on the type of notice, as follows:
I will try to make a pull request in this regard, as soon as I have some more time. |
Why aren't fontawsome icons showing in notice boxes?. In source code appears this:
class="sc-notice info", but the icon isn't showing.
The text was updated successfully, but these errors were encountered: