• Resolved peterconfused

    (@peterconfused)


    This accordian works in a page preview but not when published.
    The accordian is inside a cover block with fixed background.

    https://eyehealth.clinic/

    I know I could just remove the cover background, but is there any way to get this working?

    Thanks

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter peterconfused

    (@peterconfused)

    Strange…i added another copy at the bottom of the page and now its working ?
    Never mind..

    I have the same problem. I cannot make it work. It looks like there are much more <script> loaded in preview which are not appended to the end of <body> tag in live version. I wonder if anyone can help with that issue ?

    For anyone else coming across similar problem.

    It turns out that those scripts from Qubely are not loaded for some reasons on live page while they are on preview/edit pages.

    What I tried to do is to create a hook that would display on every page. In this hook I added a custom script tag from Qubely. For example:

    <script src=”https://yourdomain.com/wp-content/plugins/qubely/assets/js/common-script.min.js”></script&gt;

    When I saved that hook and went to live page I got an error in browser console:
    “jQuery is not defined”

    So I did add jQuery to that hook above any Qubely script tags.

    <script src=”https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js”></script&gt;

    Then it finally started to work!!!!
    I hope it helps anybody else.

    P.S.
    You can go to Plugins-> Plugin Editor -> Choose Qubely from dropdown and confirm selection -> From file menu on right-hand-side select assets>js . In this folder you can find any possible js script that you may want to add to that hook to work with different Qubely widgets.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Any idea why Accordian isnt working’ is closed to new replies.