Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1367475

    Hi
    Quick one I hope…
    On all my WooCommerce product pages the description box doesn’t open on page load – you have to click it for it to display the description – I was under the impression it should open on page load – is that correct?

    If not then is there a code snippet I could pop into the Child CSS to change the behaviour to open the tab on page load please?

    Example URL: https://www.swarez.co.uk/shop/merchandise/pillows-cushions/premium-pillow-orange-burst-design/
    Tested on all browsers and sometimes it opens but mostly it doesn’t.

    Any help is appreciated
    Thanks
    Ed

    #1367504

    Hi Ed,

    Yes, the default behavior is for it to open on page load.
    Do you have some site optimization plugin installed and activated on your site? if yes please try to clear its cache and temporarily deactivate it, and see if it helps.
    We can try to debug it further, but we’ll need admin access to inspect it or you can simply add this CSS code in Enfold > General Styling > Quick CSS (for quick fix):

    #top .product .woocommerce-tabs .wc-tab {
        display: block;
    }

    Best regards,
    Nikko

    #1367625

    Hi Nikko
    Thanks for the quick reply.

    I applied the code, cleared caches and still the problem is there. Looks like it could be a WP-Rocket issue as when I disable that the problem goes away. When I re-enable it the issue returns. Basically, I get a flash of the description then it disappears. Very frustrating.

    Any chance you could take a look please? I’m quite heavily on the ticked options in WP-Rocket but i could isolate the JS or CSS that governs this so that it is left uncached if necessary??

    Logins sent in private section.
    Thanks in advance
    Ed

    #1367630

    Hi Ed,

    I tried to check on it however some google authenticator is preventing me to change anything.
    Please try to disable anything related to js in WP-Rocket and see if it helps (and remove the code I gave).
    Once it’s working fine enable js related options one by one so you will know which one is causing the issue and just leave it disabled.

    Best regards,
    Nikko

    #1367631

    Hi Nikko
    My apologies regarding Google Authenticator – I have turned it off just in case you are able to spare any time to have a look – I completely understand if you haven’t though.

    The isolation of JS will take a long time owing to the amount of individual JS files contained within WooCommerce and Enfold. Is there any quicker way to determine what may be the cause? Like a debugger or something? This is where I get a bit lost but am trying!

    Many thanks
    Ed

    #1367785

    Hi Ed,

    Thanks for giving us access.
    Unfortunately, I don’t know of a quicker way unless a js error appears which makes it easier to figure out which file is causing the issue.
    I tried to change the settings of WP Rocket however even if I tried to disable all settings from WP Rocket it does not show up if you’re not logged in.
    It seems to show up just fine when you’re logged in even if the plugin is activated and has all the settings but when the cached version is served on visitors then it does not seem to show up on page load unless you disable WP Rocket. I’m not sure if Asset Cleanup plays a role in the issue as well but I had seen some Enfold users who are using WP Rocket but I never encountered the same issue as your site. I think the most reasonable way to resolve this without spending a lot of time is to add the CSS code I mentioned.

    Best regards,
    Nikko

    #1367797

    Hi Nikko
    Thank you so much for logging in and taking a look – it is very much appreciated.

    I’ll flush everything a little later (with your code snippet) and see what happens.

    Worst case I’ll have to start manually going though everything but I’ll keep my fingers crossed that your code will do the job!

    Thank you again for your generous support.
    Regards
    Ed

    #1367803

    Hi Ed,

    You’re welcome :)
    I’ll leave this thread open so you can post back if it does not work.

    Best regards,
    Nikko

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.