WordPress.org

Forums

WooCommerce Menu Cart
[resolved] Default Free Icon not Showing (11 posts)

  1. Brandon Moner
    Member
    Posted 1 year ago #

    For some reason, the default cart icon for the free version is not showing. It's instead showing as some weird symbol. It's not showing on the live page nor the back-end.

    https://wordpress.org/plugins/woocommerce-menu-bar-cart/

    [Moderator Note: No bumping. If it's that urgent, please consider hiring someone instead.]

  2. Jeremiah
    Member
    Plugin Author

    Posted 1 year ago #

    It's likely a configuration with your server. Try creating a .htaccess file and add the following to it:

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

    Then, navigate to plugins/wp-menu-cart/font/ and add the .htaccess file to that folder.

  3. Brandon Moner
    Member
    Posted 1 year ago #

    Hmm still not working.

  4. Jeremiah
    Member
    Plugin Author

    Posted 1 year ago #

    Any chance I can get a link so I can look at it live?

  5. Brandon Moner
    Member
    Posted 1 year ago #

    No, because my site is in maintenance mode. But...I can post a pic that will illustrate what's going on hopefully.

    Missing Icon Graphic

  6. Jeremiah
    Member
    Plugin Author

    Posted 1 year ago #

    Do you have Firefox with Firebug? If so, open the console and navigate to that page. See if there are any messages there.

  7. Brandon Moner
    Member
    Posted 1 year ago #

    downloadable font: download failed (font-family: "FontAwesome" style:normal weight:normal stretch:normal src index:1): status=2147746065
    source: http://rudetrendz.com/wp-content/plugins/woocommerce-menu-bar-cart/font/fontawesome-webfont.woff?v=3.0.1 wpmenucart-icons.css
    downloadable font: download failed (font-family: "FontAwesome" style:normal weight:normal stretch:normal src index:2): status=2147746065
    source: http://rudetrendz.com/wp-content/plugins/woocommerce-menu-bar-cart/font/fontawesome-webfont.ttf?v=3.0.1 wpmenucart-icons.css
    downloadable font: download failed (font-family: "foobox" style:normal weight:normal stretch:normal src index:1): status=2147746065
    source: http://rudetrendz.com/wp-content/plugins/foobox-image-lightbox/css/font/foobox.woff foobox.free.min.css
    downloadable font: download failed (font-family: "foobox" style:normal weight:normal stretch:normal src index:2): status=2147746065
    source: http://rudetrendz.com/wp-content/plugins/foobox-image-lightbox/css/font/foobox.ttf
  8. Brandon Moner
    Member
    Posted 1 year ago #

    That's the message that it's spitting out. And sorry for the delay.

  9. Ewout
    Member
    Plugin Author

    Posted 1 year ago #

    It looks like your server somehow blocks fonts from being served, since it's not only happening to the menu cart font, but also to the foobox font... It could also simply be a file permissions thing.
    This link should work:
    http://rudetrendz.com/wp-content/plugins/woocommerce-menu-bar-cart/font/fontawesome-webfont.woff?v=3.0.1

    but it doesn't. I recommend to contact your host about this issue.

  10. todotcom
    Member
    Posted 6 months ago #

    Check .htaccess file inside your sub directories e.g. "wp-content"
    Apply following code to concerned .htaccess files

    Order deny,allow
        Deny from all
        <Files ~ ".(xml|css|jpe?g|png|gif|js|svg|woff|ttf|eot|woff2)$">
        Allow from all
        </Files>
  11. Ewout
    Member
    Plugin Author

    Posted 6 months ago #

    Thank you so much for sharing this solution with us @todotcom!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce Menu Cart
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.