kw11
Forum Replies Created
-
Forum: Plugins
In reply to: [PhastPress] Disable phastpress on Woocommerce cart and checkoutI figured out how to fix this visual bug by adding some css and then edited the WooCommerce template to use styles inside of a <noscript> tag.
However, this visual bug may be a common occurrence on WooCommerve checkout pages. If this can’t be fixed via plugin code, I recommend giving the option for people to disable optimizations on cart and checkout pages for WooCommerce. Other than that this plugin is mostly flawless.
But I couldn’t enable image optimizations because when there are hundreds (more or less) of small product images, they aren’t all generated/rendered. A lot of broken images. Therefore, I am still using Smush Pro for now.
But a huge fan of your plugin!
- This reply was modified 6 years, 5 months ago by kw11.
Forum: Plugins
In reply to: [PhastPress] Disable phastpress on Woocommerce cart and checkoutWhat’s happening: In WooCommerce checkout, the HTML body tag is set to a .woocommerce-no-js class which is dynamically changed to woocommerce-js with JavaScript (without jQuery) by the template/theme. The .woocommerce-no-js class renders certain elements as display:block and the .woocommerce-js class renders these elements as display:none.
This creates a brief flash of unwanted HTML elements on the checkout page until JavaScript is able to change the body class from .woocommerce-no-js to .woocommerce-js. I’ve tried to put inline CSS and JavaScript in a WooCommerce template file next to these elements as an attempt to prevent this unwanted behavior. But even these techniques do not prevent the brief rendering of these HTML elements.
Perhaps this is just a consequence of deferring all render-blocking resources? It happens on all browsers.
- This reply was modified 6 years, 5 months ago by kw11.
- This reply was modified 6 years, 5 months ago by kw11.
- This reply was modified 6 years, 5 months ago by kw11.
- This reply was modified 6 years, 5 months ago by kw11.
- This reply was modified 6 years, 5 months ago by kw11.
- This reply was modified 6 years, 5 months ago by kw11.
- This reply was modified 6 years, 5 months ago by kw11.
- This reply was modified 6 years, 5 months ago by kw11.
- This reply was modified 6 years, 5 months ago by kw11.
- This reply was modified 6 years, 5 months ago by kw11.