![]() This will look for a stylesheet named “style” and load it. To enqueue style.css: wp_enqueue_style( 'style', get_stylesheet_uri() ) In order to load your main stylesheet, you can enqueue it in functions.php Rather then loading the stylesheet in your header.php file, you should load it in using wp_enqueue_style. For this reason, the style.css file is required in every theme. A stylesheet is also the file where information about your theme is stored. Your CSS stylesheets are used to customize the presentation of your theme.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |