Adding logo to header, twentytwelve theme
-
I am trying to add a logo to my header instead of the header text. I added the following to my child theme:
img.header-image {
border-radius:0;
box-shadow:0 0 0 rgba(0,0,0,0);
position:absolute;
top:65px;
}
.site-header {
padding-top:2rem;
}.site-header hgroup { display: none; }
.site-logo { max-width: 100%; height:auto; }Which puts the header-bar picture at the top. The problem with this is that it goes on top of the header text, and depending on size will also cover part of my navigation bar, and if I take the header text out the location of my navigation bar changes by moving to the top of the page, while still being obscured by the logo pic.
I’m a bit new to WordPress and CSS so I’m not clear on what parameters need to be changed for this not to happen. The ideal final result would be a logo at the top left where the current header text is, and the navigation bar in the same place.
The site is http://www.melissarosenberger.com
Thank you!
The topic ‘Adding logo to header, twentytwelve theme’ is closed to new replies.