Support » Themes and Templates » Adding image to background, How? v. Autofocus

  • Hey guys,

    I believe that the background of Autofocus is just set to white, not sure if it’s considered an image etc. but how do I add my own? I don’t just want to change the color, which i believe you can do in the stylesheet, but how would I add an image?

    website is

    Looking to replace the white background with an image. Additionally, how can I figure out what size to make the background image in order for it to look like it fits correctly?

Viewing 4 replies - 1 through 4 (of 4 total)
  • still looking to figure this out.

    Any advice on how to do this?

    Open the file style.css you’ll find in /wp-content/themes/autofocusplus/ and look for

    /*	Global
    -------------------------------------------------------------- */
    html {margin:0;padding:0}
    body {color:#999999;background-color:#FFFFFF;font-size:12px;line-height:22px;font-family: helvetica, arial, sans-serif;}

    in body {}

    add background-image: url(‘http://www.WHERE_YOUR_IMAGE_IS/image.EXT’);

    So you’ll have something like:

    body {color:#999999;background-color:#FFFFFF;font-size:12px;line-height:22px;font-family: helvetica, arial, sans-serif;background-image: url('');}

    For background-image properties (like position, repetition, etc…) have a look of:

    I can’t figure out why this isn’t working for me. this is what I posted:

    background-image:url(‘’);color:#444;font:1.4em/1.6 “Hoefler Text”, “Georgia”, Georgia, serif, sans-serif;margin:0;padding:0}

    and the background is still white. Any suggestions?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Adding image to background, How? v. Autofocus’ is closed to new replies.