Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #10713

    In Propulsion > Theme Options > Styling > Body Background color — is it possible to add some custom css (Quick CSS code) to make a background image for the body?

    #69088

    Hi!

    Yes – you can use following code:

    body {
    background-image: url("../images/skin1/bg_body.jpg");
    }

    You can adjust the image path, file name, etc.

    Best regards,

    Peter

    #69089

    Its strange as I’ve tried several times.

    1. I’ve cleared the Body Background Color field

    2. I’ve tested the image path

    3. I’ve added your code to Quick CSS

    …but I am still seeing the same background color and no background image. What am I missing?

    #69090

    Hi!

    Can you put the exact code here?

    Regards,

    Ismael

    #69091

    Sure:

    body {

    background-image: url(“http://dahuibali.com/images/bg_wood-hui1b.jpg”);

    }

    #69092

    Hi!

    Please go to wp-content > themes> propulsion > css > then look for layout.css. Drop the code on the stylesheet.

    Best regards,

    Ismael

    #69093

    Manually using ftp right?

    Ok so I went into wp-content > themes > propulsion > css > layout.css and looking at the table of contents I am guess that I put the following code

    body {

    background-image: url(“http://dahuibali.com/images/bg.jpg”);

    }

    Under the #Site Styles area of the layout.css table of contents? I tried, didn’t work. Or… where exactly do I put this code snippet out of the 2134 lines?

    #69094

    Hmm. I wonder why this is not working, I tried to place this snippet below #Site Styles and it works just fine. Maybe try to delete your browser history or try using a different browser and see if the background works.

    #69095

    Like this?

    /* #Site Styles
    ================================================== */

    body {
    background-image: url("http://dahuibali.com/images/bg.jpg");
    }

    #header{
    margin-bottom:20px;
    }

    (note: I also tried with hash tag — #body { …but also didn’t change)

    Any ideas?

    #69096

    Hi!

    Try,

    body {

    background-image: url(“http://dahuibali.com/images/bg.jpg”)!important;

    }

    Best regards,

    Ismael

    #69097

    Hi!

    Can you post a link to your website please. I’ll check if this is a css code issue or just a problem on your end (eg browser cache).

    Best regards,

    Peter

    #69098

    I checked in 3 different browsers as well.

    um….Can I send to your email or something, I’m weary of botspam or something from public forum…

    #69099

    Ismael I tried you code, and other variations, it must be something else or I have no idea.

    Can I send you or Dude an email to take a look, I’m stumped.

    #69100

    Hi!

    Yes, please. My email is (Email address hidden if logged out) .

    Regards,

    Ismael

Viewing 14 posts - 1 through 14 (of 14 total)

The topic ‘CSS for body background image?’ is closed to new replies.