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

#   Thumbnails then text at 2nd category level

##

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

Less More

- Posts: 212
- Thank you received: 17
-
-

8 years 3 months ago [\#297503](#297503) by [smithshop123](/forum/user/17903-smithshop123 "View smithshop123's Profile")  *[Thumbnails then text at 2nd category level](/forum/26-product-category-display/895644-thumbnails-then-text-at-2nd-category-level#297503 "-- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.12 -- PHP version -- : 5.6.36 -- Browser(s) name and version -- : Opera  Hi, I've got a two level category structure and would like to have thumbnails at the first level and just text at the second level. At the moment I can only specify one or the other. Can you advise of a way to do this?  Thanks, Ian and Stu")* was created by *[smithshop123](/forum/user/17903-smithshop123 "View smithshop123's Profile")*

-- HikaShop version -- : 3.5.1
-- Joomla version -- : 3.8.12
-- PHP version -- : 5.6.36
-- Browser(s) name and version -- : Opera

Hi,
I've got a two level category structure and would like to have thumbnails at the first level and just text at the second level. At the moment I can only specify one or the other. Can you advise of a way to do this?

Thanks,
Ian and Stu

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTU2NDQtdGh1bWJuYWlscy10aGVuLXRleHQtYXQtMm5kLWNhdGVnb3J5LWxldmVsP3RtcGw9bWFya2Rvd24=) 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: 86592
- Thank you received: 14334
-
-

