SimonPadbury / b4st

A Bootstrap 4 Starter Theme, for WordPress
The Unlicense
311 stars 104 forks source link

Update enqueues.php #43

Closed fmohican closed 6 years ago

fmohican commented 6 years ago

syle.css from root theme directory isn't added.

SimonPadbury commented 6 years ago

Hi Fmohican,

Thankyou but no. In b4st, my plan is to (a.) use styles.css for only the WordPress Theme "front matter" introduction comment, and (b.) organise all the required CSS in theme/css/. Many users will also compose their styles using multiple SCSS files, which they can put in there too.

If you want to write CSS in styles.css and then use it, add this to your (child) theme header.php:

<link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />

Or add your styles to theme/css/b4st.css – or register & enqueue another CSS file in theme/css/, e.g. theme/css/fmohican.css.