discpage icon indicating copy to clipboard operation
discpage copied to clipboard

Feature request: allow to customize the header content alignment

Open sylque opened this issue 5 years ago • 2 comments
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.

sylque avatar Oct 21 '20 10:10 sylque

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).

sylque avatar Dec 02 '20 16:12 sylque

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.

sylque avatar Dec 02 '20 16:12 sylque