8 years 3 months ago [\#297512](#297512) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Thumbnails then text at 2nd category level](/forum/26-product-category-display/895644-thumbnails-then-text-at-2nd-category-level#297512 "-- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.12 -- PHP version -- : 5.6.36 -- Browser(s) name and version -- : Opera  Hi, I've got a two level category structure and would like to have thumbnails at the first level and just text at the second level. At the moment I can only specify one or the other. Can you advise of a way to do this?  Thanks, Ian and Stu")*

Hi,

There is no option to have different layouts at different levels.
You would have to edit the file "listing_div" of the view "category" via the menu Display&gt;Views.
There, you can add a condition and force the layout. For example: Code:

if($this-&gt;element-&gt;category_depth &gt; 2) $this-&gt;params-&gt;set('div_item_layout_type', 'img_title');

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

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

Less More

- Posts: 212
- Thank you received: 17
-
-

8 years 3 months ago [\#297541](#297541) by [smithshop123](/forum/user/17903-smithshop123 "View smithshop123's Profile")  Replied by *[smithshop123](/forum/user/17903-smithshop123 "View smithshop123's Profile")* on topic *[Thumbnails then text at 2nd category level](/forum/26-product-category-display/895644-thumbnails-then-text-at-2nd-category-level#297541 "-- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.12 -- PHP version -- : 5.6.36 -- Browser(s) name and version -- : Opera  Hi, I've got a two level category structure and would like to have thumbnails at the first level and just text at the second level. At the moment I can only specify one or the other. Can you advise of a way to do this?  Thanks, Ian and Stu")*

Thanks for the reply. Unfortunately we never play with php and would need more detailed instructions. If there's something in the documentation that I can follow about this, let me know. It's probably worth considering as a normal option because sites like ours will run out of suitable category images due to their size.

Kind regards,
Ian and Stu

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

8 years 3 months ago -  8 years 3 months ago [\#297555](#297555) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Thumbnails then text at 2nd category level](/forum/26-product-category-display/895644-thumbnails-then-text-at-2nd-category-level#297555 "-- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.12 -- PHP version -- : 5.6.36 -- Browser(s) name and version -- : Opera  Hi, I've got a two level category structure and would like to have thumbnails at the first level and just text at the second level. At the moment I can only specify one or the other. Can you advise of a way to do this?  Thanks, Ian and Stu")*

Hello,

Of course, to process this **Php knowledge is required**, unfortunately this forum aim isn't to provide "*ready to paste*" code to perform customization, or obviously to learn Php.
We can only invite you to contact one of our[ **partner**](https://www.hikashop.com/support/contact-us.html) to perform this specific customisation.
Sorry for this answer.

Regards

Last edit: 8 years 3 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

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

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

Less More

- Posts: 212
- Thank you received: 17
-
-

8 years 2 months ago [\#297592](#297592) by [smithshop123](/forum/user/17903-smithshop123 "View smithshop123's Profile")  Replied by *[smithshop123](/forum/user/17903-smithshop123 "View smithshop123's Profile")* on topic *[Thumbnails then text at 2nd category level](/forum/26-product-category-display/895644-thumbnails-then-text-at-2nd-category-level#297592 "-- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.12 -- PHP version -- : 5.6.36 -- Browser(s) name and version -- : Opera  Hi, I've got a two level category structure and would like to have thumbnails at the first level and just text at the second level. At the moment I can only specify one or the other. Can you advise of a way to do this?  Thanks, Ian and Stu")*

Understood,
unfortunately as we run two licences of Hikashop for one online store, which is a long way from paying for itself, we cannot afford additional expenses. And were hoping for a little extra help.
We thought that this might be something that had been done before under 'custom views'.

Thanks for the referral and we may be able to afford additional costs and services down the track.
Hika is still a very good product and the forums are always helpful.

Regards,
Ian and Stu

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

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

Less More

- Posts: 4820
- Thank you received: 652
-
-

8 years 2 months ago -  8 years 2 months ago [\#297604](#297604) by [Philip](/forum/user/34318-philip "View Philip's Profile")  Replied by *[Philip](/forum/user/34318-philip "View Philip's Profile")* on topic *[Thumbnails then text at 2nd category level](/forum/26-product-category-display/895644-thumbnails-then-text-at-2nd-category-level#297604 "-- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.12 -- PHP version -- : 5.6.36 -- Browser(s) name and version -- : Opera  Hi, I've got a two level category structure and would like to have thumbnails at the first level and just text at the second level. At the moment I can only specify one or the other. Can you advise of a way to do this?  Thanks, Ian and Stu")*

Hello,

I just have an idea, but don't know if it will fit your needs, let's say that you **display both**, I mean Image and text (for main and sub category).
Then, you use some **css command to prevent display where this isn't required**.

Have a look on [ **this tutorial**](https://www.hikashop.com/support/documentation/272-hikashop-display-by-color.html#custom) to see how to add css command.

For better understand the way css command have to work, it have to be something close to this idea :
**.item\_menu\_id .main\_categroy\_class .text\_class {
display: none;
}**
**.item\_menu\_id .main\_categroy\_class .sub\_category\_class .image\_class {
display: none;
}**
I think that may do the trick and hope this help you to get what you need, even if it's a little "***hack***" way to proceed.

Regards

Last edit: 8 years 2 months ago by [Philip](/forum/user/34318-philip "View Philip's Profile").

The following user(s) said Thank You: [smithshop123](/forum/user/17903-smithshop123 "View smithshop123's Profile")

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

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

Less More

- Posts: 212
- Thank you received: 17
-
-

8 years 2 months ago [\#297701](#297701) by [smithshop123](/forum/user/17903-smithshop123 "View smithshop123's Profile")  Replied by *[smithshop123](/forum/user/17903-smithshop123 "View smithshop123's Profile")* on topic *[Thumbnails then text at 2nd category level](/forum/26-product-category-display/895644-thumbnails-then-text-at-2nd-category-level#297701 "-- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.12 -- PHP version -- : 5.6.36 -- Browser(s) name and version -- : Opera  Hi, I've got a two level category structure and would like to have thumbnails at the first level and just text at the second level. At the moment I can only specify one or the other. Can you advise of a way to do this?  Thanks, Ian and Stu")*

Hi, we had a go at this but it was a not reliable enough. Hika should consider 2nd level text as an option OR, even simpler, just have a checkbox to select that 'subcategories use the same picture as the parent'.

Thanks,
Ian &amp; Stu

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTU2NDQtdGh1bWJuYWlscy10aGVuLXRleHQtYXQtMm5kLWNhdGVnb3J5LWxldmVsP3RtcGw9bWFya2Rvd24=) 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
-
-
-

8 years 2 months ago [\#297720](#297720) 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 *[Thumbnails then text at 2nd category level](/forum/26-product-category-display/895644-thumbnails-then-text-at-2nd-category-level#297720 "-- HikaShop version -- : 3.5.1 -- Joomla version -- : 3.8.12 -- PHP version -- : 5.6.36 -- Browser(s) name and version -- : Opera  Hi, I've got a two level category structure and would like to have thumbnails at the first level and just text at the second level. At the moment I can only specify one or the other. Can you advise of a way to do this?  Thanks, Ian and Stu")*

Hello,

Thank you for your feedback !

Kind regards,
Mohamed Thelji.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL3Byb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS84OTU2NDQtdGh1bWJuYWlscy10aGVuLXRleHQtYXQtMm5kLWNhdGVnb3J5LWxldmVsP3RtcGw9bWFya2Rvd24=) 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.077 seconds

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