• Resolved tsader

    (@tsader)


    When setting Load JS Deferred = Delayed the mobile hamburger menu won’t open.

    I excluded all the js files I extracted with /?LSCWP_CTRL=before_optm and it still doesn’t work

    It only works when I either turn off Load JS Deferred or set it to deferred

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 19 total)
  • Thread Starter tsader

    (@tsader)

    Using Perfmatters and Delaying JS in there works fine

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    you may need to extract/exclude the inline JS as well

    can use keyword like divi and Divi first as wild match

    Best regards,

    Thread Starter tsader

    (@tsader)

    Hi,

    I am not quite sure what you mean by the inline JS and using keywords like divi

    thx

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    please go to Page optimization -> tune setting -> JS exclude and defer JS exclude , in both field , add

    Divi
    divi

    into them , save and purge all

    Best regards,

    Thread Starter tsader

    (@tsader)

    I think that worked, thank you.

    What do I have look for to test if the “delayed” option has broken functionality?

    Plugin Support qtwrk

    (@qtwrk)

    first of all , try narrow down if it’s divi or Divi , then you can try if it’s inline JS or external JS file

    Thread Starter tsader

    (@tsader)

    What are inline JS and external JS?

    So for under “Tuning”, it only works when adding “Divi” to JS Excludes and JS Deferred Excludes at the same time

    Plugin Support qtwrk

    (@qtwrk)

    inline js is like the javascript embedded inside of HTML with <script tag , external js I refer to individual JS file that is loaded by HTML, you can see them in the request list

    now , try use wp-content/themes/Divi , purge all , and check again

    Thread Starter tsader

    (@tsader)

    Unfortunately, using wp-content/themes/Divi makes it not function again

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    try

    wp-content/themes/Div
    uploads

    see how it goes , this should pretty much tell if it’s inline or external

    best regards,

    Thread Starter tsader

    (@tsader)

    wp-content/themes/Div or wp-content/themes/Divi ?

    Well, I tried both and with uploads and the menu still won’t work

    Thx

    Thread Starter tsader

    (@tsader)

    Can you explain to me why adding Divi, it works but when adding the path wp-content/themes/Divi won’t work?

    I searched the entire directory and there are no other folders called Divi, I even checked hidden folders

    Thx

    Plugin Support qtwrk

    (@qtwrk)

    if I recall , the theme’s folder should be named Divi or divi

    and also the inline js code could contains word Divi

    so if wp-content path didn’t work , which indicates it is inline js code , you need to look through your HTML source code with plugin disabled to see the original content

    Thread Starter tsader

    (@tsader)

    Any chance you could provide who to go about that? Or How/where I can access the HTML source code?
    Thanks

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    access this URL on your browser https://www.digib.co.uk/?LSCWP_CTRL=before_optm

    then right-click anywhere in page , in the menu , click “view source code”

    then search for keyword <script , looking for ones that doesn’t link to any files

    grab one unique/identifiable string or line out of them , add it into exclude list.

    you may need to grab multiple inline script though

    can try add them all at once in the beginning

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Divi Mobile Menu not working’ is closed to new replies.