Home › Forums › WoodMart support forum › WP Rocket destroy all website
WP Rocket destroy all website
- This topic has 28 replies, 2 voices, and was last updated 1 year, 8 months ago by Artem Temos.
-
AuthorPosts
-
March 14, 2023 at 2:22 pm #451045
Cioppi88ParticipantHi guys,
I’m trying to use Wp Rocket in order to optimize the performance.
I follow the instruction you suggest here: https://xtemos.com/wordpress-performance-optimization-the-ultimate-guide-in-2021/You can see the result on URL that I attached.
How can I fix?March 14, 2023 at 4:14 pm #451099
Artem TemosKeymasterHello,
It looks like you enabled optimized CSS delivery. This option is not mentioned in our article so you need to disable it and see how it works.
Kind Regards
March 14, 2023 at 4:26 pm #451104
Cioppi88ParticipantNo it’s not enabled, there’s no critical CSS if you take a look the code
March 15, 2023 at 10:51 am #451284
Artem TemosKeymasterHello,
Please, disable all plugins that are not related to our theme and provide us with your admin access. We will log in and check what is wrong there. You can leave only the following plugins that are required for our theme:
WoodMart core
WooCommerce
Elementor/WPBakery page builderThank you in advance
March 15, 2023 at 12:01 pm #451325
Cioppi88ParticipantI deactivate all except the plugin you told.
March 15, 2023 at 2:42 pm #451377
Artem TemosKeymasterPlease, switch to the parent theme temporarily and remove all the custom CSS from your website. Then clear the cache and test how it works.
March 15, 2023 at 3:03 pm #451386
Cioppi88ParticipantIt works but the sticky header on scroll is stretched, see the attachment.
moreover how can I use child theme and custom css that I have used before?Attachments:
You must be logged in to view attached files.March 15, 2023 at 3:36 pm #451401
Artem TemosKeymasterIt works correctly on your website now. Here is a screenshot https://gyazo.com/b701c5948eb6688695b19c5783edea47
As for the custom code, it probably contains some error that breaks all the website styles when all the CSS code is combined into one file.Kind Regards
March 15, 2023 at 4:35 pm #451423
Cioppi88ParticipantI don’t understand why you see different sticky header. Maybe it’s you cache. I try to flush WP Rocket, incognito mode, guest mode and changing network using 3g. I always see stretched logo on sticky header both desktop and mobile.
Please can you try on different connection?
I see that you’re disabled Combine CSS option and in yours guide is activate instead.
My CSS have no problem, the problem is on combine function that you have disabled infact.
Right now I put again my custom CSS, reactivate Child Theme and works all (except sticky header logo).
So the CSS combination broke something.March 15, 2023 at 4:36 pm #451426
Cioppi88ParticipantThe combination doesn’t works even with parent theme activate and without my custom css, so again the problem is not my CSS
March 15, 2023 at 5:00 pm #451451
Artem TemosKeymasterHello,
When we switch to the parent theme it starts working correctly.
As for the logo image, try to disable the lazy load option in WP Rocket and see if it helps.Kind Regards
March 15, 2023 at 5:42 pm #451459
Cioppi88ParticipantBut why?
The child theme is yours I didn’t customize at all? I use your child theme.
Why it doesn’t works? Maybe the function to call CSS of parent theme it’w wrong?The problem is realte to your child theme so how I can fix?
March 15, 2023 at 5:46 pm #451460
Cioppi88Participantthe stretch logo is not related to lazy load.
See the attachment. One is where image is lazy loaded, the second one is where lazy load is disable for this image.
No changesAttachments:
You must be logged in to view attached files.March 15, 2023 at 8:20 pm #451492
Cioppi88ParticipantThe problem is realted to add image widht and height option from Wp Rocket in order to avoid layout shift, on Image Dimension settings. On header builder I set “add widht and height attribute” but it doesn’t solve the problem.
March 16, 2023 at 10:29 am #451610
Artem TemosKeymasterTry to add the following code snippet to the Custom CSS area in Theme Settings to fix this issue.
.wd-logo img { width: auto; object-fit: contain; }
March 16, 2023 at 5:14 pm #451785
Cioppi88Participantit works thanks.
What about the other issue related to combine CSS and using child theme?March 16, 2023 at 5:59 pm #451796
Artem TemosKeymasterHello,
Please, remove all the CSS code you added to the child theme temporarily. Clear the cache and test how it works. Let us know if it helps.
Kind Regards
March 16, 2023 at 7:34 pm #451819
Cioppi88ParticipantWhy always respond on the same way?
I just told you that if I switch to parent works but if I use the child not so the problem is your child theme.
How can I use child and avoid problem?March 17, 2023 at 10:05 am #451979
Artem TemosKeymasterOur child theme is empty by default. It doesn’t contain any CSS code at all that may affect this. That is why it is likely that you have added your own custom CSS to the child theme that affects this.
Kind Regards
March 17, 2023 at 5:14 pm #452130
Cioppi88ParticipantOk I understand the problem is on my style.css of my child theme.
But now I see another problem with cache. I choose to collapse the footer widget on mobile and WP Rocket not respect this behaviour.Another strange things is that the hover on product image doesn’t works if you change language.
Please take a look the languages of this page I attached on extra informationMarch 20, 2023 at 10:23 am #452511
Artem TemosKeymasterHello,
As we can see, it works correctly on your staging website at the moment. Here is a screenshot https://gyazo.com/cdaa65c59c76f14790260641b78a95e5
As for the second problem, we need to see this on your staging as well. Or provide us with your main website admin access.
Kind Regards
March 20, 2023 at 12:25 pm #452581
Cioppi88ParticipantHi attached the information for login on main website.
Please consider is a live websiteMarch 20, 2023 at 1:25 pm #452607
Artem TemosKeymasterHello,
Please, send us your FTP access from your live website so we can check what is wrong there.
Kind Regards
March 20, 2023 at 1:36 pm #452614
Cioppi88ParticipantHere you are
March 20, 2023 at 5:55 pm #452725
Cioppi88ParticipantInstead of deactivate all plugin (I just said you that is live website) you can use debug mode with health and monitoring plugin of WordPress. Please avoid deactivate all plugins.
I just try with debug mode and it’s not related to other plugin
March 20, 2023 at 6:25 pm #452738
Artem TemosKeymasterHello,
We checked this issue and see that there is something wrong with the WPML. Some of your products in the translation version don’t show an image gallery in the backend. And that is why the hover image feature doesn’t work. Here is a screenshot of the problem example https://monosnap.com/file/YO2Vm75RTLEKlX11VbCAgjSLVaVDiV
And this one is working correctly https://monosnap.com/file/5a8dtpkLjSo9ft1dtXcILjlpBANts5
Please, contact WPML support for further assistance on this issue.Kind Regards
March 20, 2023 at 6:37 pm #452742
Cioppi88ParticipantOk thanks
March 21, 2023 at 6:08 pm #453131
Cioppi88ParticipantThe problem is not related to WPML.
There are many products that have an image gallery plus thumbnail. For example in this page on private window.
First and third product on first row have an image on gallery too but it doesn’t show on hover.
same product in Italian show correctly the second image.March 21, 2023 at 6:09 pm #453132
Artem TemosKeymasterYes, you see them on the product page. But when you click on edit product button these images are not shown in the gallery. Check this screenshot https://gyazo.com/ece46b30c03a2e606aa12a4c37ba9a8b
-
AuthorPosts
- You must be logged in to create new topics. Login / Register