A Sample Post with Comments

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa a link to know where qui officia deserunt mollit anim id est laborum. a link to know where

Lorem ipsum dolor sit amet, consectetur adipiscing elit, style sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Great typography and bold imagery speak volumes about quintessential topics

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia a link to know where deserunt mollit anim id est laborum.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. a link to know where

Great typography and bold imagery speak volumes about quintessential topics

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

A guide to styling and making Volume your own

Volume is a blank canvas for your new website. There is no pre-built content or plugins. And no Page Builder. Just a series of posts that explaining the different features and how they work. Each of Volumes features has been designed and built using GeneratePress Elements and 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.

Pagebuilders

Can I use a one with Volume?

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:

  1. Appearance > Elements > New Layout
  2. Disable Content Title
  3. Set Page Builder Container to Full Width
  4. Set Display Rules to the Pages you need a Full Width 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:
httpss://gpsites.co/volume/how-to-change-the-custom-colors/


Slide Out Navigation

Volumes Slide-out navigation is customized version of the awesome GeneratePress Navigation.
All controls aside of its custom colors are controlled via the Customizer.

Changing Toggle (Hamburger) Colors

These colors have been set in Additional CSS and are in the Custom Colors Post.

Changing Side Opening

This is done in the Customizer > Layout > Slide Out Navigation.

Stop the toggle from being sticky

This would require new Custom Code and is not an option currently.

Assigning a new Menu

You can assign a new Menu to the Slide Out Navigation via the Customizer > Menus or Dashboard > Appearance Menus.

Changing the animation speed

This is set in Additional CSS, find and edit this CSS just the 500ms on both lines:


.offside-js--interact .offside, .offside-js--interact .offside-sliding-element, .slideout-navigation.is-open .slideout-menu, .slideout-menu {
    -webkit-transition: all 500ms cubic-bezier(0.785, 0.135, 0.15, 0.86);
    transition: all 500ms cubic-bezier(0.785, 0.135, 0.15, 0.86);
}

Logo and Site Identity

Volume does not have a logo, just the Site Identity and Tag Line.
You can change the Site Branding or add a logo via the Customizer.


Hero Headers

The Full width Hero Headers are set using the Elements module. Volumes Hero Headers are covered here:

httpss://gpsites.co/volume/page-and-post-heroes/

Blog and Front Page

Changing the Title

Go to Appearance > Elements and edit the Front Page & Blog Header.
Keep the HTML intact as it is required for styling.

Different titles and background

The Blog and Front Page use the same Hero and is using Static HTML for the title and a Custom Image for its background. To have  different heroes for the blog and homepage you will need to create a new Header Element. Make sure you change the display rules accordingly.

Single Post

Removing the Single Post Category tags

To remove the category tags edit the Single post header and delete this line:

<span class="hero-category">{{post_terms.category}}</span>

This uses custom colors, please refer to the Custom Colors post above.

Changing the Single Post Date and Author Byline

Edit this line here:

<span class="hero-byline">{{post_date}} by {{post_author}}</span>

Removing the Inner Box Shadow behind header

This is set in Additional CSS, find and remove this code:


.page-hero.overlay {
	box-shadow: inset 0px 100px 83px -15px rgba(0,0,0,0.75);
}

Pages

Although not used on the Volume site a Header Element named Pages has been set up and assigned to all Pages. The style matches the same as the Blog and Front Page.


Blog Page

Changing Featured Image sizes

The Customizer > Blog settings have been set to Auto sized featured images.
The following CSS in Additional CSS does two things:
First rule removes unnecessary margins and forces the image to be centered.
Second rules makes the image fit the width of the container with a fixed height.
Either rule can be removed if an altertnative Customizer layout is requiered.

 
/* Removes the margins from the post image and forces it to be justified */
.blog .post-image, .archive .post-image, .search .post-image {
    margin: 0.5em 0 1em 0 !important;
	float: none !important; /* Remove this line if you want to us
}

/* Forces the image 100% wide and a fixed height for object fit */
.blog .post-image img, .archive .post-image img, .search .post-image img {
    width: 100%;
    height: 250px; /* remove or adjust height */
    -o-object-fit: cover;
    object-fit: cover;
}

 Changing the Category Link colors

This is set using Additional CSS. See the Change Colors guide above.

Author Box

Removing Author Box

Go to Appearance > Elements and Delete the Author Box Hook Element.

Changing the Author Box background color

This is set using Additional CSS. See the Change Colors guide above.

Show Hide Comment Toggle

Removing the toggle

Go to Appearance > Elements and Delete the Comment Toggle Switch and the Head Scripts

Changing the Toggle Colors

This is set using Additional CSS. See the Change Colors guide above.

Custom Post Navigation

Removing the Custom Post Navigation

Go to Appearance > Elements and Delete the Custom Post Navigation.

Changing the Next and Previous colors

This is set using Additional CSS. See the Change Colors guide above.

Footer Widgets

Removing the the spacing and dotted underline

This is set in Additional CSS, find and remove this code:

#footer-widgets li:not(:last-child)  {
    border-bottom: 1px dotted #d6d7d8;
    line-height: 2.5em;
    margin-bottom: 0.5em;
    display: inline-block;
}

