Forums

[resolved] mystique - adding a background image to a static page (2 posts)

  1. kdreimiller
    Member
    Posted 2 years ago #

    i'm totally stumped. i know a bit of html and css though this is my first attempt at using wordpress & themes so i'm not totally familiar with the wordpress structure.

    this is the website:
    http://www.mandisinc.com

    i'm only using static pages for this site and what i want to do is add a static background image (the same image for each page). so it seemed i should edit the style.css and these lines towards the top:

    body{background:#000 url(images/bg.png) repeat-x center bottom;font-size:13px;font-style:normal;color:#4e4e4e;}

    so i changed it to:
    body { background-image: url(images/background.gif) repeat center top;}

    well no luck really except that my font changed to what i prefer for the page. i uploaded all my images to:

    wp-content/themes/mystique/images

    in file manager so i think my file name is right.

    what am i overlooking? am i editing the wrong css statement?

    thanks!

    kevin

  2. kdreimiller
    Member
    Posted 2 years ago #

    ahhh solved my problem. i had to change #primary-content, not body. so like this:

    #primary-content,#sidebar,#sidebar2{
    top:0;
    position:relative;
    float:left;
    z-index:0;
    overflow:hidden;
    min-height: 150px;
    background-image: url(images/backgroundcenter.gif);
    background-repeat: no-repeat;
    background-position: 350px 75px;
    }

Topic Closed

This topic has been closed to new replies.

About this Topic