Product listing, can not hide picture

  • Posts: 51
  • Thank you received: 2
7 years 2 weeks ago #290805

-- HikaShop version -- : 3.4.0
-- Joomla version -- : 3.8.6

I would like to hide the product thumbnail picture in only one of my product categories in the category listing. I have made one HikaShop Content Module for each category and placed each module in a tab using the tab-function ( www.okosjokolade.no/nettbutikk ). But it seems like the "Show picture"-option that you have one the "Product listing"-menu is not on the module preferences..?

But even when I make a "product listing"-menu to link to this spesific product category and choose "Show picture" -> "No", the pictures are still there (see pics). Any sugguestion to why?

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 83603
  • Thank you received: 13533
  • MODERATOR
7 years 2 weeks ago #290809

Hi,

The show image option there is to display or not the image of the current category.
It's not linked to the display of the image of the product.
If you want to remove the image of the products there, you'll have to add some CSS to hide it:
.hikashop_product_image_row, .hikashop_product_image.title{ display: none; }
www.hikashop.com/support/documentation/1...ize-the-display.html

Please Log in or Create an account to join the conversation.

  • Posts: 51
  • Thank you received: 2
7 years 2 weeks ago #290880

OK, I see! Which file should I add that code, and how do I make sure it only applies to the one category I want to hide the pictures?

Please Log in or Create an account to join the conversation.

  • Posts: 83603
  • Thank you received: 13533
  • MODERATOR
7 years 2 weeks ago #290883

The link I gave in my previous message explains how to add custom CSS like this.
If you want to apply it to a specific category, then you need to prefix the code I gave with the id corresponding to the current menu item for that category.
On your link, that's the id hikashop_category_information_menu_1033
So you would need to add the CSS code:
#hikashop_category_information_menu_1033 .hikashop_product_image_row, .hikashop_product_image.title{ display: none; }

The following user(s) said Thank You: Odda

Please Log in or Create an account to join the conversation.

Time to create page: 0.059 seconds
Powered by Kunena Forum