It looks like all you need is to add a trailing slash so the directory is correct.
Solution: change 'style.css'
to '/style.css'
in your second wp_register_style()
call on line 7.
Related Posts:
- Why is style.css not being enqueued?
- How to enqueue style before style.css
- Avoid to load default WP styles in login screen
- Load custom css after bootstrap
- The correct way to include JavaScript and CSS in my WordPress Themes
- Relative path in wp_register_style not working
- Changes in enqueued / registered stylesheet paths not updating—why?
- How do I view registered syles and scripts for enqueue
- Split Media Queries in different files!
- I can’t add CSS with functions.php
- Use conditionals with wp_enqueue_style to attach stylesheet according to post type displayed
- How to reference different css (bootstrap) stylesheets for the header and body of a page?
- Modify arguments for parent theme’s `wp_register_style` via child theme
- How to create my own style.css file in an wordpress child-theme
- Where is the right place to register/enqueue scripts & styles
- Check if a script/style was enqueued/registered
- Why wp_register_style() is important while I’m using a complete wp_enqueue_style()? [duplicate]
- Is it ever okay to include inline CSS in plugins?
- How important is it to enqueue a theme’s stylesheet?
- How can I get a list of all enqueued scripts and styles?
- How to add crossorigin and integrity to wp_register_style? (Font Awesome 5)
- Style custom columns in admin panels (especially to adjust column cell widths)
- Is it possible to remove username field from the registration page? If so, how?
- Remove Open Sans from Twenty Twelve theme
- users table – user_name vs. nicename
- How to load scripts/styles specific for a page
- Enqueue Google Web Fonts Without Messing Up Symbols In URL
- Inbuilt style for jquery-ui-datepicker
- How to conditionally enqueue a stylesheet only for a certain page(s)?
- Enqueue a stylesheet for login page and make it appear in head element
- WordPress admin stylesheet
- How to add stylesheets only to pages with specific shortcode?
- Google Apps login in wordpress
- What is the correct way to enqueue multiple CSS files?
- How do I create a password reset link?
- Can I hook into user registration *before* a user is created?
- Why is the Child Theme Stylesheet Not Loading?
- How can I be certain that a user has verified their email after registration?
- Load js/css files only on specific admin UI pages
- Placeholder text for registration form
- Use the user_activation_key for other purposes
- How to limit user registration to a specific set of domains?
- Stop spam users from registering without disabling user registration?
- How do I create a user using the new JSON api in 4.7?
- How to check if the user registration is allowed/active?
- Remove wp_add_inline_style
- how to include other plugins css files in a shortcode?
- Is it possible to enqueue a raw CSS string directly from within a template file?
- Why I can’t add a CSS style in this WordPress theme?
- How to use wp_dequeue_style() for style enqueued in WP_Widget class
- How to dequeue / deregister any theme styles and scripts
- how to disable user confirmation from administration?
- Give priority to child theme stylesheet
- How to add extra attribute to stylesheet link?
- How do I register/enqueue a custom CSS file?
- How can I dequeue a Plugin Stylesheet?
- Use wp_enqueue_scripts, not wp_print_styles?
- How to prevent spam users registering even with registration disabled
- Custom registration form page/template
- Insert “New User” and update/set meta data at once
- Send automatic email to user after wp_create_user
- Mail isn’t sent after local site registration
- How to prevent certain usernames from being registered?
- How to add the main style.css to my index.php?
- How to disable or protect against disposable email accounts?
- How to force stylesheet to load before anything else in header?
- Why isn’t my theme processing SASS?
- TinyMCE custom stylesheets for different post types
- How to combine multiple CSS files and concatenate JavaScripts if WordPress recommends enqueuing them?
- Adding style sheet to specific page
- Adding inline styles from a widget
- How do I load custom scripts and styles for a page?
- Changing username after registration to get around the issue of having duplicate emails?
- Registration key
- User defined password at registration – registration email sends auto generated pass
- “wp_enqueue_style();” don’t load new edited style
- wp_enqueue_style in Plugin [duplicate]
- How Can I Use A Child Theme Effectively When Parent’s CSS Is Located in a ‘CSS folder’?
- WordPress Register Style Called Incorrectly
- Advice on setting up a site with front end registration
- How to add a description to the user name input field in the registration form?
- Creating a Closed WordPress Community Using Referral Codes
- To enqueue or not to enqueue
- Disable child theme css on certain pages
- Child Theme Not Overriding Parent Theme
- How can I enqueue a style only when a particular widget is active?
- Style.css in child theme is loaded before Bootstrap
- How to add a checkbox to registration and user profile?
- When enqueing a stylesheet, is it possible to remove the type attribute? [duplicate]
- Enqueued Stylesheets Effecting Admin Styles
- Enqueue styles after a plugin
- Function like is_registration_page to check if current page is registration page
- I register and enqueue stylesheet but nothing is rendered
- wp_create_user hook
- Payment on Registration?
- Best spot for wp_register_script() and wp_register_style()
- Enqueued Stylesheet Version Number Not Being Appended
- Prevent CSS/JS loading when plugin is not used
- Understanding child theme functions.php
- White spaces in username give 404 on author page