[3.0] Theme split (wave 3, part 6) — Make the main menu a band across the page - #9374
Merged
live627 merged 3 commits intoAug 8, 2026
Merged
Conversation
albertlast
force-pushed
the
3.0/theme-menu-band
branch
from
August 5, 2026 05:56
577961c to
677adb3
Compare
Closed
The top bar was a separate band above the header holding the user links, the language picker and the search box, which left the header itself holding nothing but the forum title and the logo. They merge: the header now has the title at one end and a user panel at the other. Keeps the search box and the language picker, which the theme branch drops from the template while leaving their CSS behind. The footer's Go up link pointed at #top_section, so it now points at Signed-off-by: albertlast <mathiaspapealbert@hotmail.com>
They hang off #top_info, which is positioned, and were anchored to its start edge. That was fine while #top_info sat at the left of the page, but it now sits at the end of the header, so a 300px wide menu ran off the right of the screen and gave the page a horizontal scrollbar on a narrow window. Anchored to the end edge instead, with logical properties so it works the same way in a right to left language. Signed-off-by: albertlast <mathiaspapealbert@hotmail.com>
The menu was buried inside two nested section wrappers whose only job was padding and a rounded corner. It becomes a band of its own under the header, with a wrapper inside it lining its contents up with the rest of the page, and those two section wrappers go. The clock, the news line and the breadcrumb move up to sit directly in the content wrapper. The padding the outer section used to provide moves onto the row that needed it. The maintenance page and the profile export build their own copies of this markup, so their section wrappers go the same way. Signed-off-by: albertlast <mathiaspapealbert@hotmail.com>
albertlast
force-pushed
the
3.0/theme-menu-band
branch
from
August 8, 2026 05:50
677adb3 to
f6d3d31
Compare
live627
approved these changes
Aug 8, 2026
This was referenced Aug 9, 2026
live627
pushed a commit
that referenced
this pull request
Aug 9, 2026
Reverts the layout half of #9373. The top bar goes back above the header holding the user links, the language picker and the search box, and the header goes back to the forum title and the logo on their own between it and the main menu. Reported as #9423, and confirmed with the author of #7933 as the direction to take: the merged header is not what people expect of this theme, whatever the theme branch does. The maintenance page and the profile export follow the forum's header, so their wrapper goes back onto the header element with it. Everything #9374 and #9375 changed stays as it is - the menu is still a band across the page and the footer is still a flex row. The Go up link points at the top bar again, since that is the first thing on the page once more. Signed-off-by: albertlast <mathiaspapealbert@hotmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Part 6 of wave 3 of the #7933 split. Stacked on #9373 and the parts below it — the diff of this one is its last commit.
The main menu was buried inside
#upper_section > #inner_section, two nested wrappers whose only job was some padding and a rounded top corner. It becomes a band of its own across the page, directly under the header, with a.content-wrapperinside it lining its contents up with everything else:Both section wrappers go, and the clock, the news line and the breadcrumb move up a level. The padding
#inner_sectionwas providing moves onto#inner_wrapand the breadcrumb, which is what they actually needed it for. The light gradient that#inner_sectionwas picking up from the shared background rule becomes--mainmenu-bgon the band, so the strip under the header still reads the same way.Three copies of this markup, not one
Themes/default/MaintenanceTemplate.phpand the XSLT inSources/Tasks/ExportProfileData.phpboth build their own#upper_section > #inner_section > #inner_wrapand load this sameindex.css, so they lose those wrappers too.maintenance.cssalready carries a/* Add the gradient here if there is no upper_section */rule for exactly this case.Two dead RTL rules removed
#upper_section .news { float: right }—.newsis a flex item of#inner_wrap, and float does nothing to a flex item..navigate_section .unread_links { float: left }—.unread_linksis inside.user, never inside.navigate_section, so this has never matched anything.Both were already dead before this change; they are removed here because this is the part that touches the markup around them.
Verification
Logged in, board index and a board page, at 1401px and 701px.
Structure, read back from the DOM rather than from the template, since unbalanced tags in a template that echoes strings are easy to write and invisible until something reflows:
Widths and overflow:
Every
var()inindex.cssstill resolves againstvariables.css.Issues References (Fixes|Related|Closes)
Related to #7933.