Comments kelineal2 started the conversationSeptember 5, 2018 at 12:29pmHow do I remove the "PREV", "NEXT" and "<" back to shop buttons from the product pages? Attached is a screen shot with the 3 buttons circled in red. kelineal2 replied privately 5,047Michael repliedSeptember 6, 2018 at 11:51amHi. Please use next css in child theme function thegem_child_init() { remove_action('thegem_woocommerce_single_product_bottom', 'thegem_woocommerce_single_product_navigation', 10); remove_action('thegem_woocommerce_single_product_right', 'thegem_woocommerce_back_to_shop_button', 5); } add_action('init', 'thegem_child_init'); kelineal2 replied privately 5,047Michael repliedSeptember 18, 2018 at 7:28amSorry for the error, this code needs to be added to the functions.php file of your child theme.But you can use custom CSS: .single-product-content-bottom .block-navigation { display: none !important; } .single-product-content .back-to-shop-button { display: none !important; } Sign in to reply ...
How do I remove the "PREV", "NEXT" and "<" back to shop buttons from the product pages? Attached is a screen shot with the 3 buttons circled in red.
Hi.
Please use next css in child theme
function thegem_child_init() { remove_action('thegem_woocommerce_single_product_bottom', 'thegem_woocommerce_single_product_navigation', 10); remove_action('thegem_woocommerce_single_product_right', 'thegem_woocommerce_back_to_shop_button', 5); } add_action('init', 'thegem_child_init');Sorry for the error, this code needs to be added to the functions.php file of your child theme.
But you can use custom CSS:
.single-product-content-bottom .block-navigation { display: none !important; } .single-product-content .back-to-shop-button { display: none !important; }