Solution
I found the cause for my problem. I used the “Child Theme Configurator” plugin to generate my child theme. The plugin put the following code at the top of my functions.php. The plugin decided that wp-bootstrap-starter-fontawesome-cdn
was relevant for the loading of the themes main CSS (look at the very end of the wp_enqueue_style
function):
if (!function_exists('chld_thm_cfg_parent_css')):
function chld_thm_cfg_parent_css()
{
wp_enqueue_style('chld_thm_cfg_parent', trailingslashit(get_template_directory_uri()) . 'style.css', array('wp-bootstrap-starter-bootstrap-css', 'wp-bootstrap-starter-fontawesome-cdn'));
}
endif;
add_action('wp_enqueue_scripts', 'chld_thm_cfg_parent_css', 10);
In any case, it makes sense to search the entire project for any occurrence of the style being enqueued, even where you don’t expect it and look for dependencies.
Related Posts:
- How Can I Use A Child Theme Effectively When Parent’s CSS Is Located in a ‘CSS folder’?
- Disable child theme css on certain pages
- Different ways to load child theme css
- why this media query is not working / not loading when I put it in child theme?
- Child theme stylesheet not always overriding “index”
- Child Theme CSS not showing at all
- CSS getting injected into index from somewhere after theme/custom CSS is loaded, overriding all of my CSS [closed]
- How to enqueue stylesheets in child-theme functions.php?
- My Child Theme CSS Isn’t Working
- Font size decreases when child theme is created from parent theme?
- Why are my parent styles loading after my child styles?
- Browser stacks different versions of style.css
- Remove Open Sans from Twenty Twelve theme
- Enqueue Google Web Fonts Without Messing Up Symbols In URL
- Inbuilt style for jquery-ui-datepicker
- Why is style.css not being enqueued?
- How to conditionally enqueue a stylesheet only for a certain page(s)?
- How to enqueue style before style.css
- What is the correct way to enqueue multiple CSS files?
- Remove wp_add_inline_style
- Is it possible to enqueue a raw CSS string directly from within a template file?
- Give priority to child theme stylesheet
- Use wp_enqueue_scripts, not wp_print_styles?
- Adding style sheet to specific page
- Do I only need to import style.css for a child theme?
- some things in child theme css not overriding parent
- Child Theme Not Overriding Parent Theme
- Style.css in child theme is loaded before Bootstrap
- When enqueing a stylesheet, is it possible to remove the type attribute? [duplicate]
- Understanding child theme functions.php
- Load custom css after bootstrap
- De-registering parent style sheet css recommended?
- Enqueue style for Password Reset page
- How to change Parent Themes in Child Theme CSS
- The correct way to include JavaScript and CSS in my WordPress Themes
- Duplicate and alter sidebar for Twenty Eleven
- Is it possible to change the path of a css file that is registered through wp_enqueue_style()?
- How can I remove css from a child theme?
- Relative path instead of absolute for wp_enqueue_script
- get_stylesheet_uri returns wrong path
- Override load-styles.php with admin screen css
- CSS file not registering through add_action
- Relative path in wp_register_style not working
- Custom Admin CSS styles to style media uploader?
- getting url in wp_enqueue_style
- Is it better to put CSS in additional CSS or in Child theme styles.css [closed]
- Loading different stylesheet on WordPress pages?
- Use wp_add_inline_style to add code to before wp_head?
- why enqueued styles in header.php shows in footer?
- Font Awesome wp_enqueue_style
- How to insert html/css/javascript code to wordpress plugin
- Adding external stylesheet after ALL other styles
- Parent theme CSS overriding child CSS rules
- How to enqueue a random css style?
- WordPress Twenty Fourteen Theme Sidebar
- Load in wp admin assets from child theme
- Enqueue styles in new site editor in WordPress 5.9
- Help with child theme enqueuing additional css files
- How to integrate my HTML and javascript into my child theme
- How to organize priority of plugins CSS files?
- How do I make header.php use different css for different pages?
- Load CSS in footer, like your can with JS?
- Child theme CSS not applying to element
- Correct Way To Make Changes To A WordPress Theme
- Why is this jquery / java script code not working in mobile / in devices?
- Why is my child theme style.css not found (404) in the front-end? [closed]
- My CSS suddenly doesn’t load anymore [closed]
- How to sync the style in the visual editor with the style of a child theme?
- How can I force Dynamic CSS via ACF values to update on page load?
- functions.php – inject inline css from file
- Append style tag in head while shortcode runs
- How can I move my custom css to the very bottom of the head section?
- How can I get this child theme stylesheet to properly load? Or if it is correct, why doesn’t my child theme appearance match the parent?
- child theme appears again when I put the header with parent name.
- Load custom CSS before admin CSS
- How would one set or override a Fallback font for characters in second language?
- First element/selector of enqueued CSS file breaks
- get_template_directory_uri() links to child theme not parent
- Child Theme style.css changes aren’t showing. Parent “style-less.css” over rides it, and won’t update
- Css will not display in webpage, after adding it in style.css in child theme
- Why would the child theme load in the Customize preview, but not on the site itself?
- Dequeue styles with query doesn’t work
- Save custom option in CSS file
- Add inline CSS to login page with wp_add_inline_style
- Set different css stylesheet for specific pages [duplicate]
- all of a sudden my child theme style.css is being ignored? Its been working fine for months?
- Change WP Child theme CSS for WP Bootstrap Starter Theme
- Change style of Twenty Seventeen child theme
- Child Theme not loading multiple stylesheets
- Modify arguments for parent theme’s `wp_register_style` via child theme
- Replacing parent theme’s IE-specific CSS
- 100% Width Footer – Custom Child Theme
- Bootstrap 4 Optimization
- Can’t override CSS with child theme
- Add Custom CSS Class in Child Theme [closed]
- How to create my own style.css file in an wordpress child-theme
- Enqueue MCE Editor CSS in admin page
- plugin not loading my css and js
- Custom theme – Bootstrap CSS not loading via wp_enqueue_style or otherwise
- How enqueue CSS out of theme folder?