This is the path to the css and I have checked the styles it's there correctly
http://localhost/technologies-news/wp-content/themes/revblog/style.css this was found in the browser run , this is the path in the function.php wp_enqueue_style(‘revocubeblog-style’, get_template_directory_uri() . “/style.css”, array(), $version, ‘all’); , this is my head section in my front-page.php
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>revocube blog</title>
<link rel="stylesheet" href="/wp-content/themes/revblog/style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?:
php
Copy code
function godwinrevo_register_styles() {
$version = wp_get_theme()->get('Version');
wp_enqueue_style('revocubeblog-style', get_template_directory_uri() . '/style.css', array(), $version, 'all');
wp_enqueue_style('revocubeblog-mainstyle', get_template_directory_uri() . '/assets/css/mainstyle.css', array(), $version, 'all');
wp_enqueue_style('revocubeblog-responsive', get_template_directory_uri() . '/assets/css/responsive.css', array(), $version, 'all');
wp_enqueue_style('revocubeblog-fontawesome', 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css', array(), '5.13.0', 'all');
wp_enqueue_style('revocubeblog-bootstrap', 'https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css', array(), '4.4.1', 'all');
}
New contributor
Kenny Sunday is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.