Digital Style Guide
CSS Style Sheet
You can access it directly here: Style.css
Primary heading ("Heading 1")
Secondary heading ("Heading 2")
Tertiary heading ("Heading 3")
Paragraph text. Cookie jelly beans wafer gummi bears cheesecake liquorice. Caramels sesame snaps topping sweet roll toffee tiramisu gummi bears. Caramels cake jelly-o.
- Ice cream bonbon.
- Marzipan gummies.
- Fruitcake chocolate bar bonbon.
- Donut soufflé icing dessert carrot cake lollipop fruitcake jelly beans.
- Candy canes gummies bonbon cupcake cookie chupa chups.
- Bear claw cake fruitcake tart pudding.
- Marzipan marzipan.
- Pudding candy pastry lollipop cheesecake bear claw.
- Cake cheesecake pudding croissant.
- Pudding cupcake tart gummies tootsie roll danish.
- Icing chocolate cake pie jelly-o.
- Chocolate bar cookie sweet roll jelly beans.
- Cotton candy powder jujubes bonbon marshmallow jelly candy canes.
- Sweet croissant sugar plum pie jujubes chupa chups wafer. Carrot cake biscuit bonbon.
Cookie jelly beans wafer gummi bears cheesecake liquorice. Caramels sesame snaps topping sweet roll toffee tiramisu gummi bears. Caramels cake jelly-o.
ButtonsThe following codes are helpful for putting a button into a page that does not have Page Builder enabled. I.e. Blog posts, and simple wordpress pages.
.primary-btn is best on light backgrounds.
<a class="primary-btn" href="#">Read more</a>Read more
.secondary-btn is best on dark backgrounds.
<a class="secondary-btn" href="#">Read more</a>Read more
We've also saved a stylized button that you can use on pages that have Page Builder enabled. You can access it by going to Saved > Saved Modules and selecting Primary Button. You can remove or change the button's icon, and adjust the button's alignment to suit your needs:
A sample form:
Utility CSS classes
- Centers block-level elements with fixed widths.
- Makes element automatically clear its child elements, so you don't need to add additional markup. The clearfix is a way to combat the zero-height container problem for floated elements.
- Makes the content white; this is a useful class to apply to a row with a dark background.
- Adds a 1px light grey border around object. Good for images that have a white bleed that appear on white backgrounds.
What does it mean to optimize an image? Optimizing images is a combination of resizing the image's dimensions to fit a particular use, and compressing the image file so it is a reasonable file size.
Why optimize images? Optimizing an image removes all of the unnecessary or excessive data from that image, and takes strain off of your website. The more data a site has to crunch through, the more resources are used and the slower your site can become. This can become an issue over time if your website is using lots of unnecessarily large images when it doesn't have to. It's good practice to get into the habit of optimizing all images before you upload them to your website.
Does optimizing hurt the quality of an image? Compression will always degrade the quality of an image. For this reason, optimization requires carefully walking the line between image quality and file size.
How to optimize:
- Resize your image to the appropriate dimensions for where it will display. (More on dimensions below)
- Run the resized image through a compression service like Optimizilla or TinyPNG.
- Your image is optimized!
Posts: Featured Images
These images show up as a full width banner image inside the post. They also can show up in other places throughout the website, such as on the archive pages.
Featured images should be at least 1920px wide by 410px tall. We also suggest keeping them all landscape.
Featured images for Publications should be at least 1240px wide and 868px high. Otherwise, they'll be automatically cropped by WordPress and might lose crucial information from the Publication Cover.
Posts and Pages: Inline Images
Images inside of posts will display at a max width of 820px, the same as the container of the post. Images that will appear inline on a single column page will have a max width of 820px to display, the same width as the container on the page.
If you know you're putting an image inside of a post or on a page, resize any excessively large images to be at 900px wide.