Our office will be closed for celebrating our Lunar New Year from 20 to 26 January 2023. It will take around 1-2 days for us to reply to your ticket.

Okay
  Public Ticket #1571446
Parent Active Class for Sub Categories Page
Closed

Comments

  • Paul started the conversation

    Dear Support.

    Current theme is having active class to the nav item when browsing single product.

    Is that possible have the active class to the nav item even when browsing categories from mega menu profile?

    Thanks

  •  1,007
    Ha replied

    Sorry, this function is not available when using mega menu, mega menu is a separate section.

    Thank you.


    Support Team

    We are located in GMT +7 time zone and we answer all questions within 12-48 hours on weekdays. In some rare cases, the waiting time can be to 48 hours. Support tickets sent during weekends or public holidays will be processed next Monday or the next business day. 

    If you like our theme, Please vote it 5 stars. We are really really appreciate your vote : 

    To vote go to http://themeforest.net/downloads then follow that link | And Download Our Promotion Themes 

    Thanks and have a nice day!

  • Paul replied

    Dear Ha

    Any possible way to archive a horizontal drop down menu just like mega one, but will adding active class to the parent nav li?

    Thanks

  •  1,007
    Ha replied

    Hi,

    About your issues, we will check and add it if that is possible, please wait.

    Thank you.


    Support Team

    We are located in GMT +7 time zone and we answer all questions within 12-48 hours on weekdays. In some rare cases, the waiting time can be to 48 hours. Support tickets sent during weekends or public holidays will be processed next Monday or the next business day. 

    If you like our theme, Please vote it 5 stars. We are really really appreciate your vote : 

    To vote go to http://themeforest.net/downloads then follow that link | And Download Our Promotion Themes 

    Thanks and have a nice day!

  • Paul replied

    Dear Ha

    To help your side have better understanding what Im trying to archive, please refer to the information below.

    We have few product categories in our site and it come in multi level as well.

    So the parent Nav is Parent Category > 1st lvl sub-category > 2nd lvl  sub-category. We would like to able add a active class when on 1st or 2nd lvl category page from mega menu. It work fine when not using mega menu actually. You can view the site here.

    http://peldsgn.com/controls/


    Thanks alot for helping.


  •  1,007
    Ha replied

    Dear mate,

    Ok, I will check this out.

    Thank you.


    Support Team

    We are located in GMT +7 time zone and we answer all questions within 12-48 hours on weekdays. In some rare cases, the waiting time can be to 48 hours. Support tickets sent during weekends or public holidays will be processed next Monday or the next business day. 

    If you like our theme, Please vote it 5 stars. We are really really appreciate your vote : 

    To vote go to http://themeforest.net/downloads then follow that link | And Download Our Promotion Themes 

    Thanks and have a nice day!

  •  1,007
    Ha replied

    Hi,

    Please send FTP and Admin web account  for me, I will add it to you.

    Thank you.


    Support Team

    We are located in GMT +7 time zone and we answer all questions within 12-48 hours on weekdays. In some rare cases, the waiting time can be to 48 hours. Support tickets sent during weekends or public holidays will be processed next Monday or the next business day. 

    If you like our theme, Please vote it 5 stars. We are really really appreciate your vote : 

    To vote go to http://themeforest.net/downloads then follow that link | And Download Our Promotion Themes 

    Thanks and have a nice day!

  •   Paul replied privately
  • Paul replied

    Dear Ha

    Any update regarding the request?

    Thanks


  •  1,007
    Ha replied

    Hi,

    Please check, I fixed.

    I added the code in ...\wp-content\themes\allegro\js\functions.js

    Thank you.


    Support Team

    We are located in GMT +7 time zone and we answer all questions within 12-48 hours on weekdays. In some rare cases, the waiting time can be to 48 hours. Support tickets sent during weekends or public holidays will be processed next Monday or the next business day. 

    If you like our theme, Please vote it 5 stars. We are really really appreciate your vote : 

    To vote go to http://themeforest.net/downloads then follow that link | And Download Our Promotion Themes 

    Thanks and have a nice day!

  • Paul replied

    Dear Ha

    Still same, pls check this attachment.

    Update: Sorry, the function is working now, million thanks to you guys~

    TQ.

  • Paul replied

    Dear Ha

    We have a new issue, all Nav Item are highlighted.

    Please check the attachement.

  •  1,007
    Ha replied

    Sorry,

    Please recheck, I fixed.

    Thank you.


    Support Team

    We are located in GMT +7 time zone and we answer all questions within 12-48 hours on weekdays. In some rare cases, the waiting time can be to 48 hours. Support tickets sent during weekends or public holidays will be processed next Monday or the next business day. 

    If you like our theme, Please vote it 5 stars. We are really really appreciate your vote : 

    To vote go to http://themeforest.net/downloads then follow that link | And Download Our Promotion Themes 

    Thanks and have a nice day!

  • Paul replied

    Dear Ha

    Thanks for the fixed.

    Have a good weekend a head~

    :)

  •  1,007
    Ha replied

    Dear mate,

    If you still have any problems, please let me know. I will be here to assist you.

    Thank you.


    Support Team

    We are located in GMT +7 time zone and we answer all questions within 12-48 hours on weekdays. In some rare cases, the waiting time can be to 48 hours. Support tickets sent during weekends or public holidays will be processed next Monday or the next business day. 

    If you like our theme, Please vote it 5 stars. We are really really appreciate your vote : 

    To vote go to http://themeforest.net/downloads then follow that link | And Download Our Promotion Themes 

    Thanks and have a nice day!

  • Paul replied

    Dear Ha

    I have little more problem that need your help.

    Previously the Nav Item will highlight when browsing single product page but it gone now.

    Can you have a check?

  •  1,007
    Ha replied

    Hi,

    I checked, everything is still working ok, please tell me more about this problem, the pictures are related.

    Thank you.


    Support Team

    We are located in GMT +7 time zone and we answer all questions within 12-48 hours on weekdays. In some rare cases, the waiting time can be to 48 hours. Support tickets sent during weekends or public holidays will be processed next Monday or the next business day. 

    If you like our theme, Please vote it 5 stars. We are really really appreciate your vote : 

    To vote go to http://themeforest.net/downloads then follow that link | And Download Our Promotion Themes 

    Thanks and have a nice day!

  • Paul replied

    Dear Ha

    Please refer to this attachment, all sub categories page will have active class on Parent Nav Li, but the highlight wont appear on single product.

  •  1,007
    Ha replied

    Hi,

    You can add the following css code

    .navbar-mega .navbar-nav > li.current-menu-parent a {
        background-color: #333366;
        color: #ffffff;
    }

    Thank you.



    Support Team

    We are located in GMT +7 time zone and we answer all questions within 12-48 hours on weekdays. In some rare cases, the waiting time can be to 48 hours. Support tickets sent during weekends or public holidays will be processed next Monday or the next business day. 

    If you like our theme, Please vote it 5 stars. We are really really appreciate your vote : 

    To vote go to http://themeforest.net/downloads then follow that link | And Download Our Promotion Themes 

    Thanks and have a nice day!

  • Paul replied

    Dear Ha

    I think there is a misunderstanding here.

    What i mean is the highlight class is gone now when user on single product page.

    Please refer to the attachment from your original template. Adding the css code doesnt seem fix it.

    Thanks


  •  1,007
    Ha replied

    Hi,

    Highlight class will disappear in this case, it only works when in the same menu.

    You can check with the default wordpress, they will be the same.

    Thank you.



    Support Team

    We are located in GMT +7 time zone and we answer all questions within 12-48 hours on weekdays. In some rare cases, the waiting time can be to 48 hours. Support tickets sent during weekends or public holidays will be processed next Monday or the next business day. 

    If you like our theme, Please vote it 5 stars. We are really really appreciate your vote : 

    To vote go to http://themeforest.net/downloads then follow that link | And Download Our Promotion Themes 

    Thanks and have a nice day!

  • Paul replied

    Dear Ha

    Thanks for the clarify, so in this case, any possible to add in the class as well?


  •  1,007
    Ha replied

    Hi,

    I have learned and there is a way to do this:

    - Choose page as the shop product page http://prntscr.com/jlzj8w

    - and add the following css code

    .navbar-mega .navbar-nav > li.current_page_parent a {
        background-color: #333366;
        color: #ffffff;
    }

    Thank you.




    Support Team

    We are located in GMT +7 time zone and we answer all questions within 12-48 hours on weekdays. In some rare cases, the waiting time can be to 48 hours. Support tickets sent during weekends or public holidays will be processed next Monday or the next business day. 

    If you like our theme, Please vote it 5 stars. We are really really appreciate your vote : 

    To vote go to http://themeforest.net/downloads then follow that link | And Download Our Promotion Themes 

    Thanks and have a nice day!

  • Paul replied

    Dear Ha

    The solution doesnt seems working, maybe you wanna try login the site and check?

    I realize the url is different when viewing category page and single page, maybe that causing highlight class doesnt work?

  •  1,007
    Ha replied

    Sorry, i was late reply.

    I can not login Admin your site, please recheck.

    Thank you.




    Support Team

    We are located in GMT +7 time zone and we answer all questions within 12-48 hours on weekdays. In some rare cases, the waiting time can be to 48 hours. Support tickets sent during weekends or public holidays will be processed next Monday or the next business day. 

    If you like our theme, Please vote it 5 stars. We are really really appreciate your vote : 

    To vote go to http://themeforest.net/downloads then follow that link | And Download Our Promotion Themes 

    Thanks and have a nice day!

  •   Paul replied privately
  •  1,007
    Ha replied

    Hi,

    Please check, I fixed.

    Thank you.


    Support Team

    We are located in GMT +7 time zone and we answer all questions within 12-48 hours on weekdays. In some rare cases, the waiting time can be to 48 hours. Support tickets sent during weekends or public holidays will be processed next Monday or the next business day. 

    If you like our theme, Please vote it 5 stars. We are really really appreciate your vote : 

    To vote go to http://themeforest.net/downloads then follow that link | And Download Our Promotion Themes 

    Thanks and have a nice day!

  • Paul replied

    Dear Ha

    Can you share where is the code that you made amendment?

    I try to add css code to make active dropdown arrow to white but not success.

    Please advice.

    Thanks


  •  1,007
    Ha replied

    Hi,

    I added the code in the file: child_theme/style.css ,you can see at the end of the file.

    Add the following css to change the arrow to white:

    .navbar-mega .navbar-nav > li.current-product-ancestor > a .caret {

    color: #fff;

    }

    Thank you.



    Support Team

    We are located in GMT +7 time zone and we answer all questions within 12-48 hours on weekdays. In some rare cases, the waiting time can be to 48 hours. Support tickets sent during weekends or public holidays will be processed next Monday or the next business day. 

    If you like our theme, Please vote it 5 stars. We are really really appreciate your vote : 

    To vote go to http://themeforest.net/downloads then follow that link | And Download Our Promotion Themes 

    Thanks and have a nice day!