Headings / Typography
Adjust default heading size and other typography changes.
Last updated
Adjust default heading size and other typography changes.
Last updated
After you've adjusted all of your variables, adjust your heading sizes, and other typography elements to match your design or style guide.
In the scss/global/_variables.scss
in your subtheme directory, and edit the font size variables.
You can use variables and simple math as depicted here, or you can adjust them to specific font-sizes.
Next navigate to /scss/components/_headings.scss
in your subtheme directory.
Here we will have the ability to adjust all headings, and their corresponding attributes such as line-height, color, font-style, font-weight, as well as hover states for links. Below is a selection of the H1 style, and what that looks like
You may want to adjust some of the other typography elements such as links, lists, blockquotes, etc..
These are all setup as components inside of/scss/components
Navigate to each of these files, and make any needed adjustments for things like default links, unordered lists, blockquotes, etc.
Always remember to save your edits and compile your Sass files using Grunt or Gulp and clear caches for the changes to render on your site.