Hiya I made a {custom} theme and moved it from MAMP to a cloud server. For some purpose the CSS is an empty file. File path is right, checked the file in cPanel and it has the complete .css sheet. However after I go to console and comply with the trail it’s simply empty. My .js file masses positive and I beleive i enqueued the paths correctly.
Any assistance is vastly appreciated and thanks to your time!
Capabilities
<?php
perform paramo_script_enqueue() {
wp_enqueue_style('customstyle', get_template_directory_uri() . '/css/paramo.css'), array (), '1.0.0', all );
wp_enqueue_script('customjs', get_template_directory_uri() . '/js/paramo.js', array('jquery', 'jquery-ui-core'), '1.0.0', true );
}
add_action('wp_enqueue_scripts', 'paramo_script_enqueue');
perform paramo_theme_setup() {
add_theme_support('menus');
register_nav_menu('major', 'Major Header Navigation');
register_nav_menu('secondary', 'Footer Navigation');
}
add_action('init', 'paramo_theme_setup');
add_theme_support('custom-header');
//enqueues our regionally provided font superior stylesheet
perform enqueue_our_required_stylesheets(){
wp_enqueue_style('font-awesome', get_stylesheet_directory_uri() . '/css/font-awesome.css');
}
add_action('wp_enqueue_scripts','enqueue_our_required_stylesheets');
?>