Radio Facts
Radio Facts Legacy|Artists

New Dispatch Blog: Custom CSS & WP Show Posts

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 PostsWithout 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 its uses here.

Social Icons – DesktopThe Lightweight Social Icons widget has been added to the Header Widget. It only displays on Desktop as the Widget has the hide-on-mobile and hide-on-tablet-classes. Social Icons – Tablet and MobileThey are also displayed in the Slideout Navigation.

Using the Slideout Widget. Social Icon ColorsColors are changed within the widget. PagebuildersCan I use a page builder with Dispatch?

Yes, you can if you wish. The only rule is that you need to use the Default Template for your Pages and Posts. To create a full width blank canvas template then follow these steps:Appearance > Elements > New LayoutDisable Content TitleSet Page Builder Container to Contained or Full WidthSet Display Rules to the Pages you need a Blank canvas on.

How do I change colors? The majority of Volumes colors are controlled by the Customizer. There are some Elements that are part of Volumes features that require CSS.

This article covers where to make those changes:https://gpsites.co/dispatch/how-to-change-the-custom-colors/Logo and Site IdentityDispatch does not have a logo, just the Site Title. You can change the Site Branding or add a logo via the Customizer > Site IdentityPage Layout – Container MarginDispatch uses the Customizer > Layout > Container > Separate Containers option. To maintain horizontal alignment the left and right padding has been removed on the desktop.

The following CSS adds left and right margin to offset the padding.@media (min-width: 769px) { body { margin: 0 30px; }}NavigationDispatch uses the Primary Navigation for the main menu and Secondary Navigation displays post categories. The majority of their layout and styling is controlled by the Customizer. With these exceptions:Menu underline on hoverThe animated underline is set using this CSS.

Changing the color of the bar is covered here:https://gpsites.co/dispatch/how-to-change-the-custom-colors/Secondary Navigation LocationThe Secondary Nav is placed using a Hook Element as opposed to the Customizer, which is set to No Navigation. This is so the secondary navigation is dynamically placed. You will notice it doesn’t appear on the posts.

It also appears below the Header Element on the front page. More information be found on that here:https://gpsites.co/dispatch/hook-elements/I want to use the Customizer to control the navigationSimply delete ( or Quick Edit > Set to Draft and Save ) the Magazine Grid header element to revert to the normal customizer controls. BlogThe majority of the Blog settings are controlled within the Customizer > Layout > Blog.

Of course it wouldn’t be a Flint Skin site if some custom customization wasn’t done. These comprise of re-ordering the post meta layout and fixing the height of the featured image. To maintain a consistent style the Blog posts have been styled to match the WP Show Posts Plugin.

You can read more here:https://gpsites.co/dispatch/wp-show-posts/Single Post – Sidebar and No SidebarThe default setting ( in the Customizer ) for the single post includes the right hand sidebar. If the sidebar is removed, like it is on this post, then the content container is narrowed for easier reading. Single posts container without sidebar are resized by this CSS:body.no-sidebar .site-content { max-width: 720px; /* Adjust the size to suit */ margin-left: auto; margin-right: auto;}Options to remove the Sidebar on a post by post basis can be done using either the disable elements module or the layout module:https://docs.generatepress.com/article/layout-metabox-overview/https://docs.generatepress.com/article/layout-element-overview/Page Heros – Header ElementsThe Hero Headers are built using the Elements module.

Volumes Hero Headers are covered here:https://gpsites.co/dispatch/page-and-post-heroes/Magazine Grid – Front PageA custom WP Show Posts Grid displaying 5 posts. More details on creating your own list for this grid and the ones used in content are covered here …… WWWW ……

The Header Element contains just the WP Show Posts Shortcode. And requires these two Element Classes: wpsp-grid wpsp-cardSingle PostThe single post uses a Block Element Page Hero to dynamically add the Featured Image Background, Post Title and Post Meta ( Author , Date and Category Terms ). All styling is applied to the GenerateBlocks Container and Headline Blocks.

Archives HeaderThis simple header places the archive title above the secondary navigation.

Related posts

Woman Confronts Boyfriend About Strip Club Infidelity

Deborah Walker

Goo Goo Dolls Release Holiday Album: It’s Christmas All Over

Digital and Radio Facts

Toyota & VH1 Save Music Program at LaPlace Elementary

Digital and Radio Facts

Childish Gambino’s This Is America Achieves Platinum Status

Digital and Radio Facts

Soul Train Effect Tour: Old School Celebration

Digital and Radio Facts

Week 8 NFL Predictions: Giants Face Challenge Against Eagles

Digital and Radio Facts

Louisiana Mother Charged After SUV Crash Injures 11 Children

Deborah Walker

Drug Dealer Sentenced to 11 Years for Mac Miller Death

TréOshula Monét

Tracy Morgan Announces Excuse My French Tour Starting May 2

Digital and Radio Facts

Leave a Comment

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More