Totally new to all this stuff, and am still tying to wrap my head around markdown, etc.
The default homepage in the antimatter theme that ships with Grav has the text centered. How is this accomplished? I don’t see anything in the markdown for that page indicating the body is to be centered.
Text on my newly created pages is always left aligned.
To the best of mine and googles knowledge, markdown doesn’t support left or right alignment. Typically in design you’d want your titles to stay the same. But heres two options for you.
I’m brand new to scss, so someone else will almost definately know better - but I think you’d need to edit the h1/h2/h3 tags in the scss files in themes/antimatter/scss/template/_typography.scss - which gets a little more complicated than regular css as the changes won’t take effect unless your synced up in the console (check the link above and google scss).
The other easy way you could do it temporarily, which I don’t really recommend, is by using inline-css & html.
Read this on my way to work, if you made a div like that I think you could apply centering rules to the div, and write md inside it. (With inline-css) like I did above.