Sizing logo in child css breaks formatting
-
I have added a logo to the right of my title in the header.php. But it stretches the image, so I have followed advice and add width/height code to my Twenty Eleven child css. It looks like this:
/* Theme Name: Twenty Eleven Child Author: Denise Fornberg Template: twentyeleven */ @import url("../twentyeleven/style.css") #site-title { width:60px; height:136px;}
But doing this seems to destroy all other Twenty Eleven parent formatting. I can’t figure out what’s happening. I tried specifying width/height in my header.php, but that didn’t work either. The relevant lines in my header.php are:
<h1 id="site-title"><span><a href="<?php echo esc_url( home_url( '/' ) ); ?>" title="<?php echo esc_attr( get_bloginfo( 'name', 'display' ) ); ?>" rel="home"><img id="CLOCKTOWER_LOGO.png" src="<?php echo get_stylesheet_directory_uri(); ?>/images/CLOCKTOWER_LOGO.png" alt=""/><?php bloginfo( 'name' ); ?></a></span></h1>
My website is https://www.wilsonvillechiropractor.com Thanks!
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Sizing logo in child css breaks formatting’ is closed to new replies.