I have tried that, that was my first thought. If I change the line:
<img src=”https://localserver/wp-content/uploads/2015/11/basicLogo.png” style=”display:inline-block;”>
(manually after the website has loaded) to:
<img src=”https://localserver/wp-content/uploads/2015/11/basicLogo.png” style=”display:inline-block; height: 52px; width: auto;”>
It works but I need to find a way of passing the size to the image but that is something I am not sure how to do. I am aware that it can be done.
This is what I have in my header section of the style.css:
/* Draw a line at the end of the header.
————————————————————– */
.site-header {
// background-color: pink !important;
border-bottom: 1px solid black;
padding-top: 5px;
}
/* Remove all margins and padding from around the logo.
————————————————————– */
.site-logo-anchor {
background-color: pink;
height: 67px;
border-right: 0px;
border-bottom: 0px;
}
/* Set the size of the logo.
————————————————————– */
.site-branding {
height: 67px !important;
}
/* Set the width of the secondary navigation.
————————————————————– */
.site-header .secondary-navigation { width: 0px !important; }
/* Set the width of the search bar.
————————————————————– */
.site-header .site-search {
height: 67px !important;
// padding-top: 0px !important;
margin-top: 0px;
margin-bottom: 0px;
}
Don’t worry about the background colour being set to pink in some sections. I do this so I can see what I am altering.