Web Hosting
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Xampp problem.

Discussion in 'Misc WordPress Requests' started by micropixels, Oct 18, 2017.

  1. micropixels

    Guest

    Xampp problem., by micropixels

    Hey there i am using the latest version of the wordpress, i am using a custom .css file with the following code-:

    <?php function home_script_enqueue() {

    /*Enqueue The Styles*/
    wp_enqueue_style( 'customstyle', get_template_directory_uri() . '/css/home.css' , array() , '1.0.0' , 'all' );

    }

    add_action( 'wp_enqueue_scripts', 'home_script_enqueue' );?>

    now when i restart my pc and and make changes within home.css nothing happens BUT when i rename it from “home.css” to “Home.css” it works, why do i need to change the directory name to make it sync “home.css” everytime? Please help. Thanks!

    Xampp problem.
     
    #1

Share This Page

Web Hosting