• Resolved kdickins

    (@kdickins)


    How do I move the masthead header above the tophead navigation? I can’t seem to find a way to do it without putting the custom-logo-link and the site-identity outside of the masthead. My original way of doing this was moving the business_cast_action_header above the business_cast_action_before_header, and while this does the job, it removes the masthead container, which I would need to change the background.

    My end goal is to have the masthead above it, with a different colored background, and the tophead navigation below the masthead with a background of white.

    Any suggestions for doing this?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Theme Author axlethemes

    (@axlethemes)

    Hi @kdickins

    You can add following codes on functions.php of your child theme to change the order of top header and main header.

    function business_cast_change_header_order() {
    
    	remove_action( 'business_cast_action_before_header', 'business_cast_add_top_head_content', 5 );
    
    	add_action( 'business_cast_action_after_header', 'business_cast_add_top_head_content', 10 );
    
    }
    
    add_action( 'init', 'business_cast_change_header_order' );
    Thread Starter kdickins

    (@kdickins)

    Thank you very much for this; one final question regarding this. Is it possible to move the site name into the actual navigation?

    Theme Author axlethemes

    (@axlethemes)

    Hi @kdickins

    It is not possible to move the site name to the actual navigation because site title and contact info at the right of it is rendered with the same hook.

    Thread Starter kdickins

    (@kdickins)

    @axlethemes That’s what I thought, but I figured I would ask anyway. Thank you so so so much for helping me as much as you have! I really appreciate it.

    Theme Author axlethemes

    (@axlethemes)

    Hi @kdickins

    Happy to help you and thanks for using our theme.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Moving masthead header.’ is closed to new replies.