Okay
  Public Ticket #1661897
Font Awesome
Closed

Comments

  • Kostas started the conversation

    Something goes wrong with my theme and your plugin. Font Awesome icons are not displayed prooperly.


    To recreate content.

    1. Login to wp-admin. Go Apperance > Customize

    2. Select Widgets > HomePage Widgets Area 

    3. Add Business Service Widget and select services (in select Category)

  •  94
    Valentin replied

    Thank you Kostas will check it now.

    Stachethemes Support
    My Time Zone is GMT+3


    Envato Profile | Facebook | Twitter | Newsletter | Rate & Review

  •  94
    Valentin replied

    Okay Kostas this is your solution:

    You can add this to your theme funcions.php file: 

    add_action('wp_head', function() {
        ?>
        <style>
            .service-icon .far,
            .service-icon .fas {
                font-size: 40px;
                margin-bottom: 15px;
                color:#61b9ed;
            }
        </style>
        <?php
    });

    or just add this css in your style file:

    .service-icon .far,
            .service-icon .fas {
                font-size: 40px;
                margin-bottom: 15px;
                color:#61b9ed;
            }

    This will add styles to the Font Awesome 5.0 icons.

    Stachethemes Support
    My Time Zone is GMT+3


    Envato Profile | Facebook | Twitter | Newsletter | Rate & Review

  • Kostas replied

    First one works for me. Thank you for your time, I really appreciate your help 

    (I added .service-icon .fa, class to css classes)

  •  94
    Valentin replied

    Great!

    You can customize it of course if need add more styles. The problem here is that your theme and to be honest most of the themes are still using old version of Font Awesome while we are trying to keep the plugin up to date.

    Look like it will take some time before the themes are update to Font Awesome 5 because it's really offering more including premium icons.

    Good luck with your project!

    Stachethemes Support
    My Time Zone is GMT+3


    Envato Profile | Facebook | Twitter | Newsletter | Rate & Review