Skip to content

Fix stylesheet not loading for Divi theme#7866

Merged
m1r0 merged 2 commits intotrunkfrom
fix/issue-loading-css
Dec 15, 2025
Merged

Fix stylesheet not loading for Divi theme#7866
m1r0 merged 2 commits intotrunkfrom
fix/issue-loading-css

Conversation

@donnapep
Copy link
Contributor

@donnapep donnapep commented Nov 24, 2025

Resolves #7863.

Proposed Changes

Fixes typo in path of custom Divi styles.

Testing Instructions

Pre-Merge Checklist

  • PR title and description contain sufficient detail and accurately describe the changes
  • Adheres to coding standards (PHP, JavaScript, CSS, HTML)
  • All strings are translatable (without concatenation, handles plurals)
  • Follows our naming conventions (P6rkRX-4oA-p2)
  • Hooks (p6rkRX-1uS-p2) and functions are documented
  • New UIs are responsive and use a mobile-first approach
  • Code is tested on the minimum supported PHP and WordPress versions

@donnapep donnapep added this to the 4.25.2 milestone Nov 24, 2025
@donnapep donnapep self-assigned this Nov 24, 2025
Copilot AI review requested due to automatic review settings November 24, 2025 21:54
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a typo in the stylesheet path for the Divi theme integration, correcting "div" to "divi" to ensure the Learning Mode stylesheet loads properly in the admin interface.

  • Corrected the path from css/3rd-party/themes/div/learning-mode.css to css/3rd-party/themes/divi/learning-mode.css

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

You can also share your feedback on Copilot code review for a chance to win a $100 gift card. Take the survey.

@m1r0
Copy link
Member

m1r0 commented Dec 15, 2025

I can confirm that this fixes it. Thanks, Donna!

@m1r0 m1r0 merged commit b35f3fa into trunk Dec 15, 2025
17 checks passed
@m1r0 m1r0 deleted the fix/issue-loading-css branch December 15, 2025 14:53
@m1r0 m1r0 restored the fix/issue-loading-css branch December 15, 2025 16:55
@m1r0 m1r0 deleted the fix/issue-loading-css branch December 15, 2025 16:55
@m1r0
Copy link
Member

m1r0 commented Dec 15, 2025

I've reverted this because there are issues with the site editor.

@donnapep donnapep removed this from the 4.25.2 milestone Dec 16, 2025
@donnapep donnapep restored the fix/issue-loading-css branch December 16, 2025 14:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

learning-mode.css link is incorrect

3 participants