[Skip to main content](#vessel-content)

#   How to resize images for specific categories

##

- **[ilyaminsk](/forum/user/59355-ilyaminsk "View ilyaminsk's Profile")**
- [![ilyaminsk's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/59355-ilyaminsk "View ilyaminsk's Profile") Topic Author
- [ Offline](/forum/user/59355-ilyaminsk)

Less More

- Posts: 220
- Thank you received: 10
-
-

5 years 3 months ago [\#334751](#334751) by [ilyaminsk](/forum/user/59355-ilyaminsk "View ilyaminsk's Profile")  *[How to resize images for specific categories](/forum/25-install-update/903021-how-to-resize-images-for-specific-categories#334751 "Hello. How to resize images for specific categories. In the configuration - basic tab, the sizes for all categories of the site are changed. I also need to set my own image size for a certain category. How to do it?")* was created by *[ilyaminsk](/forum/user/59355-ilyaminsk "View ilyaminsk's Profile")*

Hello. How to resize images for specific categories. In the configuration - basic tab, the sizes for all categories of the site are changed. I also need to set my own image size for a certain category. How to do it?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2luc3RhbGwtdXBkYXRlLzkwMzAyMS1ob3ctdG8tcmVzaXplLWltYWdlcy1mb3Itc3BlY2lmaWMtY2F0ZWdvcmllcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86316
- Thank you received: 14276
-
-

5 years 2 months ago [\#334758](#334758) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How to resize images for specific categories](/forum/25-install-update/903021-how-to-resize-images-for-specific-categories#334758 "Hello. How to resize images for specific categories. In the configuration - basic tab, the sizes for all categories of the site are changed. I also need to set my own image size for a certain category. How to do it?")*

Hi,

In each menu item, via the Joomla menu manager, under the "products options" tab, you'll find thumbnails size settings for the listings of that menu item.
So if you have different menu items for different categories, you can have different thumbnail sizes for different categories.
So you have two ways to go about it:
- you can reproduce the category tree you have in HikaShop in the menu manager with one menu item per category with the corresponding parent elements, etc. That way, when you browse the categories on the frontend, the system will switch the menu items automatically based on the attached main category.
- You can create a menu item specific to a category, configure that menu item to display with thumbnails of a different size, get the URL of that menu item, set that URL in the "canonical URL" field of the category, and activate the "force canonical URL on listings" setting of the HikaShop configuration.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2luc3RhbGwtdXBkYXRlLzkwMzAyMS1ob3ctdG8tcmVzaXplLWltYWdlcy1mb3Itc3BlY2lmaWMtY2F0ZWdvcmllcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ilyaminsk](/forum/user/59355-ilyaminsk "View ilyaminsk's Profile")**
- [![ilyaminsk's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/59355-ilyaminsk "View ilyaminsk's Profile") Topic Author
- [ Offline](/forum/user/59355-ilyaminsk)

Less More

- Posts: 220
- Thank you received: 10
-
-

5 years 2 months ago [\#334761](#334761) by [ilyaminsk](/forum/user/59355-ilyaminsk "View ilyaminsk's Profile")  Replied by *[ilyaminsk](/forum/user/59355-ilyaminsk "View ilyaminsk's Profile")* on topic *[How to resize images for specific categories](/forum/25-install-update/903021-how-to-resize-images-for-specific-categories#334761 "Hello. How to resize images for specific categories. In the configuration - basic tab, the sizes for all categories of the site are changed. I also need to set my own image size for a certain category. How to do it?")*

Hello. Did on the 2nd point. For categories, the size has changed, but for the product card, it remains the same.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2luc3RhbGwtdXBkYXRlLzkwMzAyMS1ob3ctdG8tcmVzaXplLWltYWdlcy1mb3Itc3BlY2lmaWMtY2F0ZWdvcmllcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

5 years 2 months ago [\#334767](#334767) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[How to resize images for specific categories](/forum/25-install-update/903021-how-to-resize-images-for-specific-categories#334767 "Hello. How to resize images for specific categories. In the configuration - basic tab, the sizes for all categories of the site are changed. I also need to set my own image size for a certain category. How to do it?")*

Hello,
Can you give us more information about where you want to resize your image for your "Product card", by showing us screenshots of it and giving us an url to the page where you are having that issue so that we can directly test it ? Thank you.

Kind regards,
Mohamed.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2luc3RhbGwtdXBkYXRlLzkwMzAyMS1ob3ctdG8tcmVzaXplLWltYWdlcy1mb3Itc3BlY2lmaWMtY2F0ZWdvcmllcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ilyaminsk](/forum/user/59355-ilyaminsk "View ilyaminsk's Profile")**
- [![ilyaminsk's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/59355-ilyaminsk "View ilyaminsk's Profile") Topic Author
- [ Offline](/forum/user/59355-ilyaminsk)

Less More

- Posts: 220
- Thank you received: 10
-
-

5 years 2 months ago [\#334823](#334823) by [ilyaminsk](/forum/user/59355-ilyaminsk "View ilyaminsk's Profile")  Replied by *[ilyaminsk](/forum/user/59355-ilyaminsk "View ilyaminsk's Profile")* on topic *[How to resize images for specific categories](/forum/25-install-update/903021-how-to-resize-images-for-specific-categories#334823 "Hello. How to resize images for specific categories. In the configuration - basic tab, the sizes for all categories of the site are changed. I also need to set my own image size for a certain category. How to do it?")*

Hello. I would like the size of the product card pictures to change for a certain category of products.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2luc3RhbGwtdXBkYXRlLzkwMzAyMS1ob3ctdG8tcmVzaXplLWltYWdlcy1mb3Itc3BlY2lmaWMtY2F0ZWdvcmllcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86316
- Thank you received: 14276
-
-

5 years 2 months ago [\#334824](#334824) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How to resize images for specific categories](/forum/25-install-update/903021-how-to-resize-images-for-specific-categories#334824 "Hello. How to resize images for specific categories. In the configuration - basic tab, the sizes for all categories of the site are changed. I also need to set my own image size for a certain category. How to do it?")*

Hi,

The size of the main image on the product details page is set by the "Product page image (width x height)" setting of the HikaShop configuration and thus is common for all the products.
Now, it should be possible to cheat with custom CSS code to reduce that size for some categories.
On each product details page, the main div has classes with that format hikashop_product_of_category_XX where XX is the id of the category.
So for example, you could have: Code:

.hikashop_product_of_category_XX #hikashop_main_image { width: 50px; }

which would force the width of the main image to 50px on the product details page of all the products of the category with the id XX.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2luc3RhbGwtdXBkYXRlLzkwMzAyMS1ob3ctdG8tcmVzaXplLWltYWdlcy1mb3Itc3BlY2lmaWMtY2F0ZWdvcmllcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ilyaminsk](/forum/user/59355-ilyaminsk "View ilyaminsk's Profile")**
- [![ilyaminsk's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/59355-ilyaminsk "View ilyaminsk's Profile") Topic Author
- [ Offline](/forum/user/59355-ilyaminsk)

Less More

- Posts: 220
- Thank you received: 10
-
-

5 years 2 months ago [\#334886](#334886) by [ilyaminsk](/forum/user/59355-ilyaminsk "View ilyaminsk's Profile")  Replied by *[ilyaminsk](/forum/user/59355-ilyaminsk "View ilyaminsk's Profile")* on topic *[How to resize images for specific categories](/forum/25-install-update/903021-how-to-resize-images-for-specific-categories#334886 "Hello. How to resize images for specific categories. In the configuration - basic tab, the sizes for all categories of the site are changed. I also need to set my own image size for a certain category. How to do it?")*

Hello. Where are these settings located?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2luc3RhbGwtdXBkYXRlLzkwMzAyMS1ob3ctdG8tcmVzaXplLWltYWdlcy1mb3Itc3BlY2lmaWMtY2F0ZWdvcmllcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86316
- Thank you received: 14276
-
-

5 years 2 months ago [\#334898](#334898) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How to resize images for specific categories](/forum/25-install-update/903021-how-to-resize-images-for-specific-categories#334898 "Hello. How to resize images for specific categories. In the configuration - basic tab, the sizes for all categories of the site are changed. I also need to set my own image size for a certain category. How to do it?")*

Hi,

As I said, the "Product page image (width x height)" setting is in the HikaShop configuration, under the "main" tab, in the "images" section.

As for the custom CSS I provided in my previous message, if you want to add it on your end, there are several ways (in your template, in HikaShop). Here is a page where we explain how to add custom CSS to HikaShop:
[ www.hikashop.com/support/documentation/1...ize-the-display.html](https://www.hikashop.com/support/documentation/153-customize-the-display.html)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2luc3RhbGwtdXBkYXRlLzkwMzAyMS1ob3ctdG8tcmVzaXplLWltYWdlcy1mb3Itc3BlY2lmaWMtY2F0ZWdvcmllcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[ilyaminsk](/forum/user/59355-ilyaminsk "View ilyaminsk's Profile")**
- [![ilyaminsk's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/59355-ilyaminsk "View ilyaminsk's Profile") Topic Author
- [ Offline](/forum/user/59355-ilyaminsk)

Less More

- Posts: 220
- Thank you received: 10
-
-

5 years 2 months ago [\#334908](#334908) by [ilyaminsk](/forum/user/59355-ilyaminsk "View ilyaminsk's Profile")  Replied by *[ilyaminsk](/forum/user/59355-ilyaminsk "View ilyaminsk's Profile")* on topic *[How to resize images for specific categories](/forum/25-install-update/903021-how-to-resize-images-for-specific-categories#334908 "Hello. How to resize images for specific categories. In the configuration - basic tab, the sizes for all categories of the site are changed. I also need to set my own image size for a certain category. How to do it?")*

Thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL2luc3RhbGwtdXBkYXRlLzkwMzAyMS1ob3ctdG8tcmVzaXplLWltYWdlcy1mb3Itc3BlY2lmaWMtY2F0ZWdvcmllcz90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop- Install &amp; Update- Product &amp; Category Display- Content Creation- Sales and Orders- - Orders management- - Reports &amp; Statistics- Customers- Checkout- Payment Methods- Shipping Methods- Import &amp; Export (CSV, XLS…)- Specific Features- - Affilation- - Taxes- - Wishlist- - Vote- - Carousel &amp; Slider- - Mass Actions- - Filters &amp; Search- - Discount &amp; Coupon- - Feature Request- Integrations- Showcase- General Talk about HikaShop- Development- - HikaShop 3.0 Beta- Translation- Commercial Jobs HikaShop Components- HikaMarket- - Market: Feature requests- - Market: How to?- - Market: Bug Report- HikaSerial- - General talk about HikaSerial- - Serial: Bug Report- - Serial: How to?- - Support en Français de HikaSerial (French Support)- - HikaSubscription- HikaAuction- - Auction: Feature requests- - Auction: How to?- - Auction: Bug report Hikashop around the world- Support en Français (French Support)- Russian- - FAQ. Курс выживания с Hikashop. Частые вопросы и о- - Расширения Hikashop- - Наши сайты на Hikashop- 日本語版サポート(Japanese Support)- Thai- German Archives- Bug Report- How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.216 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)

[](#top)
