
Note: Be sure to password protect or disable search engine indexing of the style guide if you don’t want it to show up on Google (or other search engines).

With any paragraph selected (that does not have a class applied to it), you can click into the Selector field in the Style panel and access the All Paragraphs tag to make style adjustments. It’s common practice to set the same font family on each heading tag (H1-H6).
#CUSTOM HTML TAGS PRO#
Pro tip: Typography styles on headings are usually set apart from paragraph styles. Reminder: Tags help you set default styles, and classes let you override those defaults. If that information is missing in the class, the H1 looks to the next level and takes its styling cues from the All H1 Headings tag, which takes its styling cues from the Body (All pages) tag.

Note: Elements look up the hierarchy for the nearest styling information.Īn element, like an H1, might have a class it uses to grab styling information. If you add a class to a specific H1 and set the font to Raleway, that H1 (and other H1s with that class) will be Raleway. But if you set All H1 Headings tag to Playfair font, your H1 headings will be Playfair.
#CUSTOM HTML TAGS UPDATE#
Now when you change the font, it will update all your H1s.įor example, if your default font is set to Tahoma on the Body (All pages) tag, the font on a new H1 heading will also default to Tahoma. This will show the font is still being inherited from Body (All pages), which is expected. If you want to override a style without having to add that class to each heading, click into the Selector field and choose All H1 Headings. It’s good practice to set the default font family, font size, and line height on the Body (All pages) tag and override those styles on H1-H6 heading tags. Here, “Body” refers to an entire site page, which contains all of the other elements on the page. Setting typography styles on the Body (All pages) tag will cascade down to all typography across the entire site. Link (text links, buttons, link blocks)Īll other elements require styling using classes and/or combo classes.Here’s a list of the element types with tags that can be styled: Tags are labeled pink, differentiating them from blue classes and green states. To learn more, check out our lesson on rich text fields. Pro tip: HTML tags are crucial for styling elements within rich text fields in Webflow.

These default styles can then be overridden with classes and/or combo classes as you continue to design your site. HTML tags allow you to kickstart your design process by setting default styles for a particular element type and styling large batches of elements at once.
