Title: Grid style theme help
Last modified: August 20, 2016

---

# Grid style theme help

 *  [AM55](https://wordpress.org/support/users/am55/)
 * (@am55)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/grid-style-theme-help/)
 * Hi,
 * I want to add a background image to my theme, I am using [http://www.dessign.net/gridstyletheme/](http://www.dessign.net/gridstyletheme/).
 * I have tried adding;
 * background-image: url(images/170412.png);
    background-repeat: no-repeat; background-
   attachment: fixed; background-position: top center;}
 * to Body in style.css but have had no joy.
 * What am i doing wrong?

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

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/grid-style-theme-help/#post-2933122)
 * please post a link to your site to illustrate the problem.
 * are you sure that the image is located where you point the css to?
 * did you clear the browser cache after the changes to style.css?
 *  Thread Starter [AM55](https://wordpress.org/support/users/am55/)
 * (@am55)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/grid-style-theme-help/#post-2933390)
 * Sorry for the very late reply
 * My site can be found [here](http://antimute.co.uk/wp)
 * The image can be found [here](http://www.antimute.co.uk/images/170412.png)
 * No I didn’t clear the cache, but I have done since and it still doesn’t work.
 * I have also tried installing Background Control but had no joy.
 *  [roseandmoon](https://wordpress.org/support/users/roseandmoon/)
 * (@roseandmoon)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/grid-style-theme-help/#post-2933391)
 * How did you upload your image?
    Is the path to the image correct?
 * If so, try this:
 *     ```
       body {
       font-size: 12px;
       font-family: arial, verdana, georgia;
       background: transparent url(/images/170412.png) fixed center top no-repeat;
       }
       ```
   
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/grid-style-theme-help/#post-2933392)
 * the location of the image would need to be [here](http://antimute.co.uk/wp/wp-content/themes/gridstyletheme/images/170412.png)
   to be found by your background style:
 *     ```
       body { font-size: 12px; font-family: arial, verdana, georgia; 
   
       background-image: url(images/170412.png);
       ...
       ```
   
 * but there is also this section in the head:
 *     ```
       <style>
       <!--
       body {background: transparent  ;}
       -->
       </style></head>
       <body>
       ```
   
 * which would overwrite any body background styles in style.css.
 * this:
 *     ```
       <!--
       body {background: transparent  ;}
       -->
       ```
   
 * is a html comment, but does not comment the style, which is still applied;
    [http://www.w3schools.com/css/css_syntax.asp](http://www.w3schools.com/css/css_syntax.asp)
 *  Thread Starter [AM55](https://wordpress.org/support/users/am55/)
 * (@am55)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/grid-style-theme-help/#post-2933393)
 * I have now put the image in the correct folder.
 *     ```
       <style>
       <!--
       body {background: transparent  ;}
       -->
       </style></head>
       <body>
       ```
   
 * Which file do I find this in to adjust it?
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/grid-style-theme-help/#post-2933394)
 * > Which file do I find this in to adjust it?
 * if you can’t find it in header.php, then this is likely to come from a function
   or plugin.
 * if you can’t locate it, try forcing your background styles by adding `!important`
 * – example:
 *     ```
       background-image: url(images/170412.png)!important;
       ```
   
 *  Thread Starter [AM55](https://wordpress.org/support/users/am55/)
 * (@am55)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/grid-style-theme-help/#post-2933395)
 *     ```
       <?php if(get_option($shortname.'_custom_background_color','') != "") { ?>
           <style type="text/css">
             body { background-color: <?php echo get_option($shortname.'_custom_background_color',''); ?>; }
           </style>
           <?php } ?>
       ```
   
 * Is this it?
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/grid-style-theme-help/#post-2933396)
 * looking at your site, the ‘offending’ output is gone; what is there is ouput 
   by your latest posted code, and this is ok:
 *     ```
       <style type="text/css">
             body { background-color: transparent; }
           </style>
       ```
   
 * no action needed.
 * however, this:
 *     ```
       background-image: url(wp/wp-content/themes/gridstyletheme/images/170412.png) !important;
       ```
   
 * should rather be:
 *     ```
       background-image: url(images/170412.png) !important;
       ```
   
 *  Thread Starter [AM55](https://wordpress.org/support/users/am55/)
 * (@am55)
 * [13 years, 10 months ago](https://wordpress.org/support/topic/grid-style-theme-help/#post-2933397)
 * Finally got there, thank you!!!
 * Now i just have to find a way to make my text stand out.

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

The topic ‘Grid style theme help’ is closed to new replies.

 * 9 replies
 * 3 participants
 * Last reply from: [AM55](https://wordpress.org/support/users/am55/)
 * Last activity: [13 years, 10 months ago](https://wordpress.org/support/topic/grid-style-theme-help/#post-2933397)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
