{"id":6266,"date":"2022-10-26T13:05:28","date_gmt":"2022-10-26T10:05:28","guid":{"rendered":"https:\/\/creativethemes.com\/blocksy\/?post_type=documentation&#038;p=6266"},"modified":"2024-01-09T17:21:06","modified_gmt":"2024-01-09T15:21:06","slug":"trigger","status":"publish","type":"documentation","link":"https:\/\/creativethemes.com\/blocksy\/docs\/header-elements\/trigger\/","title":{"rendered":"Trigger"},"content":{"rendered":"\n<figure data-wp-context=\"{&quot;imageId&quot;:&quot;69d0a27226860&quot;}\" data-wp-interactive=\"core\/image\" data-wp-key=\"69d0a27226860\" class=\"wp-block-image size-full has-lightbox wp-lightbox-container\"><img decoding=\"async\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/creativethemes.com\/blocksy\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-26-at-13.06.11.png\" alt=\"\" class=\"wp-image-6269\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"state.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"state.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><figcaption class=\"wp-element-caption\">The <strong>Trigger<\/strong> element in action<\/figcaption><\/figure>\n\n\n\n<p>The Trigger element is very simple and has only one function &#8212; to trigger the off canvas menu that&#8217;s present on mobile devices or in Blocksy Pro&#8217;s desktop view. Its configuration settings are very easy to understand and we&#8217;ll note them down below.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Granular Controls<\/h2>\n\n\n\n<div class=\"wp-block-columns is-layout-flex wp-container-core-columns-is-layout-28f84493 wp-block-columns-is-layout-flex\">\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:33.33%\">\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/creativethemes.com\/blocksy\/wp-content\/uploads\/2022\/10\/Screenshot-2022-10-26-at-18.51.51.png\" alt=\"\" class=\"wp-image-6276\" \/><\/figure>\n<\/div>\n\n\n\n<div class=\"wp-block-column is-layout-flow wp-block-column-is-layout-flow\" style=\"flex-basis:66.66%\">\n<h5 class=\"wp-block-heading\">Style Type<\/h5>\n\n\n\n<p>The first option lets you select from three predefined styles for the trigger element. The first one is a symmetrical choice, perfect for any kind of setup. The second one takes on an asymmetrical look, that&#8217;s perfect for placing the trigger element on the left for creating a pseudo-mobile app. And the third choice offers a sophisticated, titled look. Simple enough.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Icon Controls<\/h5>\n\n\n\n<p>The first option simply controls the size of the icon that&#8217;s displayed on the front end. There are also per device controls, so you can customise the size independently for each view &#8212; desktop, tablet and mobile phones.<\/p>\n\n\n\n<p>The <strong>Style<\/strong> section lets you select between three distinct icon decoration styles.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Simple<\/strong> &#8211; just displays the trigger icon<\/li>\n\n\n\n<li><strong>Outline<\/strong> &#8211; adds a nice border around the icon, highlighting it on the page<\/li>\n\n\n\n<li><strong>Solid<\/strong> &#8211; adds a nice solid background colour to the trigger icon<\/li>\n<\/ul>\n\n\n\n<h5 class=\"wp-block-heading\">Label Visibility<\/h5>\n\n\n\n<p>This option lets you show the&nbsp;<strong>text label<\/strong>&nbsp;of the element on a per device basis.<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">Element Visibility<\/h5>\n\n\n\n<p>In case you wish to have a different tablet look, you can easily turn off the trigger element for that view from here, letting you achieve a unique combination for your website.<\/p>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>The Trigger element is very simple and has only one function &#8212; to trigger the off canvas menu that&#8217;s present on mobile devices or in Blocksy Pro&#8217;s desktop view. Its configuration settings are very easy to understand and we&#8217;ll note them down below. Granular Controls Style Type The first option lets you select from three [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":6280,"comment_status":"open","ping_status":"closed","template":"","meta":{"_acf_changed":false,"footnotes":""},"doc_categories":[124],"class_list":["post-6266","documentation","type-documentation","status-publish","has-post-thumbnail","hentry","doc_categories-header-elements"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":6}},"acf":[],"_links":{"self":[{"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/documentation\/6266","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/documentation"}],"about":[{"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/types\/documentation"}],"author":[{"embeddable":true,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/comments?post=6266"}],"version-history":[{"count":1,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/documentation\/6266\/revisions"}],"predecessor-version":[{"id":9151,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/documentation\/6266\/revisions\/9151"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/media\/6280"}],"wp:attachment":[{"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/media?parent=6266"}],"wp:term":[{"taxonomy":"doc_categories","embeddable":true,"href":"https:\/\/creativethemes.com\/blocksy\/wp-json\/wp\/v2\/doc_categories?post=6266"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}