Comments sourav started the conversationMay 31, 2024 at 6:17amHi , i would like to remove the view cart option whenever someone clicks on the cart icon on the header.I have attached an image for better explanationAttached files: Screenshot 2024-05-31 114605.png 2,609PenciDesign repliedMay 31, 2024 at 7:13amHi, You should paste this code into the function.php of the child theme or via the CodeSnippet plugin here: https://wordpress.org/plugins/code-snippets/ add_action( 'woocommerce_widget_shopping_cart_buttons', 'penci_remove_view_cart_minicart', 1 ); function penci_remove_view_cart_minicart() { remove_action( 'woocommerce_widget_shopping_cart_buttons', 'woocommerce_widget_shopping_cart_button_view_cart', 10 ); } Regards,PenciDesign. sourav repliedMay 31, 2024 at 7:19amIt works but there's a problem, there's a huge gap or spacing in that area , please help me reduce the gapi have attached an image for better understanding Attached files: mini cart 2.png 2,609PenciDesign repliedMay 31, 2024 at 7:21amHi,Please go to Appearance → Customize → Custom CSS then add the following custom CSS code: .penci-sidebar-cart .penci-woo-cart-buttons-group { min-height: 55px;}Regards,PenciDesign.sourav repliedMay 31, 2024 at 7:26amIt worked but there's still a gap / spacing , I want to push that entire subtotal and checkout to the bottomI have attached an image fort better understanding Attached files: mini cart 3.png 2,609PenciDesign repliedMay 31, 2024 at 8:02amHi,Please go to Appearance → Customize → Custom CSS then add the following custom CSS code: .penci-sidebar-cart .penci-woo-cart-total-group { bottom: 60px;}Regards,PenciDesign. Sign in to reply ...
Hi , i would like to remove the view cart option whenever someone clicks on the cart icon on the header.
I have attached an image for better explanation
Attached files: Screenshot 2024-05-31 114605.png
Hi,
You should paste this code into the function.php of the child theme or via the CodeSnippet plugin here: https://wordpress.org/plugins/code-snippets/
Regards,
PenciDesign.
It works but there's a problem, there's a huge gap or spacing in that area , please help me reduce the gap
i have attached an image for better understanding
Attached files: mini cart 2.png
Hi,
Please go to Appearance → Customize → Custom CSS then add the following custom CSS code:
Regards,
PenciDesign.
It worked but there's still a gap / spacing , I want to push that entire subtotal and checkout to the bottom
I have attached an image fort better understanding
Attached files: mini cart 3.png
Hi,
Please go to Appearance → Customize → Custom CSS then add the following custom CSS code:
Regards,
PenciDesign.