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

#   Lets say I have 3 categories A, B and C. Is there

##

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

Less More

- Posts: 61
- Thank you received: 0
-
-

13 years 3 months ago [\#118784](#118784) by [anlicor](/forum/user/23162-anlicor "View anlicor's Profile")  *[Lets say I have 3 categories A, B and C. Is there](/forum/31-development/861092-lets-say-i-have-3-categories-a-b-and-c-is-there#118784 "Lets say I have 3 categories A, B and C. Is there a way to get the HikaShop Content Module to add a special class to the link of the category you are currently in?  A B C")* was created by *[anlicor](/forum/user/23162-anlicor "View anlicor's Profile")*

Lets say I have 3 categories A, B and C.
Is there a way to get the HikaShop Content Module to add a special class to the link of the category you are currently in?

&lt;a href="/catalog/category/1-a" class='special'&gt;A&lt;/a&gt;
&lt;a href="/catalog/category/2-b"&gt;B&lt;/a&gt;
&lt;a href="/catalog/category/3-c"&gt;C&lt;/a&gt;

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

13 years 3 months ago [\#118810](#118810) 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 *[Lets say I have 3 categories A, B and C. Is there](/forum/31-development/861092-lets-say-i-have-3-categories-a-b-and-c-is-there#118810 "Lets say I have 3 categories A, B and C. Is there a way to get the HikaShop Content Module to add a special class to the link of the category you are currently in?  A B C")*

Hi,
Yes but you'll probably have to find the file of the good view (through "*Hikashop-&gt;Display-&gt;Views*") and to directly edit it.If you want more information, I'll need a link your page and to know exactly where do you want to add this class.

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

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

Less More

- Posts: 61
- Thank you received: 0
-
-

13 years 2 months ago [\#118978](#118978) by [anlicor](/forum/user/23162-anlicor "View anlicor's Profile")  Replied by *[anlicor](/forum/user/23162-anlicor "View anlicor's Profile")* on topic *[Lets say I have 3 categories A, B and C. Is there](/forum/31-development/861092-lets-say-i-have-3-categories-a-b-and-c-is-there#118978 "Lets say I have 3 categories A, B and C. Is there a way to get the HikaShop Content Module to add a special class to the link of the category you are currently in?  A B C")*

Lets say I am on this page
[ www.drenolsurf.com/catalog/category/17-summer-arrivals](http://www.drenolsurf.com/catalog/category/17-summer-arrivals)

I want to add a special class to the category for "summer-arrivals" so I can style it differently.

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26400
- Thank you received: 4079
-
- [](http://obsi.dev)
-

13 years 2 months ago [\#119028](#119028) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Lets say I have 3 categories A, B and C. Is there](/forum/31-development/861092-lets-say-i-have-3-categories-a-b-and-c-is-there#119028 "Lets say I have 3 categories A, B and C. Is there a way to get the HikaShop Content Module to add a special class to the link of the category you are currently in?  A B C")*

Hi,

You have to override the view "category &#124; listing_list".
You will find this part of code: Code:

&lt;div class="panel"&gt; &lt;h3 class="jpane-toggler title" id="category_pane_&lt;?php echo $k;?&gt;" style="cursor:default;"&gt; &lt;span&gt; &lt;a href="&lt;?php echo $link;?&gt;"&gt;

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

Less More

- Posts: 61
- Thank you received: 0
-
-

13 years 2 months ago [\#119109](#119109) by [anlicor](/forum/user/23162-anlicor "View anlicor's Profile")  Replied by *[anlicor](/forum/user/23162-anlicor "View anlicor's Profile")* on topic *[Lets say I have 3 categories A, B and C. Is there](/forum/31-development/861092-lets-say-i-have-3-categories-a-b-and-c-is-there#119109 "Lets say I have 3 categories A, B and C. Is there a way to get the HikaShop Content Module to add a special class to the link of the category you are currently in?  A B C")*

To override this template file so it is not overwritten on update, do I need to simply save it or do I need to type a new name in the box where it says list?
"category / listing_.

php"

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 2 months ago [\#119138](#119138) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Lets say I have 3 categories A, B and C. Is there](/forum/31-development/861092-lets-say-i-have-3-categories-a-b-and-c-is-there#119138 "Lets say I have 3 categories A, B and C. Is there a way to get the HikaShop Content Module to add a special class to the link of the category you are currently in?  A B C")*

Hi,

You just have to save it.

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

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

Less More

- Posts: 61
- Thank you received: 0
-
-

13 years 2 months ago [\#121565](#121565) by [anlicor](/forum/user/23162-anlicor "View anlicor's Profile")  Replied by *[anlicor](/forum/user/23162-anlicor "View anlicor's Profile")* on topic *[Lets say I have 3 categories A, B and C. Is there](/forum/31-development/861092-lets-say-i-have-3-categories-a-b-and-c-is-there#121565 "Lets say I have 3 categories A, B and C. Is there a way to get the HikaShop Content Module to add a special class to the link of the category you are currently in?  A B C")*

What is the path to the file:
You have to override the view "category &#124; listing_list".
is it :
/components/com_hikashop/category/tmpl/listing_list.php

Because modifying this file has no effect.

---

This page [ www.drenolsurf.com/men](http://www.drenolsurf.com/men) has a category list menu. I firstly need to know what file is generating the menu.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMxLWRldmVsb3BtZW50Lzg2MTA5Mi1sZXRzLXNheS1pLWhhdmUtMy1jYXRlZ29yaWVzLWEtYi1hbmQtYy1pcy10aGVyZT90bXBsPW1hcmtkb3du) 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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

13 years 2 months ago [\#121573](#121573) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Lets say I have 3 categories A, B and C. Is there](/forum/31-development/861092-lets-say-i-have-3-categories-a-b-and-c-is-there#121573 "Lets say I have 3 categories A, B and C. Is there a way to get the HikaShop Content Module to add a special class to the link of the category you are currently in?  A B C")*

As Xavier said, it's the file "listing_list" of the view "category" that you can edit via the menu display&gt;Views.

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

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