• Hello there!

    Maybe someone is using the Unsleepable Theme which is based on the K2 Theme. I have two questions:

    1. How can I change the background from grey to an image (ie. bg.jpg)?

    2. How can I show more posts on the main page. Currently it shows only the last 10 post, but I would like to show more.

    Thanks a lot
    Yours,
    Rene

    http://www.yochitosway.de

Viewing 15 replies - 1 through 15 (of 19 total)
  • yochito,
    You can change the Unsleepable background colour by replacing the body_bg.gif.

    You can change the number of posts display on your main page under wordpress menu. Go to Option -> Reading, change the post you want to disply.

    Hope this helps.

    Thread Starter yochito

    (@yochito)

    Thanks so far. The bumber of post display works but…

    Where is the body_bg.gif? Seriously I don’t find it nor do I find a reference in the php files!?

    Yours,
    Rene

    it should be in your theme –> images folder

    Thread Starter yochito

    (@yochito)

    Seriously it is not my Unsleepable folder.

    Thread Starter yochito

    (@yochito)

    I think the problem here is that in my version of Unsleepable background is done by a css tag – otherwise I don’t know what’s going on.

    Anyone any ideas?

    In my version, the background is just a colour #ccc so you should be able to change it quite easily.
    body {
    font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif;
    font-size: 11px !important;
    background: #ccc url('images/top-bg.gif') repeat-x top left;
    text-align: center;
    margin: 0px;
    }

    Hi Rene,

    Sorry for the confusion, I was looking at Ben’s original unsleepable (cause I just happen to read his post at the time)while trying to solve your problems, what a silly mistake.

    Okie, replace the #ccc to your desire colour will change the background colour. Alternatively, if you wish to use an image, just replace the top-bg.gif (of course, position accordingly). I don’t think it will affect the header colour as the header background is already in #333.

    Thread Starter yochito

    (@yochito)

    Thanks, that helped a bit, but doesn’t the top-bg.gif just change the color of the top bar?

    I still wonder how the whole grey background can be changed?

    Read again the replies you’ve got. They told you TWICE to change the #ccc in the body.

    Thread Starter yochito

    (@yochito)

    Exactly, if I change the top-bg.gif:

    “background: #ccc url(‘images/top-bg.gif’)”

    to something else or if I just replace the gif file than only to top bar is replaced! Or do I have to change the position than?

    “repeat-x top left;”

    Thread Starter yochito

    (@yochito)

    Ok here is what I tried now:

    I have replaced the #ccc with a #fff and the background changed from grey to white. So far so good – just as you said, but again if I replace the top-bg.gif (which is a black color accordingly to the black header bar) than only the header bar is changed and the background is still grey.

    I am looking at your stylesheet… and nothing is changed:
    background: #ccc url('images/top-bg.gif') repeat-x top left;

    Thread Starter yochito

    (@yochito)

    I changed it back because it is not what I wanted but I do it again for you. Just open my website: http://www.yochitosway.de

    The image you see in the header is the image I would like to have instead of the grey background. I have just changed the top-bg.gif to top-bg3.gif.

    Thread Starter yochito

    (@yochito)

    Maybe you have to delete your cache to see the change.

    If you take out url('images/top-bg.gif') repeat-x top left from the body css, the black top menu will remain. You can then change the background color on the sides as you seem to have found.
    If you want to use a stretchable background image or a tile just put it in the images folder and stipulate it in the code instead of “top-bg.gif”. To get it scrolling you’ll find info on repeat commands here: http://www.w3schools.com/css/css_background.asp

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Unsleepable / K2 Theme – 2 Questions’ is closed to new replies.