sensei
sensei copied to clipboard
Courses: Custom content width in Learning Mode template is not applied to lessons
Steps to Reproduce
- Edit the learning mode template
- Click on Content Block in Main Content
- Set a custom content width
- Save
- View a lesson
What I Expected
The lessons to follow the custom content width set
What Happened Instead
When viewing a lesson, the styling is followed at first, but it reloads and resets the content width to fill up the entire screen
PHP / WordPress / Sensei LMS version
WP 6.7.1 Sensei 4.24.4
Screenshot / Video
Context / Source
9121185-zen
Support References
This comment is automatically generated. Please do not edit it.
- [ ] 9121185-zen
@dericleeyy ~Could you please add the theme you were using as it may be relevant? 🙇♀~ From the ticket, looks like it's the Course theme. Moving to the themes repo.
📌 REPRODUCTION RESULTS
- Tested on Atomic – Replicated
📌 FINDINGS/SCREENSHOTS/VIDEO The site's main content width overrides anything set in the template https://github.com/user-attachments/assets/0c719f4d-8f67-4e9e-aa28-140515faa5b6
📌 ACTIONS
- Triaged & prioritized
- Clarified title and added a step to make it easier to reproduce
@donnapep I don't think this is theme-dependent. I reproduced it on the Twenty Twenty-Four theme.
I suspect this has something to do with the reactivity of the content to the width of the browser.
Confirmed. Moving back to Sensei.