picture as background

  • Unknown's avatar

    Hello! I´m trying to get a picture in the background of my blogg, and I thought that was something rather simple…I´m using the “Chaos Theory” theme, with the one column skin. Adress http://www.landstingsmajoriteten.com. In the forum I found a recommendation to uppload my picture to photobucket.com, which I did, and I have added the following code to the CSS

    body
    {
    background-image: url(‘ http://i266.photobucket.com/albums/ii278/majoritet/bloggcirklar.jpg’);

    background-repeat: no-repeat;
    background-attachment:fixed;
    background-position: 30% 20%;
    }

    Have I given the wrong URL, or is something in the code wrong? The third opition I can think of is that I put the code in the wrong place – I put it in the same place as where I changed the background color, whith the code

    body {background-color: white}

    And that worked fine.

  • Unknown's avatar

    Your code works for my test blog. By the way, you have 3 GB place for free here on wordpress.com to upload pictures…

  • Unknown's avatar

    I havn´t seen how or where to upload pictures on wordpress – I thought I had to use something else. And thank you Isadora, by knowing that it wasn´t anything really wrong with the code I started to test new places in the code to put it, and I finally got it to work. I have never been in a forum like this before, but I now realise what a comfort it can be…

  • Unknown's avatar

    The Upload box is right underneath the text box on the Write page. You have to scroll down to see it; I think I was here a good eight months before I noticed it. The file has to be on your computer; there’s no function for uploading directly from the web.

  • The topic ‘picture as background’ is closed to new replies.