• I would like to add more content to the header. Underneath the site description I want to add a headline and social media icons. But I don’t see an easy way to alter header.php (I created a child theme.)

    I also don’t want the logo to fit in the header – I want it to hang off the top and bottom, centered vertically and in doing so, that would move the menu to the right – which is fine. How do I do that? I set the header css to have a max-width of 200px but until I can add more content to the header, I’m not sure exactly what the height should be.

    I basically need to make a lot of edits to header.php but not sure how to do it without messing everything else up.

    Here is the site: https://dev.smsdesignlab.com/

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter jerdman

    (@dana_sms)

    Maybe I need to explain this more clearly:

    I want to add 2 divs within #header but not sure where to do it. This is what the header.php looks like:

    <!DOCTYPE html>
    <html <?php language_attributes( 'html' ); ?>>
    <head>
    <?php wp_head(); // Hook required for scripts, styles, and other <head> items. ?>
    </head>
    
    <body <?php body_class(); ?> <?php omega_attr( 'body' ); ?>>
    
    <?php do_action( 'omega_before' ); ?>
    
    <div class="<?php echo omega_apply_atomic( 'site_container_class', 'site-container' );?>">
    
      	<?php
    	do_action( 'omega_before_header' );
    	do_action( 'omega_header' );
    	do_action( 'omega_after_header' );
    	?>
    
    	<div class="site-inner">
    
    		<?php do_action( 'omega_before_main' ); ?>

    Hi dana_sms, did you ever work out how to make the logo hang over the header?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add content to header’ is closed to new replies.