1. HOT Divi Ultimate Header Plugin - Design Divi custom header globally in Divi Builder: https://header.diviultimate.com/
    Dismiss Notice

Strange Menu issue

Discussion in 'Get Help On Divi Wordpress' started by Peace, Mar 9, 2019.

  1. Peace

    Peace New Member

    for some strange reason numbers are appearing nect to menu items - I don't know if the numbers are misplacing arrows or what. I did notjhing to the menu other than normal add item and created a slide show in the divibuilder.
    the site is
    https://www.jjsuffolkcounty.org

    also the numbers don't appear in safari but do in chrome and firefox.

    thanks
     
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    Looks fine from my side using Windows + Chrome. Usually it's due to slow internet connection. After refreshing it, it should work. Or clear your browser cache & load it again.

    upload_2019-3-10_17-2-5.png
     
  3. Peace

    Peace New Member

    HI thanks for getting back. I refreshed and got some sleep :) - it now looks fine in safari and firefox but still te numbers appear in chrome. The appear instead of th elittle arrows you see in your browser - might be a css issue? where would I look?
     

    Attached Files:

  4. Divi.Help

    Divi.Help Administrator
    Staff Member

    I doubt that it's a CSS issue. It loads fine on my Chrome though. First, try to clear your Crhome browser cache & see if it works.

    If still not working, try this: First load your page in Chrome, then try to Right Click > Inspect Elements > Console & see if there's any error in it.
     
  5. Peace

    Peace New Member

    That really weird. Cleared caches and it's still showing in chrome and now in firefox

    I noticed in the inspect when I could get the pointer to land on the number what showed inthe css was:
    #et-secondary-nav .menu-item-has-children > a:first-child::after, #top-menu .menu-item-has-children > a:first-child::after {
    position: absolute;
    top: 0;
    right: 0;
    font-family: ETmodules;
    font-size: 16px;
    font-weight: 800;
    content: "3";
    }

    I can uncheck the "content" and the "3" disappears
    Also I just noticed this seems to be intermittent - except firefox it consistantly not working.
    also I noticed only on the Home page do I get this. Which makes me wonder is it possible there isa conflict between the two slideer modules at the bottom of the page - thats the only changes I made where prior this error wasn't present?


    I did try the inspect --console thing not sure what it means - :

    Failed to load resource: the server responded with a status of 404 (Not Found)
    jquery-migrate.min.js?ver=1.4.1:2 JQMIGRATE: Migrate is installed, version 1.4.1
    moment.min.js?ver=2.22.2:1 Deprecation warning: use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info.
    Y @ moment.min.js?ver=2.22.2:1
    components.min.js?ver=7.0.8:12 [Deprecation] Application Cache is deprecated in non-secure contexts, and will be restricted to secure contexts in M69, around September 2018. Please consider migrating your application to HTTPS, and eventually shifting over to Service Workers. See https://goo.gl/rStTGz for more details.
    (anonymous) @ components.min.js?ver=7.0.8:12
    (index):62 Uncaught DOMException: Failed to read the 'cssRules' property from 'CSSStyleSheet': Cannot access rules
    at et_core_page_resource_fallback (http://www.jjsuffolkcounty.org/:62:159)
    at HTMLLinkElement.onload (http://www.jjsuffolkcounty.org/:359:267)
    (index):1 Access to Font at 'https://www.jjsuffolkcounty.org/wp-content/themes/Divi/core/admin/fonts/modules.ttf' from origin 'http://www.jjsuffolkcounty.org' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://www.jjsuffolkcounty.org' is therefore not allowed access.
    (index):1 Access to Font at 'https://www.jjsuffolkcounty.org/wp-content/themes/Divi/core/admin/fonts/modules.woff' from origin 'http://www.jjsuffolkcounty.org' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://www.jjsuffolkcounty.org' is therefore not allowed access.

    YOUR%20THEME%20STYLESHEET:1 Failed to load resource: the server responded with a status of 404 (Not Found)
     
  6. Divi.Help

    Divi.Help Administrator
    Staff Member

    Try to add the below code in .htaccess file:
    Code:
    <IfModule mod_headers.c>
    <FilesMatch "\.(svg|ttf|otf|eot|woff|woff2)$">
    Header set Access-Control-Allow-Origin "*"
    </FilesMatch>
    </IfModule>