Home Forums WoodMart support forum Problem with loading CSS elementor?

Problem with loading CSS elementor?

Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #348591

    grehgor
    Participant

    Hello, there was a problem with CSS loading recently. I see the problem on all Elementor-based sites (I haven’t noticed it on WP-Bakery).

    Description of the problem (two widgets):
    1 – “Image Hotspot”

    First page loading – only the photo

    Second page load – hotspot dots under the photo (list)

    third page load – It is correct (dots in the photo)

    2 – “Accordion” (with “Items stste” – All closet selected)

    First page loading – the fields are closed, and they cannot be opened

    Second page load – it’s ok (closed fields can be opened)

    #348600

    Artem Temos
    Keymaster

    Hello,

    We don’t see mentioned problems on the first pages loads. Maybe you mean the first load after page saving? Could you please clarify how to reproduce the issue?

    Kind Regards

    #348653

    grehgor
    Participant

    I am sending links to videos

    #349043

    Artem Temos
    Keymaster

    Try to add the following code snippet to the Custom JS area on document ready in Theme Settings to fix this issue.

    jQuery(document).on('wdShopPageInit', function() {
    		woodmartThemeModule.imageHotspot();
            woodmartThemeModule.accordion();
    });
    #349083

    grehgor
    Participant

    I tested such options:

    – after pasting into “Global Custom JS” – does not work

    – after pasting to “On document ready” – only works on HotSpot

    #349086

    Artem Temos
    Keymaster

    Please, keep the code and send us your admin access so we can check.

    #349097

    grehgor
    Participant

    I am sending accesses.

    #349204

    Artem Temos
    Keymaster

    You need to go Theme Settings -> Performance -> JS -> enable “Advanced scripts control” and always load the following scripts https://prnt.sc/26mggsw

    Kind Regards

    #349219

    grehgor
    Participant

    Check my settings – it still doesn’t work. I have enabled loading of all available libraries and it still does not work properly

    #349313

    Artem Temos
    Keymaster

    Please, send us your admin access from this website so we can check what is wrong there.

    #349331

    grehgor
    Participant

    posted in private message January 31, 2022 at 10:48 am (to two platforms) – uploading again

    #349345

    Artem Temos
    Keymaster

    As we can see, you didn’t add the fix we sent you on this website https://prnt.sc/26mtljm

    #349348

    grehgor
    Participant

    Ok – now it works

    The same thing happens with “Promo banner” – how to ensure proper loading?

    #349351

    Artem Temos
    Keymaster

    Try to add the following PHP code snippet to the child theme functions.php file to fix this

    add_action(
    	'wp',
    	function () {
    		if ( ! function_exists( 'YoastSEO' ) ) {
    			return;
    		}
    
    		remove_filter( 'category_description', [ YoastSEO()->classes->get( Yoast\WP\SEO\Integrations\Front_End\Category_Term_Description::class ), 'add_shortcode_support' ] );
    		remove_filter( 'term_description', [ YoastSEO()->classes->get( Yoast\WP\SEO\Integrations\Front_End\Category_Term_Description::class ), 'add_shortcode_support' ] );
    	}
    );
    #349354

    grehgor
    Participant

    It helped, now it’s okay.

    Thank you – will you be doing a bulk update?

    Do I have to use it permanently on other sites with these problems?

    #349378

    Artem Temos
    Keymaster

    We recommend you keep these fixes on your website. We will review these issues further and try to implement them in our future updates as well.

Viewing 16 posts - 1 through 16 (of 16 total)