kdevo / osprey-delight

Osprey Delight is the free-minded artist's choice for a clutter-free and blazingly fast single-page portfolio.
https://hugo-mods.github.io/
Apache License 2.0
96 stars 42 forks source link

Width of text #14

Closed bluefander closed 3 years ago

bluefander commented 3 years ago

Hi

Thanks for your Hugo theme! Where can I change the width of the text of for example the about page? Sorry, couldn't find it :/

Thanks!

bluefander commented 3 years ago

Found it, I guess ;) .container { max-width: 43.75rem; // 700px margin: auto; padding: $vertical-rhythm 4 0 $vertical-rhythm 4; } in _layout.css

kdevo commented 3 years ago

Hello @bluefander,

Yes, that's the correct place. However, my suggestion is that you overload this in a separate _custom.scss file within your project's root to avoid manually editing the theme which would make updates extra hard. The content is then like (untested):

.container {
  max-width: <YOUR_WIDTH>px
}

Hope this helps with the customization! I've never tested any other width personally.

Side note: I've converted this issue to a discussion, since issues are meant for bug- and feature-tracking only and not for any kind of support. Please add further questions to the Q&A topic. This helps me keeping everything organized.