Duster: Can I change the header default height from 300?
-
Would like to see how the header looks using the dimensions 1000×100 (or something like that). I understand that I cannot change the width, however I can’t find anything in the CSS that allows me to modify the height.
Any suggestions?
Many thanks,
TanyaThe blog I need help with is: (visible only to logged in users)
-
1. Create a new 100px tall header image.
2. Go to appearance > header and click the “remove header” button and then click the save button. You won’t be able to use the header uploader as it will always try and make the image the original size. You will upload the new image to your media library, get the URL of that image and then put it in the background declaration in #branding img in the CSS as shown below. I added a 100px height declaration.
#branding img { background: url("URL of header image here") repeat scroll 0 0 transparent; height: 100px; } -
Oh, that makes total sense!
I’d been fooling around with the URLs trying out a few other things, but it didn’t strike me to do this..I really appreciate your help thesacredpath, thank you so much for your very prompt reply!
Tanya
-
Ok. So 20 minutes ago, it made total sense but since then I think I’ve some how made a mess of your very clear instructions. (Will not answer next time, until I’ve tried it :))
This is exactly what I have (and I have also removed the previous header), and now no header image appears at all.
#branding img { background:url('http://naunet06.files.wordpress.com/2011/03/100.jpg') repeat scroll 0 0 transparent; height:100px; } -
Alright, now that I have your image, I see we have to go about it a little differently with Duster. This will fix things I think.
#branding { background: url("http://naunet06.files.wordpress.com/2011/03/100.jpg") no-repeat scroll 0 0 transparent; height: 100px; } #access { margin: 100px auto 6px; }The one thing is that the image is no longer clickable to take you back to the home page, so you will have to add a home page link to your menu.
-
Thank you so much for your follow up! Unfortunately I now have a 1000×100 blank space where the header image should be. I’ve double checked the uploaded image’s url and it is correct.
On another note, the search field now also popped up into the header space. Eeeek!
I really appreciate all of your help. If it’s not possible, I totally understand!
Thank you
-
Add this to move the search box back to the end of the navigation bar.
#branding #searchform { margin-top: 110px; }
- The topic ‘Duster: Can I change the header default height from 300?’ is closed to new replies.
