Styling

juan camilo navia 762435 unsplash

A guide to styling and making Dispatch your own

Dispatch is a Magazine style blog for your new website. Each of its features have been designed and built using GeneratePress and WP Show Posts. As expected of a Flint Skin Site it uses Custom CSS. At over 350 lines it is recommended, but not necessary, to move the Additional CSS to a Child Theme style sheet. So lets get onto making it your own. WP Show Posts Without WP Show Posts plugin, this Site wouldn’t exist. Another awesome product from Tom Usborne, WP Show Posts does exactly what the title says. Anywhere and everywhere in the case of Dispatch. So much so there is a dedicated page to explain … Read more

girl 1990347 1280

Hooks – Custom Theme Elements

Dispatch uses a few Hook Elements and Block Elements to create some Custom Elements in the site.All of them provide dynamic output and should not require any changes to their content. For more info on the Hook Element read here: Hooks Element Overview Secondary Navigation This hook calls the Secondary Navigation and displays below the header / header element. It also uses Display Rules so it is excluded from All Posts.Please note: the Secondary Navigation Location in the Customizer is set to No Navigation. WPSP Open Wrapper & WPSP Close Wrapper These two hooks create a Div wrap around the Enter Header, Summary and Entry Footer of the WP Show … Read more

max ostrozhinskiy 212676 unsplash

Page and Post Heroes

Page Heroes are those big bold images and headlines you find at the top of your posts and pages. They sit just below the Site Header and added using the Header Element module, when activated provides the Elements menu in Dashboard > Appearance > Elements Dispatch has two Header Elements in place. But you can add as many as you need. Magazine Grid – Home Page Combined with the WP Show Posts plugin this header creates a 5 post card grid. Very few settings are required. These are the main points: Hero Content: WP Show Posts Short code Element Classes: wpsp-grid wpsp-card This creates the grid and styles the cards … Read more

moss 370458 unsplash2

How to change the Custom Colors

Changing Colors in Dispatch are mainly done via the Theme Customizer. Certain elements such as Page Heros are controlled within the Header Element and are covered in that article. There are a few colors that are controlled by CSS. The rules for them are found in the Customizer > Additional CSS: Primary Navigation Hairline Border above desktop navigation .main-navigation .inside-navigation { border-top: 0.5px solid #d4d7d8; } Menu item underline on hover .main-navigation ul li:after { background-color: #000; } Navigation Search .navigation-search.nav-search-active { background-color: rgba(255,255,255,0.95); top: 100%; } Buttons All of the colors are controlled via the customizer. However the button border inherits the color of the font. This is set … Read more

manolo chretien 252147 unsplash

Style Guide

Heading One H1 Heading Two H2 Heading Three H3 Heading Four H4 Heading Five H5 Heading Six H6 Font: Playfair Playfair is a transitional design. In the European Enlightenment in the late 18th century, broad nib quills were replaced by pointed steel pens as the popular writing tool of the day. Together with developments in printing technology, ink, and paper making, it became to print letterforms of high contrast and delicate hairlines that were increasingly detached from the written letterforms. This design lends itself to this period, and while it is not a revival of any particular design, it takes influence from the designs of John Baskerville and from ‘Scotch … Read more