• Resolved SnazzyJazzy

    (@snazzyjazzy)


    Hi,

    I am new to WP so please excuse my complete lack of knowledge. I actually run Anew not Hueman which I downloaded from Alx Media website directly. I can’t find an Anew support forum so I am hoping you can help me?

    My first problem is that the social media icons are not showing up in desktop browser (they look like squares). Strangely, they show up perfectly in mobile browsers! I have researched this and it could be because ad blocker has blocked font awesome. https://github.com/FortAwesome/Font-Awesome/issues/1799 I tried some of these fixes on this forum but they didn’t work (maybe I was changing it wrong)

    Then I saw this reply https://www.ads-software.com/support/topic/missing-icon-5?replies=4 . So I tried to make the recommended change by adding this code to .htaccess file:

    <IfModule mod_headers.c>
    <FilesMatch “\.(eot|font.css|otf|ttc|ttf|woff)$”>
    Header set Access-Control-Allow-Origin “*”
    </FilesMatch>
    </IfModule>

    It didn’t work either but now I have lost my header and footer menu and there is and I have this message under my header:
    Header set Access-Control-Allow-Origin “*”

    Now I can’t find .htaccess!

    I have cleared my browser cache and website cache.

    Any help would be amazing? My website is https://www.diyjas.com

    Thank you

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi SnazzyJazzy. Welcome to the Hueman forum. The reason you can’t find a support forum for Anew is because it’s no longer available in the wp.org theme repository. From the Anew theme website:

    Sold via ThemeForest
    This theme is sold via ThemeForest, the largest WordPress theme marketplace on the web.

    However, since Hueman and Anew are somewhat similar, I can tell you that your header is missing all the navigation elements. I don’t know if that’s a result of the changes you made to .htaccess, or if you’ve modified the header.php file. The line you’re seeing under your header is due to this code which is probably in the header.php file:

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

    In any case, if you can’t find .htaccess, I’d suggest calling your host. If your old .htaccess file has other code in it that you need, ask them to rename it to something else so you can still get to it. If you don’t need it then I’d ask them to just delete it.

    Thread Starter SnazzyJazzy

    (@snazzyjazzy)

    Hi bdbrown

    Thank you so much for your help. The code

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

    is in my header.php file. Should I remove it?

    Yes, it doesn’t belong there. If you haven’t made any other changes to the header.php file I would recommend removing it from your child theme so you can eliminate that as part of the problem.

    Thread Starter SnazzyJazzy

    (@snazzyjazzy)

    Thank you that worked perfectly.

    Can you help with social media icons showing up as squares. This is actually all the icons on desktop, including “most popular post” etc. They work on mobile though!

    This code that was in the post you linked earlier:

    <IfModule mod_headers.c>
        <FilesMatch "\.(eot|font.css|otf|ttc|ttf|woff)$">
            Header set Access-Control-Allow-Origin "*"
        </FilesMatch>
    </IfModule>

    needs to go in your .htaccess file which is in the root folder of your WP install. Although this file in included in the WP installation you won’t see it in the WP editor. You’ll have to either access it directly using cPanel or other access provided by your host, or download it, edit it and upload it using FTP. If you’re interested in the technical reference on .htaccess, see this page in the Codex: https://codex.www.ads-software.com/htaccess

    Thread Starter SnazzyJazzy

    (@snazzyjazzy)

    Thank you so much for your help. I really appreciate it.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Social Media Icons not showing & Menu Disappeared’ is closed to new replies.