Register with your Envato account

Support forums

Homepage Support Polaris WooCommerce How to remove category image from top of category pages but keep on product page

How to remove category image from top of category pages but keep on product page

Homepage Support Polaris WooCommerce How to remove category image from top of category pages but keep on product page

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10786
    LadyChib
    Participant

    Hi,
    I have set up my products page to show my categories with images
    (image 1 attached)

    but this has resulted in the category images showing as a banner on the category pages
    (image 2 attached)

    is there a way I can remove the image from the category pages but keep them on the product page list view?

    Thanks!

    Attachments:
    You must be logged in to view attached files.
    #10790
    planetshine
    Keymaster

    Hey,

    This can only be done by editing theme code. The code for displaying this element can be found here:
    wp-content/themes/planetshine-polaris/theme/templates/woo-category-title.php

    Also it can be removed by unregistering this hook:
    add_action( 'woocommerce_archive_description', array($this, 'taxonomy_archive_description'), 10 ); that is set here:
    wp-content/themes/planetshine-polaris/theme/woocommerce.php ( line 34)

Viewing 2 posts - 1 through 2 (of 2 total)
You must have active support license to create new replies.

Learn more about Renewing Item Support and Themeforest Item Support Policy.

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close