Troubles with #topbanner in The Morning After Theme
-
Hello everyone!
I have custom CSS upgrade, and I try to change small top banner of The Morning After Theme from standart (960x70px) to my custom banner, which is bigger (960x600px, for example).
I write this code for it:#topbanner {
background:url(‘http://aidreamer.files.wordpress.com/2011/04/logo2.jpg’);
width:960px;
height:600px;
border-width:1px 0;
}But I see only big white rectangular 960x600px instead of my banner. What’s wrong with my code?
The blog I need help with is: (visible only to logged in users)
-
Give this a try in #topbanner instead of what you have. Keep the rest.
background: url(“http://aidreamer.files.wordpress.com/2011/04/logo2.jpg”) no-repeat scroll 0 0 transparent !important;
-
Just FYI, the !important at the end of the background declaration tells the browser to use this over any other background declarations for this element in the CSS.
-
I would also suggest either removing the “border-width” property or fixing its value … This property takes only one value, not two.
-
-
- The topic ‘Troubles with #topbanner in The Morning After Theme’ is closed to new replies.