Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #50408

    Is there a way of removing a image from a particular category and a particular product?

    I have a number of categories and individual products that don’t have images and I would like to remove them from the display.

    I found some code online and that suggested adding:

    .category .post-image ! {
    Display: none;
    }

    At the bottom of the css style but this didn’t do anything.

    In addition to the above I would also like to know how I can add a widget area in the footer.

    Can you help.

    #50409

    My site that is currently in progress is: http://www.cigarsaustralia.net

    Thank you.

    #50424
    Sakin
    Keymaster

    @thechalkeyfox: The css depends on which category or product page you want to remove. So, can you send me the few category link then I will explain with css. Also, I assume that WooCommerce has option to remove image in the product page from the admin panel, right?

    #50444

    Hi @sakin for example http://www.cigarsaustralia.net/product-category/cuban-cigars/

    I would like the category, sub category and products that are related products not to display images, the parent categories are:
    *Cuban Cigars
    *Non Cuban Cigars
    *Cuban Minicigarillos

    I cant see from the admin panel where you can opt not to display images.

    Thank you

    #50472
    Sakin
    Keymaster

    @thechalkeyfox: This is all from WooCommerce plugin, so it’s always better to ask in their forum. We don’t have control over the product images.

    If you want to hide from CSS techniques, then to remove images from various term, you need to add the following css in “Appearance => Theme Options => Custom CSS” box:

    /* For Cuban Cigars */
    .term-cuban-cigars #content .products img { display: none; }
    
    /* For Non Cuban Cigars */
    .term-non-cuban-cigars #content .products img { display: none; }
    
    /* For Cuban Minicigarillos */
    .term-cuban-minicigarillos #content .products img { display: none; }
Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Remove Category images – Create Theme’ is closed to new replies.