Home › Forums › WoodMart support forum › Bug on frontend
Bug on frontend
- This topic has 5 replies, 2 voices, and was last updated 3 years ago by
Artem Temos.
-
AuthorPosts
-
May 27, 2022 at 2:56 pm #379368
yumermutluParticipanthttps://prnt.sc/hyS5YKX8LQJg – This is in the incognito tab
https://prnt.sc/BCBPxWmkfUr9 – This is how it should be and how it is for logged in admin users
And the attached file is from my friends PC on different locationAttachments:
You must be logged in to view attached files.May 27, 2022 at 4:53 pm #379433
Artem TemosKeymasterHello,
Try to add the following PHP code snippet to the child theme functions.php file to fix this
add_action( 'rocket_exclude_css', function ( $excluded_files ) { $upload = wp_get_upload_dir(); $basepath = wp_parse_url( $upload['baseurl'], PHP_URL_PATH ); if ( empty( $basepath ) ) { return $excluded_files; } $key = array_search( $basepath . '/elementor/css/(.*).css', $excluded_files, true ); if ( false !== $key ) { unset( $excluded_files[ $key ] ); } return $excluded_files; } );
Kind Regards
May 30, 2022 at 5:13 pm #379960
yumermutluParticipantThis helped. I have one more problem that i can`t find the solution for. When loading a new page on a fresh browser on mobile sliders on the top of the page ( home and product page) stay blank until interaction (swipe, tap, click…) and I am afraid that could increase the bounce rate because the page looks blank
May 31, 2022 at 9:11 am #380100
Artem TemosKeymasterIt might be caused by “Delay JS” feature enabled in WP Rocket. Try to disable it and test how it works.
Kind Regards
May 31, 2022 at 11:17 am #380141
yumermutluParticipantYeah but there are exclusions.
jquery.min
helpers.min.js
clickOnScrollButton
searchFullScreen
menuOffsets
menuDropdowns
cartWidget
mobileNavigation
loginSidebar
menuSetUp
cart-fragments
slick
productImages
cookie.min
owl.carousel
owlCarousel
imagesLoaded
/jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js
/jquery-migrate(.min)?.js
/elementor/
/elementor-pro/
/wp-includes/js/imagesloaded.min.js
ElementorProFrontendConfig
elementorFrontendConfigWhat exclusion is needed so I don’t need to stop that setting?
May 31, 2022 at 12:10 pm #380166
Artem TemosKeymasterHello,
Try to add the following files
flickity slider
Kind Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register