Archived topic
Elementor on Checkout Page Layout Issue
17 replies · Started by GeneratePressUser on November 23, 2021
Hello,
Just to confirm if I want to use it on a page name About, I use it like this:
add_action( 'wp_enqueue_scripts', function() {
if ( is_page( array('About') ) ){
wp_dequeue_style( 'generate-woocommerce' );
wp_dequeue_style( 'generate-woocommerce-mobile' );
}
}, 101 );
what does that number 101 in end do? and can I use this via Elements Hook option? or need to use this via only Code Snippets plugin?
Hello,
Ok I used that code and it seems to have solved the content area part but the header and all have been messed up, pls see the images in private box.
The code needs to be added with one of these methods:
Adding PHP: https://docs.generatepress.com/article/adding-php/
Please open a new topic for the header issue as the checkout page issue has been resolved.
Thanks!