The default theme is so deeply based on images…. I’m thinking that tweaking the css for this is no way going to be effective. I am certainly not an authority on the default theme, so don’t know that I’ll be much help here. But the one thing you could do would be look at the images included with the default theme, and see if there’s something in the way of a post title/header graphic that might be overriding the css.
In general, you would be well-advised to find another theme (from among the nearly 400 available now) which would give you the look you want and be more tweakable as to things such as you wish to change.
Thread Starter
Kahil
(@kahil)
the thing is, i’m new with this code and i wouldn’t know where to begin…
Try this Image Headlines plugin, works great w/ the default theme
http://www.coldforged.org/image-headlines-plugin-for-wordpress-15/
one of the best plugins IMO
Thread Starter
Kahil
(@kahil)
yeah… i didn’t want the text to be an image…i just wanted a background image for the post title text…
thank you
Try adding this to your style.css:
.post h2
{
background: url(images/your_image.gif) no-repeat 0 0;
}
That will put a background image in any H2 inside your .post div (like the headlines on the default themes’ homepage.) Change the no-repeat to repeat-x or repeat-y as needed, and add expirament with padding or line-height for your desired effect:
.post h2
{
background: url(images/your_image.gif) no-repeat 0 0;
padding: .5em;
line-height: 2em;
}
But bear in mind different browsers might scale your headlines differently, so make sure your background is large enough or tiles well.
Thanks – I just started researching how to do this. Just tried the above code experimenting with an off colored rectangular block and it works perfectly.
Just need to create and adjust the graphic.
james