-
DescriptionI'm creating a website project with the following
and contents of
and
Now, when I preview this using Another thing I noticed is that when the site is deployed, the width of both pages is 1600 px (see https://biostat.au.dk/stefan/test/). |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 4 replies
-
Ok, so I think the reason why it kinda works when previewing the site with quarto is because the .css files are rebuilt every time you go to a new page. So I guess different body-widths on different pages can't be achieved this way. |
Beta Was this translation helpful? Give feedback.
-
This is not a document level option, see https://quarto.org/docs/output-formats/page-layout.html#grid-customization.
Use "page layout" for custom page layout, see https://quarto.org/docs/output-formats/page-layout.html#page-layout. |
Beta Was this translation helpful? Give feedback.
-
I do think this was linked to the longstanding issue for Quarto website to only have one CSS built from bootstrap using customisation at format level though options or Quarto theme file. This meant that single page customization was not possible, and only configuration at project level was working. Though we fixed this in 1.6.7 (#10611) and so I think now you can customize After all, it is a format configuration (https://quarto.org/docs/reference/formats/html.html#layout) and it was a bad bug that this was not working. You could all try latest 1.6 and see if this works better for you now. Thank you ! |
Beta Was this translation helpful? Give feedback.
I do think this was linked to the longstanding issue for Quarto website to only have one CSS built from bootstrap using customisation at format level though options or Quarto theme file.
This meant that single page customization was not possible, and only configuration at project level was working.
Though we fixed this in 1.6.7 (#10611) and so I think now you can customize
grid
configuration at page level.After all, it is a format configuration (https://quarto.org/docs/reference/formats/html.html#layout) and it was a bad bug that this was not working.
You could all try latest 1.6 and see if this works better for you now.
Thank you !