look like in your css you could add a background to
#centercol .post .meta-nfo {
padding-top: 10px;
}
Its just this text
admin / Uncategorized / Comment
I want to add a background to…….
I know, my suggestion didn’t work?
Not really……..
It added the background to more than the text
were you just adding a background colour through the css? The easiest way may be to draw up simple gif or png image with transparency, and just having colour where you want the background colour to show. and applying the background image through css
-trying to apply just a background colour to those words could be difficult, as you would have to mess with margins and padding and stuff to reduce the area covered by the bg colour…which in turn would affect your layout…
(Again…my standard disclaimer…I’m still learning css, and just saying how I would go about accomplishing things….others may have better ideas for you)
Yeah!- seems a wee bit more complicated than I thought..
I was wanting it to look like this- with the red background
http://psd.tutsplus.com/
You need to designate your background. This is where they have done theirs and encased it between the small tag. You can do this with a class tag as well.
#content .exerpt small {
background-color:#ad0000;
padding:3px;
padding-left:8px;
padding-right:8px;
color:#fffffe;
font-size:1.0em;
}
#content .exerpt small a {
color:#fffffe;
text-decoration:none;
}
#content .exerpt small a:hover {
text-decoration:underline;
color:#fffffe;
}
blondishnet : Where should I put that code ?
I managed to do it….but the background is a wee bit too big & the post headers need to be below
Any suggestions ?
http://www.addictivehobby.com/wordpress/