Hi there...I've been trying to figure out how to center a header image in the Scribble theme, and it's looking good for Firefox and Chrome, but not IE9. I tried this in my css but I would love to know a way to center it without setting a particular margin or padding.
Not sure why the header image doesn't just center like the navigation does...anyway here's my css code:
/* Melanie 1/28/2013 added padding to left margin to move image to center */
background: url(images/bg-header.png) top repeat-x;
margin: 0 0 10px 230px;
Any help is greatly appreciated!
It's in preview mode here: http://dev.jiannecarlo.com.previewdns.com/
Thanks and sorry for not including it the first time!
Thank you, thank you, thank you! I think that did it! Even on mobile. AWESOME css funtionality to learn...thanks a million!!
The topic ‘How to Center Header Image in Scribble Theme’ is closed to new replies.
Subscribe to get early access to new themes, discounts and brief updates about what's new with StudioPress!