My file path is displayed below:
D:\web server\blog.dev.cc\wp-content\themes\ablog\css
for java script file path
D:\web server\blog.dev.cc\wp-content\themes\ablog\assets\js
Despite checking the code multiple times, the issue remains unresolved. I am attempting to change the "
to '
icon, however, it is not functioning correctly. I have also altered some paths in my CSS file and JavaScript files, but my CSS is not displaying as expected.
// steel sheet
function ablog_add_stylesheet() {
// outer styles sheet
wp_enqueue_style('font-awesome.min.css', get_template_directory_uri() . '/css/font-awesome.min.css'); // font awesome
wp_enqueue_style('elegent-icons.css', get_template_directory_uri() . '/css/elegent-icons.css' );// icon
wp_enqueue_style('bootstrap.min.css', get_template_directory_uri() . '/css/bootstrap.min.css',array(), '4.2.1','all');// bootstrap css
wp_enqueue_style('owl.carousel.css', get_template_directory_uri() . '/css/owl.carousel.css' ); // own file for slide css
//own CSS Files style.css
wp_enqueue_style( 'lookway_header_css', get_template_directory_uri() . '/style.css' ); // main theme css file
wp_enqueue_style( 'lookway_header_css', get_template_directory_uri() . '/css/header.css' ); // header css
wp_enqueue_style('themes.css', get_template_directory_uri() . '/css/themes.css'); // for artical
wp_enqueue_style('responsive.css', get_template_directory_uri() . '/css/responsive.css' ); // responsive
}
add_action( 'wp_enqueue_scripts', 'ablog_add_stylesheet' );
// script
function ablog_add_stylesheets() {
wp_enqueue_script('modernizr-2.8.3.min.js', get_template_directory_uri() . '/assets/js/modernizr-2.8.3.min.js' ); // script
wp_enqueue_script('plugins.js', get_template_directory_uri() . '/assets/js/plugins.js'); // script
wp_enqueue_script('main.js', get_template_directory_uri() . '/assets/js/main.js'); // script
}
add_action('wp_enqueue_scripts', 'ablog_add_stylesheets');
Upon adding the file, the CSS is not displaying correctly on my theme.