New Landing How can we help? Themeforest Theme Support Neighborhood Icons displaying incorrectly

Viewing 15 posts - 1 through 15 (of 19 total)
  • #117564
    [email protected]
    Member
    Post count: 57

    Hi there,

    My issue is the following. Instaed of having proper icons, as the search one, or the cart one, or the one to choose language, etc. I have wrong ones (please check the attachment)

    I ve noticed that this problem doesn’ t exist anymore if I disable the caching, so there is clearly something wrong with the cached version of the theme.

    In order to fix it I d like to know where all these icons are saved in the theme so I can purge those files from my cdn and display the correct version of the theme

    Regards

    Fabio

    ps. all plugins and theme are at the current version

    Attachments:
    You must be logged in to view attached files.
    #117569
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Can you provide us your website url?

    -Rui

    #117571
    [email protected]
    Member
    Post count: 57
    #117576
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    This is probably related to your cdn configuration or htaccess file. You have the error below in the Javascript console.
    https://www.dropbox.com/s/lmamzi16p6bnxul/access_control-origin_issue.png?dl=0

    -Rui

    #117580
    [email protected]
    Member
    Post count: 57

    Thanks Rui

    As I said before if I turn off the cache the errors disappear.

    I thought at flushing the cache of those files but I dont know where they re.

    Do you have better recommendations?

    #117614
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    The cache plugin you are using probably has also cdn configurations, try to disable them.
    -Rui

    #117623
    [email protected]
    Member
    Post count: 57

    Yes it does

    And as I said before when I disable it teh icons display perfectly

    Having said that, I dont want to stop using the cache and the cdn, but flush only the wrong files

    Can you please tell me in which folders of the theme can I find all these icons, please

    Regards

    Fabio

    #117776
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Cacching is one thing, CDN it’s another.
    Font awesome it’s just fonts it don’t exist images folder, that font isn’t being load because of your cdn settings.

    -Rui

    #117995
    [email protected]
    Member
    Post count: 57

    Dear Rui

    This morning I ve contacted the support of my cdn and my host.

    We have tried different things

    rewriting .htaccess, modifying css as in https://wordpress.org/support/topic/some-icons-do-not-display-in-chrome, deleting cache, purging cdn, etc. but with no success

    they have als checked all my settings from my admin page and http://ftp..they result ok

    We have also noticed that this issue only happens on chrome or firefox but not on safari from iPad, and only when cdn is on

    one further info is that this issue has only started n september when wodpress woocommerce the theme and all the other plugins have been updated

    Do you have any ideas?

    Where can I find the icons in the theme folder…maybe i can try to exclude it from the cdn

    Regards

    Fabio

    #118079
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please insert this code at functions.php of child theme.

    function sf_enqueue_styles_new(){
    wp_deregister_style('fontawesome');
    wp_dequeue_style( 'fontawesome' )
    wp_register_style('fontawesomeNew', '//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css', array(), NULL, 'all');
    wp_enqueue_style('fontawesomeNew'); 
    }
    add_action('wp_enqueue_scripts', 'sf_enqueue_styles_new', 111); 

    Hope that should work sure 100%.

    Thanks
    Mohammad

    #118113
    [email protected]
    Member
    Post count: 57

    Hi Mohammmad

    Thanks for your tips

    Unofrtunately it doesnt work.

    I ve created a child theme in my test website (same as the production one)

    When I create a functions.php file with

    <?php

    function sf_enqueue_styles_new(){
    wp_deregister_style(‘fontawesome’);
    wp_dequeue_style( ‘fontawesome’ )
    wp_register_style(‘fontawesomeNew’, ‘//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css’, array(), NULL, ‘all’);
    wp_enqueue_style(‘fontawesomeNew’);
    }
    add_action(‘wp_enqueue_scripts’, ‘sf_enqueue_styles_new’, 111);

    ?>

    it just returns me a blank page

    So i guess there is something not correct

    Regards

    Fabio

    #118220
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Did you show them the image error I attached in previous reply?
    This is error of Access-Control-Allow-Origin , when resources are loaded from a different domain.

    Check this documentation.

    Font Awesome Doesn’t Work In Firefox : Fixed

    -Rui

    #118257
    [email protected]
    Member
    Post count: 57

    Dear Rui

    Unfortunately I have already tried to edit .htaccess with the support team of maxcdn. They say that the header is not being rewritten by .htaccess. if it was it would have Access-Control-Allow-Origin “*” in it’s header.
    That can only lead me to your hosting provider and their execution.

    Hope to get some support from their side

    Regards

    Fabio

    #118320
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Ok. Something is wrong or in the server or the CDN.
    Let us know what they figure out.

    -Rui

    #118550
    Mohammad – SUPPORT
    Moderator
    Post count: 27441
    This reply has been marked as private.
Viewing 15 posts - 1 through 15 (of 19 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register