Shop Categories


How to customize appearance of menus whilst retaining header style?

Home Forums Agama Pro How to customize appearance of menus whilst retaining header style?

Topic Resolution: Resolved
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #5374


    I am developing a child theme of Agama Pro, and am currently running the following theme specifications:

    The top menu is being displayed but the primary menu is not.
    I am running the Header V3 header style

    I would like to modify the code such that I can retain the Header V3 style whilst eliminating the primary menu from ever being displayed (in fact, I would like to remove it from the loop entirely).

    As an aside, I am wondering how dependent the child theme’s appearance is on Agama Pro’s version. It appears that the child theme inherits a lot of extra php functionality from the parent theme, and my concern here is that, given such dependencies, and given that the child theme does not have its own versions of these extra php files, updating Agama Pro will inadvertently modify the appearance of the Child theme…

    The possible solution I can think of is the obvious solution: Create copies of these files and move them to the child theme folder. My concern with simply doing this is that, at some point, the code may prove to be obsolete, especially in the event that PHP conventions or security risks end up changing. So, I am hesitant to do this as well.

    I am new to WordPress development, so I do not possess the know-how to adequately take preventative measures against this issue.

    I would be grateful for any advice regarding the above-listed concerns.

    • This topic was modified 6 years, 9 months ago by Wilfred. Reason: mismatched which menu was being displayed and which I want to remove

    Hello Wilfred!

    We apologize for the delay.

    Perhaps this article will help you with questions about the child Theme.

    If you want to remove the primary menu, from headerV3 style you do not need to modify the theme code.

    You can just follow the steps below to do that:

    Create a new blank menu and set it as a primary.

    1. Go to: Apperance-> Menus
    2. Create a new EMPTY menu. (Without menu items)
    3. Set the empty menu as primary.
    4. Save menu.
    5. Go to: Apperance-> Customize-> Header-> Header General
    And disable the search button.

    Please let us know if this steps have helped you.



    Hello Wilfred,

    Why you do not switch to header V2 and disable header transparency ? Since header V2 is same like V3 just without top navigation bar.

    Check screen:

    I hope we will soon prepare a documentation for child theme with proper hook/unhook descriptions so you will be able to see how/what you can add/remove via add_action/remove_action or add_filter/remove_filter hooks.

    Until that you will need to improvise with your child theme customization 🙂

    Best Regards

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.