Need help? Check out our Support site, then


bordering posts with an image on Chunk

  1. Hello all, I am looking to border my posts with an image. Very similar to how illogical computer does it http://illogicalcomputer.com. My posts only appear on the Best New Music, Hidden Gems, Best-of Lists and Thoughts page so those are the ones I am looking to border with an image. The actual background behind the posts I am trying to keep white.

    Any CSS tips?

    Thanks!

    The blog I need help with is imveryape.com.

  2. Edit the body .home selector and make it body.category so that it will show only on the category pages as shown below. The second bit of code sets white for the content area. I'm assuming you will want the background image an white content background on the single post pages as well (after one clicks on a post title). I've used the "archive" body class so that it will show not only on the categories pages, but also on archive and tags pages.

    body.archive, body.single {
    background: url("http://imveryape.files.wordpress.com/2012/02/justice_in_concert-60.jpg") no-repeat scroll 0 0 transparent;
    }
    
    .archive #container, .single #container {
    background: #FFFFFF;
    }
  3. Hello thesacredpath, thank you very much for responding to my question. And you are right, I would like it on the single posts as well. However, when i put in the first CSS code it comes up with a warning sign, and then doesn't work when I save it. The first result was that the picture was the background but there was no "white middle". I have just copied and pasted, was there something i was supposed to erase first? Sorry, I am pretty incompetent with CSS.

  4. I guess I am not sure what you mean by edit body .home. If I change that to body .category how do I ensure my home page is not affected? Maybe if you showed me the code that should be changed, and explain how the home page will be unaffected that would help.
    I apologize for any inconvenience.

  5. This worked perfectly! Thank you.

Topic Closed

This topic has been closed to new replies.

About this Topic