Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #23059

    Hi guys —

    I have a couple of dynamic templates (very handy, btw) within my site. I would like to hide the main menu on one of them, but it appears that the menu content lives “above” the dynamic content in the code structure — the only way I know how to target it is resulting in the menu being hidden everywhere.

    Is there a way to control contents of the header or menu within a custom template?

    #118404

    Hi,

    Use the body class. Something like this

    .page-id-73 .main_menu {
    display: none;
    }

    Find the unique id. Mine is .page-id-73.

    Regards,

    Ismael

    #118405

    Perfect. Good solution, and thanks!

    #118406

    Glad Ismael could help :)

    Let us know if you have any other questions or issues.

    Regards,

    Devin

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘managing menus in dynamic templates’ is closed to new replies.