Header Logo/Title
-
Hi,
I’m trying to get the blog title/sub heading to display alongside the custom header image (to avoid having text in the logo image).
I’ve probably got the code wrong, but I’ve messed around with a child header and have this:<div class="header-group six columns"> <?php $header_image = get_header_image(); ?> <a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"> <img src="<?php header_image(); ?>" width="<?php echo get_custom_header()->width; ?>" height="<?php echo get_custom_header()->height; ?>" alt="" /><h1 class="site-title"><?php bloginfo( 'name' ); ?></h1></a> <h2 class="site-description"><?php bloginfo( 'description' ); ?></h2> </div><!-- .header-group .six .columns -->
I’ve also changed the h1 font size to 2rem so it ‘should’ fit. I also threw a float left into the h1 css at one point to see if that would help (it’s in the same flow isn’t it?).
You can see the site here: https://studio-fourteen.net/www.rondotheatrecompany.org/ (ignore the fuzziness of the logo image, that will be fixed).
Thanks for any help offered.
Lisa
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Header Logo/Title’ is closed to new replies.