Changed header height in CSS but now can’t place image
-
I am the admin for hellonedman.com. I began with the theme Contempt by Michael Heilemann. In Edit CSS, I increased the header height from 150 to 400. However, now when I try to either 1.) insert a header using the “custom header” option or 2.) insert a file name in the CSS itself, i have problems. It always keeps the image at the original size, fits it to the top of the header, leaving white space for the rest.
How can I insert my graphic at this new size?
The blog I need help with is: (visible only to logged in users)
-
We basically always need a link to your blog in order to answer questions. Please either link your name to your blog under Website on the Profile page or put the link here, starting with http.
-
-
Thanks, just needed that to double-check. You will have to change the size of the image prior to uploading it. Custom CSS is very fussy that way; the image needs to be exactly the right size.
-
So the uploaded image should be exactly 750×400, correct? And then after I upload the image into the Media Library, I plug in the file name in the “Edit CSS” section? Am I in the right location (below)?
#headerimg {
height:400px;
width:100%;
background-image:(_________);
margin:0;
} -
Just figured it out. For anyone else who has this problem, the following thread is vary helpful:
https://en.forums.wordpress.com/topic/lost-custom-banner-when-css-edited-need-help?replies=6
- The topic ‘Changed header height in CSS but now can’t place image’ is closed to new replies.