{"id":959,"date":"2018-09-21T20:07:51","date_gmt":"2018-09-21T20:07:51","guid":{"rendered":"httpss:\/\/gpsites.co\/volume\/?p=959"},"modified":"2018-09-21T20:07:51","modified_gmt":"2018-09-21T20:07:51","slug":"styling","status":"publish","type":"post","link":"https:\/\/iblog.dearbornschools.org\/christestsite\/2018\/09\/21\/styling\/","title":{"rendered":"A guide to styling and making Volume your own"},"content":{"rendered":"<p>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.<\/p>\n<h2>Pagebuilders<\/h2>\n<h4>Can I use a one with Volume?<\/h4>\n<p>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:<\/p>\n<ol>\n<li>Appearance &gt; Elements &gt; New Layout<\/li>\n<li>Disable Content Title<\/li>\n<li>Set Page Builder Container to Full Width<\/li>\n<li>Set Display Rules to the Pages you need a Full Width Blank canvas on.<\/li>\n<\/ol>\n<hr \/>\n<h2>How do i change colors?<\/h2>\n<p>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:<br \/>\nhttpss:\/\/gpsites.co\/volume\/how-to-change-the-custom-colors\/<\/p>\n<hr \/>\n<h2>Slide Out Navigation<\/h2>\n<p>Volumes Slide-out navigation is customized version of the awesome GeneratePress Navigation.<br \/>\nAll controls aside of its custom colors are controlled via the Customizer.<\/p>\n<h4>Changing Toggle (Hamburger) Colors<\/h4>\n<p>These colors have been set in Additional CSS and are in the Custom Colors Post.<\/p>\n<h4>Changing Side Opening<\/h4>\n<p>This is done in the Customizer &gt; Layout &gt; Slide Out Navigation.<\/p>\n<h4>Stop the toggle from being sticky<\/h4>\n<p>This would require new Custom Code and is not an option currently.<\/p>\n<h4>Assigning a new Menu<\/h4>\n<p>You can assign a new Menu to the Slide Out Navigation via the Customizer &gt; Menus or Dashboard &gt; Appearance Menus.<\/p>\n<h4>Changing the animation speed<\/h4>\n<p>This is set in Additional CSS, find and edit this CSS just the 500ms on both lines:<\/p>\n<pre><code>\r\n.offside-js--interact .offside, .offside-js--interact .offside-sliding-element, .slideout-navigation.is-open .slideout-menu, .slideout-menu {\r\n    -webkit-transition: all 500ms cubic-bezier(0.785, 0.135, 0.15, 0.86);\r\n    transition: all 500ms cubic-bezier(0.785, 0.135, 0.15, 0.86);\r\n}\r\n<\/code><\/pre>\n<hr \/>\n<h2>Logo and Site Identity<\/h2>\n<p>Volume does not have a logo, just the Site Identity and Tag Line.<br \/>\nYou can change the Site Branding or add a logo via the Customizer.<\/p>\n<hr \/>\n<h2>Hero Headers<\/h2>\n<p>The Full width Hero Headers are set using the Elements module. Volumes Hero Headers are covered here:<\/p>\n<p>httpss:\/\/gpsites.co\/volume\/page-and-post-heroes\/<\/p>\n<h3>Blog and Front Page<\/h3>\n<h4>Changing the Title<\/h4>\n<p>Go to Appearance &gt; Elements and edit the Front Page &amp; Blog Header.<br \/>\nKeep the HTML intact as it is required for styling.<\/p>\n<h4>Different titles and background<\/h4>\n<p>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 \u00a0different heroes for the blog and homepage you will need to create a new Header Element. Make sure you change the display rules accordingly.<\/p>\n<h3>Single Post<\/h3>\n<h4>Removing the Single Post Category tags<\/h4>\n<p>To remove the category tags edit the Single post header and delete this line:<\/p>\n<pre><code>&lt;span class=\"hero-category\"&gt;{{post_terms.category}}&lt;\/span&gt;<\/code><\/pre>\n<p>This uses custom colors, please refer to the Custom Colors post above.<\/p>\n<h4>Changing the Single Post Date and Author Byline<\/h4>\n<p>Edit this line here:<\/p>\n<pre><code>&lt;span class=\"hero-byline\"&gt;{{post_date}} by {{post_author}}&lt;\/span&gt;<\/code><\/pre>\n<h4>Removing the Inner Box Shadow behind header<\/h4>\n<p>This is set in Additional CSS, find and remove this code:<\/p>\n<pre><code>\r\n.page-hero.overlay {\r\n\tbox-shadow: inset 0px 100px 83px -15px rgba(0,0,0,0.75);\r\n}\r\n<\/code><\/pre>\n<h3>Pages<\/h3>\n<p>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.<\/p>\n<hr \/>\n<h2>Blog Page<\/h2>\n<h4>Changing Featured Image sizes<\/h4>\n<p>The Customizer &gt; Blog settings have been set to Auto sized featured images.<br \/>\nThe following CSS in Additional CSS does two things:<br \/>\nFirst rule removes unnecessary margins and forces the image to be centered.<br \/>\nSecond rules makes the image fit the width of the container with a fixed height.<br \/>\nEither rule can be removed if an altertnative Customizer layout is requiered.<\/p>\n<pre><code> \r\n\/* Removes the margins from the post image and forces it to be justified *\/\r\n.blog .post-image, .archive .post-image, .search .post-image {\r\n    margin: 0.5em 0 1em 0 !important;\r\n\tfloat: none !important; \/* Remove this line if you want to us\r\n}\r\n\r\n\/* Forces the image 100% wide and a fixed height for object fit *\/\r\n.blog .post-image img, .archive .post-image img, .search .post-image img {\r\n    width: 100%;\r\n    height: 250px; \/* remove or adjust height *\/\r\n    -o-object-fit: cover;\r\n    object-fit: cover;\r\n}\r\n<\/code><\/pre>\n<h4>\u00a0Changing the Category Link colors<\/h4>\n<p>This is set using Additional CSS. See the Change Colors guide above.<\/p>\n<h2><\/h2>\n<h2>Author Box<\/h2>\n<h4>Removing Author Box<\/h4>\n<p>Go to Appearance &gt; Elements and Delete the Author Box Hook Element.<\/p>\n<h4>Changing the Author Box background color<\/h4>\n<p>This is set using Additional CSS. See the Change Colors guide above.<\/p>\n<h2><\/h2>\n<h2>Show Hide Comment Toggle<\/h2>\n<h4>Removing the toggle<\/h4>\n<p>Go to Appearance &gt; Elements and Delete the Comment Toggle Switch and the Head Scripts<\/p>\n<h4>Changing the Toggle Colors<\/h4>\n<p>This is set using Additional CSS. See the Change Colors guide above.<\/p>\n<h2><\/h2>\n<h2>Custom Post Navigation<\/h2>\n<h4>Removing the Custom Post Navigation<\/h4>\n<p>Go to Appearance &gt; Elements and Delete the Custom Post Navigation.<\/p>\n<h4>Changing the Next and Previous colors<\/h4>\n<p>This is set using Additional CSS. See the Change Colors guide above.<\/p>\n<h2><\/h2>\n<h2>Footer Widgets<\/h2>\n<h4>Removing the the spacing and dotted underline<\/h4>\n<p>This is set in Additional CSS, find and remove this code:<\/p>\n<pre><code>#footer-widgets li:not(:last-child)  {\r\n    border-bottom: 1px dotted #d6d7d8;\r\n    line-height: 2.5em;\r\n    margin-bottom: 0.5em;\r\n    display: inline-block;\r\n}\r\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>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, [&hellip;]<\/p>\n","protected":false},"author":355,"featured_media":54,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-959","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-styling"],"_links":{"self":[{"href":"https:\/\/iblog.dearbornschools.org\/christestsite\/wp-json\/wp\/v2\/posts\/959","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/iblog.dearbornschools.org\/christestsite\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/iblog.dearbornschools.org\/christestsite\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/iblog.dearbornschools.org\/christestsite\/wp-json\/wp\/v2\/users\/355"}],"replies":[{"embeddable":true,"href":"https:\/\/iblog.dearbornschools.org\/christestsite\/wp-json\/wp\/v2\/comments?post=959"}],"version-history":[{"count":0,"href":"https:\/\/iblog.dearbornschools.org\/christestsite\/wp-json\/wp\/v2\/posts\/959\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/iblog.dearbornschools.org\/christestsite\/wp-json\/wp\/v2\/media\/54"}],"wp:attachment":[{"href":"https:\/\/iblog.dearbornschools.org\/christestsite\/wp-json\/wp\/v2\/media?parent=959"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/iblog.dearbornschools.org\/christestsite\/wp-json\/wp\/v2\/categories?post=959"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/iblog.dearbornschools.org\/christestsite\/wp-json\/wp\/v2\/tags?post=959"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}