[Support request] Unable to show font awesome icons

Home Forums Support [Support request] Unable to show font awesome icons

Home Forums Support Unable to show font awesome icons

  • This topic has 13 replies, 3 voices, and was last updated 6 years ago by Leo.
Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #541280
    Ankit

    Hi,

    Can you please guide me how can I get the font awesome work on my site, I have tried this several times: https://docs.generatepress.com/article/adding-icons-to-menu-items/ but without any luck, all I get is blank.

    #541524
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Font Awesome is turned off by default. If you go to “Customize > General”, uncheck the “Essential icons” option.

    Then Font Awesome should work.

    Let me know πŸ™‚

    #542391
    Ankit

    Thanks Tom, but I am getting these for social icons:

    social

    #542624
    Tom
    Lead Developer
    Lead Developer

    Those look like custom icons, not Font Awesome. Maybe coming from a plugin?

    #543711
    Ankit

    No all I have done is added this to header.php

    <link href=”https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css&#8221; rel=”stylesheet” integrity=”sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN” crossorigin=”anonymous”>
    <script defer src=”https://use.fontawesome.com/releases/v5.0.9/js/all.js&#8221; integrity=”sha384-8iPTk2s/jMVj81dnzb/iFR2sdA7u06vHJyyLlAd4snFpCl/SnyUjRrbdJsw1pGIl” crossorigin=”anonymous”></script>

    #543950
    Tom
    Lead Developer
    Lead Developer

    That looks like you’re including Font Awesome 4 and 5? You should definitely only choose one.

    However, the icons you showed me aren’t Font Awesome iconsI don’t think. If you’d like to link me to the page, I can check further.

    #543983
    Ankit

    Thanks Tom, should I remove these and then try again and how can I privately post the link so you can have a look.

    #544206
    Tom
    Lead Developer
    Lead Developer

    You can edit your initial post and add the URL to the URL field – it’s private.

    Let me know πŸ™‚

    #544393
    Ankit

    Hey Tom I have added the url.

    #544605
    Tom
    Lead Developer
    Lead Developer

    I’m seeing these in the footer, which are using Font Awesome: https://www.screencast.com/t/bZ6PyQK18Md

    They look like they’re working as they should.

    Is there somewhere else I should be looking?

    #544750
    Ankit

    Thanks tom, how can I change colours of these icons?

    #544886
    Tom
    Lead Developer
    Lead Developer

    Since you’re using a custom HTML widget, wrap your icon widgets in an element like this:

    <div class="footer-icons">
        Your icons in here
    </div>

    Then do this in CSS:

    .footer-icons a {
        color: #000000;
    }

    Let me know if you need more info πŸ™‚

    #545533
    Ankit

    Thanks Tom, now on a different problem, if you look at the homepage of the url, the image and text looks fine on desktop, but on mobile they are all over the place can you please me in fixing this.

    Thanks again

    Ankit Yadav

    #545653
    Leo
    Staff
    Customer Support

    Hi there,

    Can you open a new topic for a separate question?

    Thanks!

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.