Hallo,
refering to this solution (https://kriesi.at/support/topic/mobile-menu-is-gone-only-in-mobile-view/), the image is missing in the Category pages.
I tired to add:
is_template-shop
is_shop_columns_3
and css same image setting into class: .template-shop
The area header was set but the content gone. I suppose that am using the wrong class in functions.php.
How can i know the right class?
Hey Sebastian,
For product category pages you would use is_product_category() I added this to your child theme functions.php for you, but I removed the breadcrumb shortcode as it didn’t make sense to show this on a category page, feel free to adjust to suit.
This is the code I added:
function add_custom_header_image_to_categories() {
if ( is_product_category() ) { ?>
<div class="single-header-image-woo"><br><br></div>
<?php }
}
add_action( 'woocommerce_before_main_content', 'add_custom_header_image_to_categories', 10 );
Best regards,
Mike
Perfekt. Thank you.
Ticket can be closed
Hi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.
Best regards,
Mike