Replace header/navbar


I'm keen to replace the header / navbar on my blog pages but not on other pages of my site. I want to remove the navigation and simply have a logo at the top of my page for the blog index and single pages.

I tried removing the header using: beans_remove_action( 'beans_header_partial_template' ); I then added some markup to the page using: echo beans_open_markup( 'theme_main', 'main', array( 'class' => 'tm-main bg-jet', 'role' => 'main' ) ); followed by a div that contains the image I want to use etc.

This all seems to work OK but when the page loads, the image initially loads in the left hand corner before the rest of the page loads, then moves to it's final position in the center.

Is there a better way to do this?

I saw there's a nice way ro replace the footer content using: beans_modify_action_callback( 'beans_footer_content', 'example_footer' );

Is there a similarly simple way to replace the header / navbar content?

Many thanks. Jason

Write a reply

Login or register to write a reply, it's free!