page will not reconize CSS style sheet
-
I am trying to create a custom theme template and I am having trouble styling my blog page. I got my header, footer index and function php files. And, I also have my style.css file. I have the necessary comments at the beginning of my css file and I am using the following code in my function php file to link my style sheet to my page:
<?php function link_resources() { wp_enqueue_style('style', get_stylesheet_uri()); } add_action('wp_enqueue_scripts', 'link_resources'); ?>
Here is a copy of what is in my css file:
* Theme Name: Hopeful Author: Kevin Haynes Author URI: https://www.stay-hopeful.com Version: 1.0 */ h1{ text-align:center; font-size:100px; font-family:Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; color:blue; margin-top:200px; }
for now I’m just tring to style the h1 tag but, I can’t even get that much done.
Could any one help?Thanks,
Truck35
Viewing 13 replies - 1 through 13 (of 13 total)
Viewing 13 replies - 1 through 13 (of 13 total)
- The topic ‘page will not reconize CSS style sheet’ is closed to new replies.