New to wordpress, CSS HELP!
-
Here is a link to the blog: http://www.somethinsfishy.wordpress.com
To start:
I can’t seem to get the header img in the center without the tile effect! Here is the CSS I have input so far.
#header {
width:800px;
height:200px;
position:static;
background:url(‘http://i158.photobucket.com/albums/t116/xsanoukx/blog_header-2.png’);
background-color:#666666;
}h1 {
display:none;
font-size:230%;
color:blue;
}Also, how do you get rid of the “just another wordpress blog” at the top?
Thanks!!
-
when you use the “background” property, you don’t need the “background-color”. The “background” is the shorthand of “all” the background-xxx properties. You don’t need the position property either.
Try this:
#header { width:800px; height:200px; background: #666 url('http://i158.photobucket.com/albums/t116/xsanoukx/blog_header-2.png') top left no-repeat; } h1 { display:none; }Notice that I modified the definition of your “h1” selector. When you have display none, having other properties defined is useless.
HTH
-
add this instead
#header { width:991px; height:200px; position:static; background:url('http://i158.photobucket.com/albums/t116/xsanoukx/blog_header-2.png') center no-repeat; background-color:none; color: transparent; } -
-
Also, you header image is only 740 x 192 px and you have the width at 800 and the height at 200.
-
And the “just another wordpress weblog” is a tagline and can be changed or deleted by going to settings > general. Make sure and click “save changes” at the bottom of the page when done.
-
did you try mines yet? I thought it looked nice. and your image isn’t going to fill the whole page since its not big enough.
-
wait, neither of ours is going to look right, cause you switched from using sandbox to using another theme.
-
-
CSS is theme specific and if you switch themes, you have to dump the old CSS modifications and then make modifications to the new theme’s CSS.
-
-
I know, I was just testing something out. So for the kubrick theme, what do I need to have in order to clean up the current header img?
- The topic ‘New to wordpress, CSS HELP!’ is closed to new replies.