Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter billybond

    (@billybond)

    Any help here ?

    look like in your css you could add a background to

    #centercol .post .meta-nfo {
    	padding-top: 10px;
    }

    Thread Starter billybond

    (@billybond)

    Its just this text
    admin / Uncategorized / Comment
    I want to add a background to…….

    I know, my suggestion didn’t work?

    Thread Starter billybond

    (@billybond)

    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)

    Thread Starter billybond

    (@billybond)

    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;
    }
    Thread Starter billybond

    (@billybond)

    blondishnet : Where should I put that code ?

    Thread Starter billybond

    (@billybond)

    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/

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Add background’ is closed to new replies.