Twentyfifteen child theme is working on localhost but not on outside server

I have made a child theme of twentyfifteen theme. I get the theme work in my localhost, but it doesn’t work in the outside server. So If I change background color etc. in childtheme style.css it is working in localhost, but in outside server it doesn’t work.

Here is my code in style.css

Read More
/*
Theme Name:   Twenty Fifteen Melior
Theme URI:    http://www.meliorvalmennus.fi/themes/twentyfifteenmelior/
Description:  Twenty Fifteen Child Theme for Melior
Author:       Aila Mustonen
Author URI:   http://www.meliorvalmennus.fi
Template:     twentyfifteen
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Tags:         light blue, two-columns, left-sidebar, responsive-layout, accessibility-ready
Text Domain:  twenty-fifteen-melior
*/

and here is my functions.php

<?php
    add_action( 'wp_enqueue_scripts', 'theme_enqueue_styles' );
    function theme_enqueue_styles() {
        wp_enqueue_style( 'parent-style', get_template_directory_uri() . '/style.css' );
    }

I don’t understand what’s the matter? I don’t get any error messages on outside server. I’m a quite new with child themes and wordpress.

Related posts

Leave a Reply