Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,158
    Plugin Contributions
    0

    Default After upgrade to 155f font-awesome-min.css not loading in admin

    php 7.1
    155f upgrade from 155a

    After upgrade i just see tiny squares for the icons when click on order then click on details.
    font-awesome-min.css not loading the icons correctly

  2. #2
    Join Date
    Apr 2007
    Location
    Ontario, Canada
    Posts
    1,479
    Plugin Contributions
    18

    Default Re: After upgrade to 155f font-awesome-min.css not loading in admin

    Haredo!

    Check:

    - includes/templates/YOUR_TEMPLATE/css/stylesheet.css should read:
    @import url("css/font-awesome.min.css");
    /* @import url("//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"); */

    - the path to the link aka actual file on the server exists and is available publicly

    - there isn't a CSS control like !important on one of the text tags or content tags overwriting what font awesome is attempting to load

    - includes/templates/YOUR_TEMPLATE/html_header.php should read:
    <link rel="stylesheet" type="text/css" href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" />

    - you're calling fa-bars (stock icon) like this:
    <i class="fa fa-bars"></i>

    - code errors very near the visual problem that would cause the code to half load or fail to load like this (missing the closing </i>):
    <i class="fa fa-bars">

    - try it on other browsers, mobile display emulators or your phone

    - FireFox may immediately identify the error or you can drill down and find it in the developer toolbox :)


    Let me know how it goes :)
    Twitch.
    http://www.twitchtoo.com - Do you work for free? Please donate.
    Twitch Wholesale + Attributes, ZC 1.38 - 1.56c - Expert Site Migration & Upgrades!

  3. #3
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    8,960
    Plugin Contributions
    71

    Default Re: After upgrade to 155f font-awesome-min.css not loading in admin

    @haredo, I've seen the same on another fresh installation of Zen Cart 1.5.5f, running PHP 5.6.38. The issue is that the .woff and .ttf files in the /admin/includes/fonts directory are being 'access-denied' (i.e. a 403 error).

    Following @twitchtoo's lead (for the the admin, as you'd identified), edit the /admin/includes/stylesheet.css, towards the top, finding
    Code:
    @import url("css/font-awesome.min.css");
    /* @import url("//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css"); */
    and changing to
    Code:
    /* @import url("css/font-awesome.min.css"); */
    @import url("//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css");
    ... essentially removing the ability to use off-line, but using the CDN-based version of the FA styling.

  4. #4
    Join Date
    Apr 2006
    Location
    Ohio
    Posts
    6,158
    Plugin Contributions
    0

    Default Re: After upgrade to 155f font-awesome-min.css not loading in admin

    @Twitch
    Thanks for the prompt response and the detailed explanation of the files which font-awesome touches with zen cart. All was checked and all looked good.

    @lat9
    As always on point, that was the correct fix. Now the icons appear after I made the change and cleared the cache!

    Great now I can utilize my time to make sure all else in the upgrade looks correct.

    Mark

 

 

Similar Threads

  1. v150 funky font after upgrade, and some links are missing in admin nav panel
    By simpledomaining in forum Upgrading to 1.5.x
    Replies: 4
    Last Post: 24 Aug 2012, 06:11 AM
  2. Admin site css/layout mess up after upgrade to 1.3.9h
    By hara in forum Upgrading from 1.3.x to 1.3.9
    Replies: 21
    Last Post: 13 Apr 2011, 06:08 PM
  3. Product Page not loading after upgrade
    By wexzone in forum General Questions
    Replies: 4
    Last Post: 24 Oct 2010, 03:25 PM
  4. Shop not loading after upgrade to 1.3.8
    By Tandragoon in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 2 Jan 2008, 07:26 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR