Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1496283

    Dear team,
    on my page https://www.auto-wulf.de I use the extra info top bar.

    in the backend it shows:
    [av_font_icon icon='ue854' font='entypo-fontello' size='20px' color='#ffffff'] Geesthacht: 04152 / 87780        Dömitz: 038758 / 24077

    on safari the phone symbol appear correctly, but on chrome just a white square box.

    what is the reason / how to fix?

    thx a lot & best regards Tilman

    #1496288

    Hey Tilman,
    You have a CORS error:

    Access to font at 'https://auto-wulf.de/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/assets/fonts/entypo-fontello/entypo-fontello.woff' from origin 'https://www.auto-wulf.de' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. 

    This is a www vs non-www mismatch issue. Even though it feels like the “same domain,” browsers treat auto-wulf.de and http://www.auto-wulf.de as two completely different origins.
    Option 1 — Add CORS headers in .htaccess (easiest for Apache/WordPress)
    Add this to your .htaccess file in the root of your site:

    <FilesMatch "\.(woff|woff2|ttf|otf|eot|svg)$">
        Header set Access-Control-Allow-Origin "*"
    </FilesMatch>

    Option 2 — Redirect all non-www to www (recommended anyway)
    This fixes the root cause by making sure all assets are always loaded from the same origin. Add to .htaccess:

    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^auto-wulf\.de [NC]
    RewriteRule ^(.*)$ https://www.auto-wulf.de/$1 [R=301,L] 

    You can edit .htaccess via FTP/SFTP or through your hosting control panel’s file manager.

    Best regards,
    Mike

    #1496304

    Hi MIke,
    thanks – it was even easier: IN the WP Backend both http and https appeared. Now I synchronized it based on your hint – issue ist gone :-)

    Cheers, Tilman

    #1496305

    Hi,

    Great, I’m glad that you found the problem. We’ll close this thread for now then, please open a new thread if you should have any further questions or problems.

    Best regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘square box instead of phone symbol on Chrome’ is closed to new replies.