{"id":905,"date":"2019-07-13T15:38:34","date_gmt":"2019-07-13T15:38:34","guid":{"rendered":"https:\/\/sites.generatepress.com\/imprint\/?p=905"},"modified":"2019-07-13T16:02:01","modified_gmt":"2019-07-13T16:02:01","slug":"read-me","status":"publish","type":"post","link":"https:\/\/sites.generatepress.com\/imprint\/read-me\/","title":{"rendered":"Read Me"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Imprint is a super minimalist GeneratePress Shop Site. Designed for selling posters, prints and single image products. No sidebars, no gallery, no distractions. It however has received some custom styling with a couple of hook elements and some CSS.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Hook Element<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The site is using 5 hook elements that can be found in the Dashboard &gt; Appearance &gt; Elements. They are:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">#1 Shop Loop Info Wrap &amp; #2 Shop Loop Info Wrap Close<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">These two hooks opens and closes a simple div around the Shop product title and price which allows them to be displayed inline.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">#3 Single Product Next Previous<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">This hook adds the Next and Previous links to the single product page<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">#4 Social Share Shop &amp; #5 Social Share Single Product<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">These two hooks are used to add the social media icons to the shop.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Custom CSS<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">All of the Custom CSS added to the site can be found in the Customizer &gt; Additional CSS. The majority of it is related to the shop and single product styling. All CSS has title comments to make it easier to find.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Split Navigation<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The site uses the Navigation as Header ( set in Customizer &gt; Layout &gt; Header ) and some simple CSS found under \/<em>&#8212; Navigation Center branding &#8212;<\/em>\/ and does the following:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Center Nav Branding<\/li><li>Force Menu Left<\/li><li>Force Shop Cart icon right<\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Buttons<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The Buttons have had some CSS treatment to add border radius and to create the show on hover effect for the shop. The CSS controlling this is found under:<br><br>\/<em>&#8212; Woocommerce Buttons &#8212;<\/em>\/<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Shop Layout<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">There are several CSS properties that are fairly self explanatory but here is some details:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\/* Staggered 3 and 4 column grid *\/<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This simple CSS changes the vertical position of the outer two columns of the grid. It works with 3 or 4 column layouts on desktop only<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\/* Image border radius *\/<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Adds a border radius to the shop product image<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\/* Title Price wrapper alignment *\/ <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Flex styling for title and price alignment using Hook: Shop Loop Info Wrap.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Single Product<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The Single Product has several style changes and includes the custom Single Product Next Previous Links added by the Hook mentioned above. All of the styling can be found under \/<em>&#8212; Woocommerce Single Product &#8212;<\/em>\/. It includes:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\/* Layout *\/<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This changes the layout of the page to a single column and centre aligns the summary content.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\/* Hide Magnifier until hovered *\/<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Simply hides the light box magnifier icon until the image is hovered upon.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\/* Remove border from QTY buttons *\/<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Keeping everything minimal this CSS removes the border from the qty buttons, oh and the page navigation on the shop.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\/* Constrain width of summary *\/<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This sets a max width to our product summary to keep it within the width of the image.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\/* Next Previous Buttons *\/<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The styling required for the custom Next Previous buttons added using Hook: Single Product Next Previous<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Social Icons<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Adjusting the orientation of the icons on the shop page and their centre alignment on the product page. The one piece of CSS you may require to adjust is this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>.inside-wc-product-image #gp-social-share a svg {\n\tfill: #fff !important;\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This overwrites the color fo the icons on the shop page.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Imprint is a super minimalist GeneratePress Shop Site. Designed for selling posters, prints and single image products. No sidebars, no gallery, no distractions. It however has received some custom styling with a couple of hook &#8230; <\/p>\n<p class=\"read-more-container\"><a title=\"Read Me\" class=\"read-more button\" href=\"https:\/\/sites.generatepress.com\/imprint\/read-me\/#more-905\" aria-label=\"Read more about Read Me\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-905","post","type-post","status-publish","format-standard","hentry","category-uncategorized","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-33"],"_links":{"self":[{"href":"https:\/\/sites.generatepress.com\/imprint\/wp-json\/wp\/v2\/posts\/905","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sites.generatepress.com\/imprint\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sites.generatepress.com\/imprint\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sites.generatepress.com\/imprint\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.generatepress.com\/imprint\/wp-json\/wp\/v2\/comments?post=905"}],"version-history":[{"count":0,"href":"https:\/\/sites.generatepress.com\/imprint\/wp-json\/wp\/v2\/posts\/905\/revisions"}],"wp:attachment":[{"href":"https:\/\/sites.generatepress.com\/imprint\/wp-json\/wp\/v2\/media?parent=905"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sites.generatepress.com\/imprint\/wp-json\/wp\/v2\/categories?post=905"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sites.generatepress.com\/imprint\/wp-json\/wp\/v2\/tags?post=905"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}