[resolved] Get rid of header menu on front page (3 posts)

  1. Karo
    Posted 5 years ago #

    Hi there!

    I can't find a solution for this anywhere else so I'm hoping you guys may be able help me! :)

    I'm trying to create a frontpage for my website with no menu bar on the front page, using images as navigation. The question could just as easily be: Can I get rid of the menu bar on just a single page?

    I use Thesis 1.6 right now, but for this I expect to have to go into the core files (with Thesis it's simple to get rid of sidebars, footer etc. but there's no option for getting rid of the menu)

    I do have avarage understanding of html, css and php.

    Does anyone now how to do this?

    Thanks in advance!


    (My url if it's of any use to understand: http://www.karoland.org)

  2. MichaelH
    Posted 5 years ago #

    Not sure of the thesis theme, but look at using the is_home() or is_front_page() conditional tag.

  3. Karo
    Posted 5 years ago #

    Hi there!

    Thanks for the help MichaelH, it worked like a charm! :)

    I ended up creating this code in my custom_functions.php:

    function move_nav() {
        remove_action('thesis_hook_before_header', 'thesis_nav_menu');
      if (!is_page('home'))
        add_action('thesis_hook_after_header', 'thesis_nav_menu');

    Thanks again!


Topic Closed

This topic has been closed to new replies.

About this Topic