Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1422563

    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?

    #1422582

    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

    #1422587

    Perfekt. Thank you.

    Ticket can be closed

    #1422600

    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

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Add area image to shop CATEGORY pages’ is closed to new replies.