After a recent update, the header dropdown version of the sidebar shows two columns on my instance (Minima theme). Doesn’t feel intentional.
AI-generated summary
The issue concerns a two-column layout in the sidebar header dropdown on the Minima theme, which was intentional but appears too narrow. tomtjes reported the issue, and david confirmed it was intentional but noted the narrow width is unintended. awesomerobot clarified that the single-column styling was removed in a recent update and provided CSS solutions to adjust the column layout, including using grid-template-columns to set one or multiple columns. Lilly expressed interest in the two-column view as it resembles the legacy menu and asked about CSS customization, which awesomerobot addressed. tomtjes and Lilly thanked the team for the fix and guidance.
The extra column is intentional (per this commit), but I don’t think it’s supposed to be that narrow ![]()
(cc @awesomerobot)
i’m going to be rolling the drop down sidebar out on our site in the coming weeks (we use the legacy hamburger menu still). and i like the two column view that makes it visually more like the legacy menu. is the column width accessible via CSS code?
The theme forced the old menu to a single-column, that doesn’t work well with the new menu, so I’ve removed it here:
Thanks for reporting it @tomtjes!
yes, the relevant CSS we’ve added is:
.hamburger-panel .revamped .sidebar-section-wrapper.sidebar-section ul {
display: grid;
grid-template-columns: 1fr 1fr;
}
So to get it back to one column you could do this in a theme:
.hamburger-panel .revamped .sidebar-section-wrapper.sidebar-section ul {
grid-template-columns: 1fr;
// you can also do something like `30% 70%` if you want to edit the column widths
// or `1fr 1fr 1fr` if you want 3 even columns
}
Or if you want the entire menu wider (the columns will adjust automatically) you could do something like this:
.hamburger-panel .revamped {
width: 500px;
}
Perfect, thanks for the quick fix and additional instructions!
thank you for the detail @awesomerobot ![]()
This topic was automatically closed after 4 days. New replies are no longer allowed.
