Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #94699
    scnelson1
    Participant

    Hello, I tried to figure this out, but am struggling. My header is appearing below the slider instead of at the top of the page. Can you tell me why it is doing that and how to get it to appear at the top?

    My url is: http://www.espfund.org

    Thank you!

    #94714
    Mahesh
    Participant

    @scnelson1: This is the default structure of the theme. If you want to header image to display at the top before Featured Slider, you’ll have 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.

    add_action( 'init', 'fullframe_child_move_header_image_before_slider' );
    function fullframe_child_move_header_image_before_slider() {
    	remove_action( 'fullframe_before_content', 'fullframe_featured_overall_image', 20 );
    	remove_action( 'fullframe_before_content', 'fullframe_featured_slider', 10 );
    	add_action( 'fullframe_before_content', 'fullframe_featured_overall_image', 10 );
    	add_action( 'fullframe_before_content', 'fullframe_featured_slider', 20 );
    }

    Let me know if any problem.

    Regards,
    Mahesh

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Header is not at the top.’ is closed to new replies.