{"id":159305,"date":"2019-06-03T21:02:05","date_gmt":"2019-06-03T21:02:05","guid":{"rendered":"https:\/\/gpsites.co\/prime\/?page_id=159305"},"modified":"2019-06-03T21:02:05","modified_gmt":"2019-06-03T21:02:05","slug":"about","status":"publish","type":"page","link":"https:\/\/hasmarket.ch\/?page_id=159305","title":{"rendered":"About"},"content":{"rendered":"\r\n<p class=\"wp-block-paragraph\">Thanks for importing Prime \ud83d\ude42<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">Prime is constructed primarily using GP\u2019s awesome built-in WooCommerce features with some CSS to provide custom styles.<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">The plugins used include <a href=\"https:\/\/wordpress.org\/plugins\/generateblocks\/\">GenerateBlocks<\/a>, <a aria-label=\"Ajax Search for WooCommerce (opens in a new tab)\" href=\"https:\/\/en-ca.wordpress.org\/plugins\/woocommerce\/\">WooCommerce<\/a>, <a rel=\"noreferrer noopener\" aria-label=\"Ajax Search for WooCommerce (opens in a new tab)\" href=\"https:\/\/en-ca.wordpress.org\/plugins\/ajax-search-for-woocommerce\/\" target=\"_blank\">Ajax Search for WooCommerce<\/a>.<\/p>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\">Header<\/h2>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">The header with the Ajax search bar is one of the main features of Prime.<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">As usual, the site title or logo can be added or modified in the <a rel=\"noreferrer noopener\" aria-label=\"Site Identity (opens in a new tab)\" href=\"https:\/\/docs.generatepress.com\/article\/site-identity-overview\/\" target=\"_blank\">Site Identity<\/a> section in the customizer.<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">The Ajax search bar is added using <a href=\"https:\/\/docs.generatepress.com\/article\/hooks-element-overview\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"Hooks Element (opens in a new tab)\">Hooks Element<\/a> titled Header Search Form.<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">The text GP | GB | Woo is added in <a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/docs.generatepress.com\/article\/header-widget\/\" target=\"_blank\">Header Widget<\/a>.<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">Here are the CSS used in the header section:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>\/* Custom header *\/\r\n.inside-header {\r\n    display: flex;\r\n    align-items: center;\r\n}\r\n\r\n.woo-search {\r\n    margin-left: 30px;\r\n    margin-right: 30px;\r\n    flex-grow: 1;\r\n}\r\n\r\n.header-widget {\r\n    order: 10;\r\n    line-height: 1em;\r\n    font-size: 20px;\r\n}\r\n\r\n.header-widget p {\r\n    margin: 0;\r\n}\r\n\r\n@media (max-width: 768px) {\r\n    .woo-search {\r\n        margin-right: 0;\r\n    }\r\n    .inside-header {\r\n\tflex-direction: row;\r\n    }\r\n}<\/code><\/pre>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">And here are some CSS added to modify the default Ajax search bar style:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>\/* AJAX search bar in header styles *\/\r\n.dgwt-wcas-has-img .dgwt-wcas-suggestion.dgwt-wcas-suggestion-product {\r\n    padding: 0;\r\n}\r\n\r\n.dgwt-wcas-ico-magnifier {\r\n    height: 50%;\r\n}<\/code><\/pre>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\">Navigation<\/h2>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">The navigation section should be quite straight forward. The <a rel=\"noreferrer noopener\" aria-label=\"navigation location (opens in a new tab)\" href=\"https:\/\/docs.generatepress.com\/article\/navigation-location\/\" target=\"_blank\">navigation location<\/a> can be adjusted in the customizer.<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">The position of menu items Login | Register is positioned using the built-in <a rel=\"noreferrer noopener\" aria-label=\"menu-item-float-right (opens in a new tab)\" href=\"https:\/\/docs.generatepress.com\/article\/adding-icons-to-menu-items\/#floating-the-icon-to-the-right\" target=\"_blank\">menu-item-float-right<\/a> class.<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">Slideout navigation is used for mobile navigation and can be changed in the <a rel=\"noreferrer noopener\" aria-label=\"Off-Canvas (opens in a new tab)\" href=\"https:\/\/docs.generatepress.com\/article\/off-canvas-panel-overview\/\" target=\"_blank\">Off-Canvas<\/a> section in the customizer.<\/p>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\">Container Widths<\/h2>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">Three different container widths are used in Prime.<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">The home page is using 1500px which can be adjusted using the <a rel=\"noreferrer noopener\" aria-label=\"container width (opens in a new tab)\" href=\"https:\/\/docs.generatepress.com\/article\/container-width\/\" target=\"_blank\">container width<\/a> setting in the customizer.<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">The product category archives are using 1100px and the single products and static pages are using 900px &#8211; both of which are applied using <a rel=\"noreferrer noopener\" aria-label=\"Layout Element (opens in a new tab)\" href=\"https:\/\/docs.generatepress.com\/article\/layout-element-overview\/#content-1\" target=\"_blank\">Layout Element<\/a>.<\/p>\r\n\r\n\r\n\r\n<h2 class=\"wp-block-heading\">Product Archive Blocks<\/h2>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">The product archive blocks are built with <a href=\"https:\/\/docs.woocommerce.com\/document\/woocommerce-shortcodes\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"WooCommerce Shortcodes (opens in a new tab)\">WooCommerce Shortcodes<\/a> with the following CSS styles:<\/p>\r\n\r\n\r\n\r\n<pre class=\"wp-block-code\"><code>.woocommerce ul.products li.product, .woocommerce ul.products {\r\n    margin-bottom: 0;\r\n}<\/code><\/pre>\r\n","protected":false},"excerpt":{"rendered":"<p>Thanks for importing Prime \ud83d\ude42 Prime is constructed primarily using GP\u2019s awesome built-in WooCommerce features with some CSS to provide custom styles. The plugins used include GenerateBlocks, WooCommerce, Ajax Search for WooCommerce. Header The header with the Ajax search bar is one of the main features of Prime. As usual, the site title or logo &#8230; <a title=\"About\" class=\"read-more\" href=\"https:\/\/hasmarket.ch\/?page_id=159305\" aria-label=\"More on About\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-159305","page","type-page","status-publish"],"_links":{"self":[{"href":"https:\/\/hasmarket.ch\/index.php?rest_route=\/wp\/v2\/pages\/159305","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hasmarket.ch\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/hasmarket.ch\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/hasmarket.ch\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hasmarket.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=159305"}],"version-history":[{"count":0,"href":"https:\/\/hasmarket.ch\/index.php?rest_route=\/wp\/v2\/pages\/159305\/revisions"}],"wp:attachment":[{"href":"https:\/\/hasmarket.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=159305"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}