Skip to content

🐛 Fix block theme header styles and learning area width alignment - #2987

Merged
b-l-i-n-d merged 5 commits into
devfrom
fix/custom-theme
Sep 3, 2026
Merged

🐛 Fix block theme header styles and learning area width alignment#2987
b-l-i-n-d merged 5 commits into
devfrom
fix/custom-theme

Conversation

@b-l-i-n-d

@b-l-i-n-d b-l-i-n-d commented Sep 2, 2026

Copy link
Copy Markdown
Collaborator
  • Pre-render header block template parts before wp_head() so WordPress block container layout styles (wp-container-*) apply to custom header and footer in block themes
  • Output late-generated block support styles in tutor_custom_footer()
  • Ensure .tutor-learning-page maintains full width in flex containers without shrinking
  • Align Learning Area content right-edge padding with the header layout
  • Prevent mobile viewport content from being pushed off-screen by rejecting oversized mobile menu drawers in sticky header offset detection
  • Maintain consistent sticky header offsets during scroll for themes with sticky/transparent headers
  • Smoothly transition mobile admin bar offset as it leaves the viewport
  • Prevent redundant top padding on active quiz submission screens in site-shell mode
  • Deduplicate admin-bar specificity selector blocks across SCSS partials
  • Keep site-shell TypeScript controller functions and baseline structure aligned with dev
  • Conditionally attach the scroll listener only when a sticky theme header or WordPress admin bar is present

@b-l-i-n-d
b-l-i-n-d changed the base branch from master to dev September 2, 2026 11:30
@b-l-i-n-d
b-l-i-n-d marked this pull request as draft September 2, 2026 11:30
@b-l-i-n-d b-l-i-n-d self-assigned this Sep 3, 2026
@b-l-i-n-d b-l-i-n-d added enhancement New feature or request 4.0.8 Tutor v4.0.8 labels Sep 3, 2026
@b-l-i-n-d
b-l-i-n-d marked this pull request as ready for review September 3, 2026 05:58
@b-l-i-n-d
b-l-i-n-d merged commit 2b1b515 into dev Sep 3, 2026
5 of 8 checks passed
@b-l-i-n-d
b-l-i-n-d deleted the fix/custom-theme branch September 3, 2026 06:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4.0.8 Tutor v4.0.8 enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants