#Custom h1 styles in the About page in the blog tutorial (very minor)

2 messages · Page 1 of 1 (latest)

lament carbon
#

In the final version of the blog post, we still maintain the custom styles block: https://github.com/withastro/blog-tutorial-demo/blob/20da3ec6303b0723630a7464bbb6717678886f77/src/pages/about.astro#L23-L33. This continues to style the skills section.

However, it also has the old h1 styles (color: purple; font-size: 4rem;). These don't affect anything in the final version of the tutorial (e.g. https://stackblitz.com/github/withastro/blog-tutorial-demo/tree/complete?file=src/pages/index.astro). This seems right to me, but just wanted to check:

  • I'm guessing we should just remove those styles from the code, because they don't apply to anything?
  • if we actually did want to affect the layout's H1 from within the about page, I guess we'd have to pass props?

Thanks!

GitHub

Contribute to withastro/blog-tutorial-demo development by creating an account on GitHub.

mild emberBOT
#
No-one around right now?

It looks like no-one has responded to your question yet. People might not be available right now or don’t know how to answer your question. Want an answer while you wait? Try asking our experimental bot in #1095492539085230272.