• Resolved Karo

    (@hypsnos)


    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!

    Karo

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Not sure of the thesis theme, but look at using the is_home() or is_front_page() conditional tag.

    Thread Starter Karo

    (@hypsnos)

    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');
    } 
    
    add_action('thesis_hook_before_html','move_nav');

    Thanks again!

    Karo

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Get rid of header menu on front page’ is closed to new replies.