Hooks – Custom Theme Elements

Volume uses multiple Hooks to create the Custom Elements in the site.
All of them provide dynamic output and should not require any changes to their content.

Learn more about the Hook Element

Slide Out Header

Special effects for the GP Slide Out Navigation
This hook adds a ‘header’ to the slide out and its sole purpose is to create the Sticky Menu toggle. Nothing more.

Author Box

A simple PHP/HTML Author Box is hooked into the after_content on all Posts.
The content is dynamic and need not be adjusted.

Comment Toggle Switch

A little easter egg that allows you to show and hide Comments on a post.
For it to work it requires Javascript.

Head Scripts

Contains the Javascript for the Comment Toggle Switch. This script only runs on the Single Post.

Custom Post Navigation

Adding a custom featured image post navigation at the foot of all posts.
Please note: that the Post Navigation is disabled in the Customizer as it is not required.

Page and Post Heroes

The Page & Post Heros are built using GP’s Header Element.

Learn more about the Header Element

Common Page Hero Settings

Element Classes:  overlay
This applies a Custom CSS Inner Box Shadow overlay to improve contrast on the site header / navigation.
Container: Full Width
Inner Container: Contained
Padding: Top: 18% and Bottom: 20px.
This will keep images responsive whilst maintaining bottom spacing
Background Image: Featured Image
Background Overlay: Yes – black tint.

HTML Markup

Hero content contains some HTML markup. This is required for the custom styling.
All of them use a <div class=”inside-header”></div> wrap.
This adds the same padding and alignment that the Site header uses. It is used to maintain alignment.

Page Header

Template Tags: {{post_title}}
Dynamic display of Page Title
Display Rules: All pages

Blog and Front Page Header

Template Tags: None
Uses static H1 text.
Display Rules: Blog & Front Page

Single Post Header

Template Tags: {{post_terms.category}} , {{post_title}} , {{post_date}} and {{post_author}}
Display Rules: Single Post

Site Header: Merged with transparent header & navigation.
Offset Site Header Height:  140px
Site Header height offset is used to maintain hero heights and to stop content from falling behind the header. The current header height will change depending on the header contents size.

How to change the Custom Colors

Changing Volumes Colors are mainly done via the Theme Customizer. There are a few that are controlled by CSS. The rules for them are found in the Customizer > Additional CSS. They have been placed together at the top of the stack for easy access:

Link accents

Styling for Category Tags found in Blog Articles & Single Post Header and the Next / Previous links in the Featured image post navigation.
Link


.hero-category a, .post-nav, .entry-meta .cat-links a {
    background-color: #ff3366;
    color: #fff !important;
}

Custom Slide Out Navigation

Slide Out Header

This is a hooked element used to create the custom toggles.


/* bar at the top of slide out */
.slideout-header {
    background-color: #0b0521;
}
Slide Out Toggle

/* Menu Open colors */
.slideout-header .custom.slideout-toggle a {
    background-color: #ff3366;
}
/* Menu Exit colors */
.slideout-header .slideout-exit {
    color: #fff;
    background-color: #ff3366;
}
Slide Out Menu background

To create the slide down effect the Slide Out navigation background is set to transparent in the Customizer.



/* Background of menu */
#generate-slideout-menu .slideout-menu li {
    background-color: #0b0521;
}

Blog post navigation

The Blog post navigation page numbers and next previous styling.

123


.nav-links .page-numbers {
    background-color: #0b0521;
    color: #fff;
}

.nav-links .page-numbers:hover {
    background-color: #383f49;
    color: #fff;
}

Author Box


.author-box {
    background-color: #f1f6f7;
}

Comments Toggle

The show and hide toggle before the Posts Comments form.


.slider {
    background-color: #0b0521;
}

input:checked+.slider {
    background-color: #ff3366;
}

Style Guide

Heading One H1

Heading Two H2

Heading Three H3

Heading Four H4

Heading Five H5
Heading Six H6

Font: Muli

Vernon Adams practiced typeface design from 2007 to 2014. A lifelong artist, during this time he eagerly explored designing type for the cloud-based era. His work spans all genres, from lively script faces to workhorse text families and operating system UI. Vernon graduated with an MA in Typeface Design from the University of Reading and lives in California. His designs are mostly published as open source Google Fonts and his favorite projects include Oxygen Mono, Monda, and Bowlby One.

volume button

Color Plan

#ff3366
#f1f6f7
#383f49
#62707c
#0b0521

 

volume button