discpage
discpage copied to clipboard
Feature request: allow to customize the header content alignment
trafficstars
Alignment of the header content (logo + menu) must fit:
- Normal Discourse pages (max-width = 1110px),
- DiscPage static pages (max-width = 782px, because 1110px is too wide for a static page where you cannot put side bars/widgets/pictures),
- DiscPage split layout, with a static page on the left and topics on the right (max-width = 100%).
I did many tests, with both fixed header alignment and layout-dependant header alignment, and came to the conclusion that a permanent left alignment is the way to go.
However, some users want a different alignment.
My mistake: a DiscPage static pages has a max-width of 1110px just like a standard Discourse page. However, most webmasters reduce this with a theme component, because 1110ox is too wide for a static page (especially the kind of static pages where you cannot add side bars or side widgets).
I did some more tests and came to this conclusion:
- A centered alignement in all layouts is not ok.
- A dynamic, layout-dependant alignment doesn't look so good to me, but I'm ready to add an option for this if some users ask for it.