Take a look at the official docs:
https://codex.wordpress.org/Child_Themes
https://developer.wordpress.org/themes/advanced-topics/child-themes/
Make sure you are within your child theme functions.php
and use this code to make sure the function is firing. It will kill the page if it is working correctly.
function wpdocs_theme_name_scripts() {
wp_die('Yep! This is working');
}
add_action( 'wp_enqueue_scripts', 'wpdocs_theme_name_scripts' );
Related Posts:
- Why is the Child Theme Stylesheet Not Loading?
- Give priority to child theme stylesheet
- Style.css in child theme is loaded before Bootstrap
- 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?
- Why does using wp_register_style without wp_enqueue load and print CSS tags in the front-end?
- Modify arguments for parent theme’s `wp_register_style` via child theme
- Why won’t my Custom CSS Load
- Versioning @import of parent theme’s style.css
- Attributing a version number to a child theme’s main stylesheet
- how do I queue my Child stylesheet/s *after* every Parent stylesheet/statement?
- Why is style.css not being enqueued?
- How to enqueue style before style.css
- Issues enqueueing parent & child theme stylesheets with revised Codex method
- Avoid to load default WP styles in login screen
- Get parent theme version
- How to use parent theme’s enqueue methods
- How to maintain wp_enqueue_style dependencies set in parent theme style enqueuing
- How Can I Use A Child Theme Effectively When Parent’s CSS Is Located in a ‘CSS folder’?
- How can I make new .css file in child theme override styles in child theme’s style.css
- Disable child theme css on certain pages
- Enqueue styles properly in a child theme and stylesheets location
- Child Theme Not Overriding Parent Theme
- How are updates to the style.css file in child theme recognized?
- How do I set up a child-theme without using @import
- Find a Parent Theme’s stylesheet $handle when it registers a stylesheet
- Dequeue only stylesheets but not inline style added using wp_add_inline_style
- Understanding child theme functions.php
- Load custom css after bootstrap
- Overwrite CSS with without deleting it
- De-registering parent style sheet css recommended?
- Enqueue stylesheets if parent theme has more than one .css file
- The correct way to include JavaScript and CSS in my WordPress Themes
- ERROR MESSAGE: Missing index.php—Child Theme
- Relative path in wp_register_style not working
- Priority loading file css in child theme
- Is my child theme working properly
- Child theme style repeated
- Child theme style.css versioning
- How to NOT call Font Awesome or font icons in WordPress
- Changes in enqueued / registered stylesheet paths not updating—why?
- @font-face broken in child theme
- Prevent a base themes css file from loading
- Child Theme vs. Jetpack Editor
- WordPress Child theme’s css not loading
- Different ways to load child theme css
- Parent theme CSS overriding child CSS rules
- How do add a the style-mobile css from the main theme to the child theme?
- Child theme style.css isn’t overwriting parent style.css
- Confused about how to use wp_enqueue_style
- How to use custom stylesheet only for a template in child theme
- Order of stylesheets in child theme
- Child theme problem
- why this media query is not working / not loading when I put it in child theme?
- How do I view registered syles and scripts for enqueue
- Child theme stylesheet not always overriding “index”
- Child style loads before all parent styles
- my custom css file downloads then it STOPS!
- Child Theme CSS not showing at all
- What is the correct workflow for modifying child themes?
- Split Media Queries in different files!
- CSS getting injected into index from somewhere after theme/custom CSS is loaded, overriding all of my CSS [closed]
- Parent theme styles overriding child theme CSS [closed]
- I can’t add CSS with functions.php
- Child theme not importing parent styles
- How to make child theme in wordpress with wp_enqueue_style ? Using Enough Theme
- get_template_directory_uri() links to child theme not parent
- Set a link in child theme style.css to jump to #main [closed]
- Stylesheet overriding in Child theme
- Two stylesheets acting on one element
- Use conditionals with wp_enqueue_style to attach stylesheet according to post type displayed
- WordPress Child Theme – twentyeleven
- Modify Twentyeleven child theme CSS – How to change body font size?
- Can only override parent theme styling with ‘!important’ in child style.css
- Why would the child theme load in the Customize preview, but not on the site itself?
- How to enqueue stylesheets in child-theme functions.php?
- Dequeing Parent Fontawesome Deques Parent Styles
- Remove Stylesheet by URL that has not been enqueued
- How to reference different css (bootstrap) stylesheets for the header and body of a page?
- How to enqueue multiple style sheets into my child theme in wordpress (oceanwp)
- My Child Theme CSS Isn’t Working
- Font size decreases when child theme is created from parent theme?
- Enqueuing multiple stylesheets with a child theme
- Child Theme not loading multiple stylesheets
- how to fix loading scripts in child theme?
- How to override styles from child theme if all the styles are in a folder?
- Why are my parent styles loading after my child styles?
- Browser stacks different versions of style.css
- How to activate the child theme in WordPress?
- how to call files in child theme?
- Recommended way to load / enqueue parent and child stylesheet to enable cache busting
- Font Awesome changing default WordPress Font
- All Titles and Menus changed to “CHILD THEME LOADED”
- Having issue with WordPress wp_enqueue_style
- Is there any way to put the Google Tag manager Identification code into the child theme?
- Why submenu item’s background color is not changing by css?
- Save custom option in CSS file
- “Cannot modify header information – headers already sent by” while using get_stylesheet_directory_uri()
- How do I create a child theme from PowerMag theme
- How to get custom translations from child theme to be loaded?
- Need help installing Hoffman child theme