Viewing 6 replies - 1 through 6 (of 6 total)
  • I also cannot see my social media icons. Please can this be fixed.

    They should appear in my footer, column 1, widget #2.
    https://www.gripnutrition.com

    Thank you

    Plugin Author Evan Herman

    (@eherman24)

    It looks like you are still loading Font Awesome 4 on the front end of your site, but the plugin is attempting to use the Font Awesome 5 font family.

    What version of the plugin do you have installed? Have you added any custom code for custom icons or to specify a specific version of font awesome? Have you tried temporarily switching themes?

    Thread Starter macfan007

    (@krgauravit007)

    Hi @eherman24

    I am on 1.61
    https://prntscr.com/m6ns29

    Pl check and advice.

    I don’t have idea about Font Awesome version.

    Regards

    Plugin Author Evan Herman

    (@eherman24)

    I took another look and it looks like our plugin is loading font awesome v4, and your theme storefront is loading font awesome v5.

    You should be able to force load font awesome v5 in our plugin through the following filter:

    wpcw_social_icons_fontawesome_5

    Adding the following to your themes functions.php file (ideally a child theme, so these changes are not removed the next time storefront is updated) should fix the problem.

    function contact_widgets_font_awesome() {
    
       add_filter( 'wpcw_social_icons_fontawesome_5', '__return_true' );
    
    }
    add_action( 'after_setup_theme', 'contact_widgets_font_awesome' );

    A simpler approach would be to manually set the font family attribute on the icons in the contact widget widget.

    Adding the following to your themes ‘Additional CSS’ inside of the customizer should also resolve the problem. You can get there from the dashboard by going to ‘Appearance > Customizer > Additional CSS‘ and pasting the following code in there:

    .wpcw-widget-social .fa {
    	font-family: "FontAwesome";
    }

    Best,
    Evan

    Thread Starter macfan007

    (@krgauravit007)

    It Worked. Thanks.

    solution working in 5.1.1 to the lates version 1.62 of the plugin
    Could it be solved in a new version of the plugin?

    great help to overcome the issue

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Can’t see icon on page’ is closed to new replies.