Title: custom theme issues? CSS?
Last modified: August 19, 2016

---

# custom theme issues? CSS?

 *  [horizoncomm](https://wordpress.org/support/users/horizoncomm/)
 * (@horizoncomm)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/custom-theme-issues-css/)
 * I can’t figure out what’s going on here…I was given a css/html site and asked
   to port it over to WP. The html/css is working, but when I move it over as a 
   theme, it’s like the stylesheet won’t load. I’m sure it’s something simple…can
   anyone please help?
 * WP – [http://mpoweryourbusiness.com/](http://mpoweryourbusiness.com/)
 * html/css – [http://www.horizoncommstrategies.com/mpower/html/index.html](http://www.horizoncommstrategies.com/mpower/html/index.html)

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

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/custom-theme-issues-css/#post-1943430)
 * make sure your theme has a style.css;
 * try to change this:
    `<link rel="stylesheet" type="text/css" href="psd2css.css"
   media="screen" />` into this: `<link rel="stylesheet" type="text/css" media="
   all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />`
 * or into this:
    `<link rel="stylesheet" type="text/css" media="all" href="<?php
   bloginfo( 'stylesheet_directory' ); ?>/psd2css.css" />`
 * this assumes that ‘psd2css.css’ is in this location `/wp-content/themes/yourthemename/
   psd2css.css`
 *  Thread Starter [horizoncomm](https://wordpress.org/support/users/horizoncomm/)
 * (@horizoncomm)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/custom-theme-issues-css/#post-1943435)
 * Thank you! It worked. My headache is going away already!
 *  Thread Starter [horizoncomm](https://wordpress.org/support/users/horizoncomm/)
 * (@horizoncomm)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/custom-theme-issues-css/#post-1943436)
 * 🙁 Any idea why the CSS is only partially loading? Is it the stylesheet? Thanks.
 * [http://mpoweryourbusiness.com/](http://mpoweryourbusiness.com/)
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/custom-theme-issues-css/#post-1943440)
 * not quite sure what you mean, however, there are images in the html that may 
   need to be called using the absolute file path to the image:
 * so instead:
 *     ```
       <div id="Layer-1" class=" footer empty">
           <img src="images/Layer-1.png" alt="_footer_empty" class="pngimg" width="1024" height="54">
       ```
   
 * try:
 *     ```
       <div id="Layer-1" class=" footer empty">
           <img src="<?php bloginfo('template_directory'); ?>/images/Layer-1.png" alt="_footer_empty" class="pngimg" width="1024" height="54">
       ```
   
 * [http://codex.wordpress.org/Function_Reference/bloginfo](http://codex.wordpress.org/Function_Reference/bloginfo)
 *  Thread Starter [horizoncomm](https://wordpress.org/support/users/horizoncomm/)
 * (@horizoncomm)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/custom-theme-issues-css/#post-1943445)
 * That did it…you’ve been a huge help. Thanks!

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

The topic ‘custom theme issues? CSS?’ is closed to new replies.

## Tags

 * [Stylesheet](https://wordpress.org/support/topic-tag/stylesheet/)
 * [template](https://wordpress.org/support/topic-tag/template/)

 * 5 replies
 * 2 participants
 * Last reply from: [horizoncomm](https://wordpress.org/support/users/horizoncomm/)
 * Last activity: [15 years, 2 months ago](https://wordpress.org/support/topic/custom-theme-issues-css/#post-1943445)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
