Make header image responsive
-
Have a site that someone else set up and added a header image to. But it is fixed size and doesn’t scale with display size. Wanting to add the CSS to make that work. I have changed several pixel sizes to percent but can’t get the size to change. The child theme style.css contains:
#header { width: 960px; margin: 10px auto; position: relative; text-align: center; } #header #header-logo { border: 10px solid #D2B48C; }
header.php contains:
<div id="wrap-all"> <header id="header"> <img id="header-logo" src="<?php echo get_stylesheet_directory_uri(); ?>/images/gutter-gardens-logo_r.jpg" alt="Gutter Gardens"> </header>
The site is here:
guttergardens.com
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Make header image responsive’ is closed to new replies.