Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #537268

    Hi,

    I am having a problem on showing the Font Awesome icons on a unordered list. The icon is appearing but with a bullet behind.

    a) The code that I am trying to show is:

    
    <ul class="fa-ul">
      
  • <i class="fa-li fa fa-check-square"></i>text
  • <i class="fa-li fa fa-check-square"></i>text
  • <i class="fa-li fa fa-check-square"></i>text
  • b) I have inserted the following string on functions.php:

    
    function fontawesome_css() {
    	wp_enqueue_style( 'Font Awesome', '//maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css', array(), '1.0.0', true );
    }
    add_action( 'wp_enqueue_scripts', 'fontawesome_css' );
    

    What should I do to sort this out?

    Kind Regards,

    Pedro Antunes

    • This topic was modified 9 years, 8 months ago by Yigit. Reason: fixed HTML
    #537294

    Hey Pedro!

    Can you please post the link to your page so we can see the issue?

    Best regards,
    Yigit

    #537300

    Hi Yigit,

    Please find the link attached and also credential data.

    Kind Regards,
    Pedro

    #537309

    Hi!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    .avia_textblock .fa-ul li {
        list-style: none;
    }

    Best regards,
    Yigit

    #537361

    Thanks Yigit…..it has worked.

    But the vertical alignment of the icon and the text is not ideal. The icon must go down a little.
    Can this be done?

    Kind Regards,
    Pedro

    #537364

    Hey!

    Please add following code to Quick CSS as well

    i.fa-li {
        top: 6px;
    }

    Cheers!
    Yigit

    #537384

    Solved Yigit!….now all appears fine.

    Thanks for your help.

    Kind Regards,

    Pedro

    #537392

    Hi!

    You are welcome!
    For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
    For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)

    Cheers!
    Yigit

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Font Awesome’ is closed to new replies.