You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, on part 4, readers are expected to refactor common elements into a pay layout called BaseLayout.astro. h1 is removed to this BaseLayout component.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi. There is something about the "Build a Blog" tutorial that confuses me.
As of part 4 of the tutorial, H1 of the About page has its own styles:
It is documented here.
However, on part 4, readers are expected to refactor common elements into a pay layout called BaseLayout.astro. h1 is removed to this BaseLayout component.
About page should now look like this.
H1 of About page no longer has purple text and font size
4rem
because there is no h1 element in the About page.It is not mentioned in the doc, but I assume that H1 styling should remain the same.
How do I style only h1 of the About page now? The only method I know is:
BaseLayout
in the About page. Let's call it "about"Beta Was this translation helpful? Give feedback.
All reactions