Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #100441
    Jacky
    Participant

    Hi!
    I worked with the 2.4.2 version of the catch responsive theme for a while, which was fine. After installing version 2.4.4 for another wordpress installation, I added a custom header image, which caused the navbar to appear above the header. So now it looks like this: Navbar, header, slider.
    Is there any way to get the navbar below the header image?

    Kind regards from Germany,
    Jacky

    #100468
    Mahesh
    Participant

    @jacky: For this, you’ll need to create a child theme. You can find more details on creating child theme HERE. Then in your child theme’s functions.php, add the following codes:

    function catchresponsive_child_nav_below_header_image() {
    	remove_action( 'catchresponsive_after_header', 'catchresponsive_primary_menu', 20 );
    	remove_action( 'catchresponsive_before', 'catchresponsive_featured_image_display' );
    	
    	add_action( 'catchresponsive_after_header', 'catchresponsive_featured_overall_image', 20 );
    	add_action( 'catchresponsive_after_header', 'catchresponsive_primary_menu', 40 );
    }
    add_action( 'init', 'catchresponsive_child_nav_below_header_image' );

    Regards,
    Mahesh

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Navbar below header?’ is closed to new replies.