You had the right idea, but made an unfortunate typo: . './custom/navbar.css'
.
Removing the additional fullstop should correct the URL, otherwise you were succesfully enqueing a stylesheet, the code just enqueued the wrong URL due to the typo
Related Posts:
- Issues enqueueing parent & child theme stylesheets with revised Codex method
- Why is the Child Theme Stylesheet Not Loading?
- Give priority to child theme stylesheet
- 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
- Enqueue styles properly in a child theme and stylesheets location
- Style.css in child theme is loaded before Bootstrap
- 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
- Enqueue stylesheets if parent theme has more than one .css file
- ERROR MESSAGE: Missing index.php—Child Theme
- Priority loading file css in child theme
- Is my child theme working properly
- Child theme style repeated
- How to NOT call Font Awesome or font icons in WordPress
- @font-face broken in child theme
- Prevent a base themes css file from loading
- WordPress Child theme’s css not loading
- Confused about how to use wp_enqueue_style
- Child style loads before all parent styles
- 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?
- How to make child theme in wordpress with wp_enqueue_style ? Using Enough Theme
- Can only override parent theme styling with ‘!important’ in child style.css
- Why does using wp_register_style without wp_enqueue load and print CSS tags in the front-end?
- Remove Stylesheet by URL that has not been enqueued
- how to fix loading scripts in child theme?
- Why won’t my Custom CSS Load
- How to create my own style.css file in an wordpress child-theme
- How to cache bust a child theme style.css
- @package & @subpackage: how to use with child themes
- How to transfer changes to a child theme?
- WordPress master + child themes + Git workflow
- something like is_childtheme()
- How could child theme be different than parent theme if I haven’t made changes?
- Child Theme, Functions.php Issues
- Redefining function in child themes
- How to dequeue / deregister parent theme style
- How to disable updates in WordPress theme
- De-registering parent style sheet css recommended?
- replace parent theme images in child theme
- Altered media sizes (in dash), not updating to existing images/posts
- WP .js script file not loading
- Localization: Textdomain of Child teme
- How to install bootstrap in child theme
- Child Theme vs. Jetpack Editor
- Cannot dequeue script in child theme
- Generate PO File
- Activate Child Theme .mo and .po files
- Linking to Child Theme PHP Files
- Use child theme on certain pages and not others?
- WordPress Bootstrap Problem
- Child Theme disable customizer defaults
- Override file inside inc in child theme
- Add custom function to child function.php
- Child theme problem
- Undefined functions on the server
- How do WP child-themes work? [closed]
- Enqueue custom css file on specific page
- javascript not being enqueued correctly
- What is the correct workflow for modifying child themes?
- styles from child theme not loaded for file other than style.css
- Child Theme Variables
- Multiple Child Themes
- How to install Bootstrap in a WordPress child theme
- Getting an error. Need to add favicon in my child theme functions.php. What’s wrong?
- Fatal error and use of undefined constant in child theme unless I redefine it
- Trouble translating a Child Theme
- Child Theme Customizer not working
- Customize file on inc folder on child theme
- child parent styles enqueue order
- wp_enqueue wont work on some files?
- WordPress + Child Theme = Am I missing something?
- WordPress Child Theme – twentyeleven
- Why would the child theme load in the Customize preview, but not on the site itself?
- Add custom css file after plugin css with WordPress Child Theme functions.php
- Child theme is not rendering parent and own javascripts (but css loaded properly, js not)
- How to enqueue stylesheets in child-theme functions.php?
- “Cannot modify header information – headers already sent by” while using get_stylesheet_directory_uri()
- Copy files from main to child theme (after designing website)
- How do I create a child theme from PowerMag theme
- Font size decreases when child theme is created from parent theme?
- How to get custom translations from child theme to be loaded?
- Twenty Seventeen – Navigation bar, logo, header size
- Admin options from parent theme do not bind
- using a child theme, after enqueing my js file it is loading before jquery
- Can I still switch to a child theme?
- How can I load child theme stylesheet with cache busting string and remove same stylesheet loaded by parent theme?
- Need help installing Hoffman child theme
- Adding translation files to a child theme
- is it ok to dequeue default parent stylesheet from custom page templates in child theme?
- What the mean about ‘child theme’?
- Child theme template value for style.css for parent in different folder
- About wordpress child themes
- Body classes in child theme
- melville and its child theme
- Child theme customizer preview doesn’t work/load
- theme.json should be in the child theme folder when using xxxx.json style located in the styles folder?