Title: Imported theme not responsive
Last modified: August 21, 2016

---

# Imported theme not responsive

 *  [menre](https://wordpress.org/support/users/menre/)
 * (@menre)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/imported-theme-not-responsive/)
 * Hi All,
 * I have created a theme from scratch based on a website page layout and content(
   including css, JavaScript, images, etc). This is a responsive website on its 
   own with everything fully functioning. I followed the WordPress standards and
   methods of creating themes. But when I install the theme and enable it in WordPress,
   I get just a static HTML page with no css formatting, images appearing or JavaScript
   effects.
 * I was wondering if anyone has had a problem like this before, or could point 
   me to the right post/solution page.
 * Thanks in advance.

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

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/imported-theme-not-responsive/#post-4226556)
 * Does it work if you use the default theme?
 *  [ImageOmega](https://wordpress.org/support/users/imageomega/)
 * (@imageomega)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/imported-theme-not-responsive/#post-4226563)
 * Hey menre,
 * This sounds like you didn’t tell the page where to find your stylesheets.
 * In your header.php do you have this declared:
 *     ```
       <link rel="stylesheet" href="<?php echo get_stylesheet_uri(); ?>" type="text/css" media="screen" />
       ```
   
 * Also, in your style.css you’ll need to make sure you have:
 *     ```
       @import url("stylesheets/yourstylesheet.css");
       ```
   
 * Hope that helps.
 * Ninja vanish!
 *  Thread Starter [menre](https://wordpress.org/support/users/menre/)
 * (@menre)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/imported-theme-not-responsive/#post-4226673)
 * Thanks all for your responses so far. As for your question Tara, yes the default
   theme works well.
 * Thank you for your suggestions ImageOmega. I used the link below and it helped
   a bit.
 *     ```
       <link rel="stylesheet" href="<?php echo get_stylesheet_uri(); ?>" type="text/css" media="screen" />
       ```
   
 * But the code below is a bit confusing to me.
    [@import](https://wordpress.org/support/users/import/)
   url(“stylesheets/yourstylesheet.css”);
 * Another issue I am dealing with now is to make the JavaScript display. Do I need
   to reference the link in a specific way?
 * I will appreciate further help, please.
 *  Thread Starter [menre](https://wordpress.org/support/users/menre/)
 * (@menre)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/imported-theme-not-responsive/#post-4226674)
 * Thanks all for your responses so far. As for your question Tara, yes the default
   theme works well.
 * Thank you for your suggestions ImageOmega. I used the link below and it helped
   a bit.
 *     ```
       <link rel="stylesheet" href="<?php echo get_stylesheet_uri(); ?>" type="text/css" media="screen" />
       ```
   
 * But the code below is a bit confusing to me.
    [@import](https://wordpress.org/support/users/import/)
   url(“stylesheets/yourstylesheet.css”);
 * Another issue I am dealing with now is to make the JavaScript display. Do I need
   to reference the link in a specific way?
 * I will appreciate further help, please.
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/imported-theme-not-responsive/#post-4226677)
 * > yes the default theme works well.
 * It means there is a problem specific to the theme you are using.
 *  [leejosepho](https://wordpress.org/support/users/leejosepho/)
 * (@leejosepho)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/imported-theme-not-responsive/#post-4226678)
 * Maybe try these to see what they might show:
    [http://wordpress.org/support/topic/very-high-cpumemory-usage-after-theme-change?replies=9#post-4769607](http://wordpress.org/support/topic/very-high-cpumemory-usage-after-theme-change?replies=9#post-4769607)
 *  Moderator [Jose Castaneda](https://wordpress.org/support/users/jcastaneda/)
 * (@jcastaneda)
 * THEME COFFEE MONKEY
 * [12 years, 8 months ago](https://wordpress.org/support/topic/imported-theme-not-responsive/#post-4226679)
 * Part of the reason you are having issues with your styles and scripts is that
   you may not be enqueuing them properly.
 * Best practice is to hook them to `wp_enqueue_scripts` that way you not only have
   a cleaner header file ( if you have one ) but if you decide to decide to publically
   share your theme it will be a little easier to create a child theme for it. 🙂
 * So what you would do is create a callback function in your functions file:
 *     ```
       //hook to wp_enqueue_scripts
       add_action ( 'wp_enqueue_scripts', 'my_scripts_styles' );
       function my_scripts_styles(){
           wp_enqueue_script( 'my-js', get_template_directory_uri() . /js/my-js-file.js' );
           wp_enqueue_style( 'my-theme-style', get_stylesheet_uri() );
       }
       ```
   
 * Resources:
    [wp_enqueue_scripts](http://codex.wordpress.org/Plugin_API/Action_Reference/wp_enqueue_scripts)
   [wp_enqueue_script](http://codex.wordpress.org/Function_Reference/wp_enqueue_script)
   [wp_enqueue_styles](http://codex.wordpress.org/Function_Reference/wp_enqueue_style)

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

The topic ‘Imported theme not responsive’ is closed to new replies.

 * 7 replies
 * 5 participants
 * Last reply from: [Jose Castaneda](https://wordpress.org/support/users/jcastaneda/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/imported-theme-not-responsive/#post-4226679)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
