Set Default Window Width #86
-
|
The width of the window depends on the content. If there's less text, the window is narrow, and if there's more, it is wide. It looks like the maximum window width is 80% - 85% of the screen, which I prefer. How can set this max width as the default ? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 21 replies
-
|
I’m not sure what you’re asking for. By window width, do you mean the width of the page content, e.g. the width of a blog post’s body? If so, are you asking for that width to always be the maximum width? Even for one-word bodies? In that case, the one word would appear to the left of the screen, not centered. I can’t test this for several days, but you should be able to style #paige-content to control the width. See the narrow look section in the readme for an example. In this case, you would set its width style to 100%. |
Beta Was this translation helpful? Give feedback.
-
|
I have a lot of content which worked with version 0.93.
I’ll be making a lot of changes today so that things work with 0.100.2 as they did with 0.93.
I’ll get back soon on this.
--
Secured with Tuta Mail:
https://tuta.com/free-email
Feb 23, 2025 at 11:57 by ***@***.***:
…
Achieved with:
diff --git a/exampleSite/hugo.toml b/exampleSite/hugo.toml> index 0eb79cf8..acdeb222 100644> --- a/exampleSite/hugo.toml> +++ b/exampleSite/hugo.toml> @@ -49,20 +49,21 @@> web_master = ***@***.*** (John Doe)" [params.paige.pages] disable_authors = true disable_date = true disable_keywords = true disable_next = true disable_prev = true disable_reading_time = true disable_series = true disable_toc = true disable_word_count = true> +> max_width = true> [paige.pages.base_schema] isAccessibleForFree = true isFamilyFriendly = true [params.paige.site] disable_breadcrumbs = true disable_credit = true [params.paige.subpages]
—
Reply to this email directly, > view it on GitHub <#86 (reply in thread)>> , or > unsubscribe <https://github.com/notifications/unsubscribe-auth/AMROSTSHJDXK7CRYVGOIQV32RIR2RAVCNFSM6AAAAABLYXZX5GVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTEMRZGM4DKNY>> .
You are receiving this because you were mentioned.> Message ID: > <willfaught/paige/repo-discussions/86/comments/12293857> @> github> .> com>
|
Beta Was this translation helpful? Give feedback.



Achieved with: