• Resolved pablo0151

    (@pablo0151)


    Hi again

    I’m trying to insert a background image to my site, at the moment it looks like this:

    http://crystal-blue-dreams.com/

    I’ve been debugging it in Chrome, and it seems to be calling this from the style sheet:

    body.custom-background {
    background-color: #e6e6e6;
    }

    When I turn this off in Chrome, the image displays perfectly, however, I can’t find the above code anywhere in the style sheet (child or main).

    Has anyone encountered this before? Or does anyone know the fix?

    Cheers in advance.

    Paul

Viewing 4 replies - 1 through 4 (of 4 total)
  • I’m trying to insert a background image to my site

    your background image is on the html element, and is covered by the body background.

    Twenty Twelve has a custom background option for the body background:

    dashboard – appearance – background

    Thread Starter pablo0151

    (@pablo0151)

    Hi alchymyth

    Thanks for the reply. I did have a go at:

    dashboard – appearance – background

    but the image was zoomed in too much, compared with the way I had using the above method.

    The weird thing is that it was working up until earlier today when I went into the theme manager and accidentally opened the background tab.

    Any ideas if I can undo what I seem to have done?

    you could try to force the body background to disappear; with this kind of style in style.css of the child theme:

    body { background: none!important; }

    Thread Starter pablo0151

    (@pablo0151)

    alchymyth

    Thank you, sir. You are a true gent. It worked a charm.

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

The topic ‘Background image CSS (part 2_’ is closed to new replies.