{"id":106,"date":"2017-01-31T16:17:51","date_gmt":"2017-01-31T16:17:51","guid":{"rendered":"http:\/\/tommustester.wpengine.com\/?page_id=106"},"modified":"2017-01-31T16:17:51","modified_gmt":"2017-01-31T16:17:51","slug":"dropdowns","status":"publish","type":"page","link":"https:\/\/rossk.uk\/?page_id=106","title":{"rendered":"Elements &#8211; Dropdowns"},"content":{"rendered":"<p>[vc_row full_width=&#8221;stretch_row&#8221;][vc_column]\n\t\t\t<section class=\"imagebg image--light cover cover-blocks bg--secondary \" >\n\t\t\t\t<div class=\"background-image-holder\"><img loading=\"lazy\" decoding=\"async\" width=\"2560\" height=\"1253\" src=\"https:\/\/rossk.uk\/wp-content\/uploads\/2017\/01\/promo-1-scaled.jpg\" class=\"attachment-full size-full\" alt=\"\" srcset=\"https:\/\/rossk.uk\/wp-content\/uploads\/2017\/01\/promo-1-scaled.jpg 2560w, https:\/\/rossk.uk\/wp-content\/uploads\/2017\/01\/promo-1-300x147.jpg 300w, https:\/\/rossk.uk\/wp-content\/uploads\/2017\/01\/promo-1-1024x501.jpg 1024w, https:\/\/rossk.uk\/wp-content\/uploads\/2017\/01\/promo-1-768x376.jpg 768w, https:\/\/rossk.uk\/wp-content\/uploads\/2017\/01\/promo-1-1536x752.jpg 1536w, https:\/\/rossk.uk\/wp-content\/uploads\/2017\/01\/promo-1-2048x1002.jpg 2048w\" sizes=\"(max-width: 2560px) 100vw, 2560px\" \/><\/div>\n\t\t\t\t<div class=\"container\">\n\t\t\t\t\t<div class=\"row\">\n\t\t\t\t\t\t<div class=\"col-sm-6 col-md-5\">\n\t\t\t\t\t\t\t<div>[vc_column_text]<\/p>\n<h1>Dropdowns<\/h1>\n<p class=\"lead\">These modular elements can be readily used and customized across pages and in different blocks.<\/p>\n<hr class=\"short\" \/>\n<p>Explore all of Stack&#8217;s modular elements<br \/>\nat the\u00a0<a href=\"\/elements\/\">Element Index Page \u2192<\/a>[\/vc_column_text]<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div><!--end of row-->\n\t\t\t\t<\/div><!--end of container-->\n\t\t\t\t\n\t\t\t<\/section>\n\t\t[\/vc_column][\/vc_row][vc_section css=&#8221;.vc_custom_1498220815246{padding-top: 0px !important;}&#8221; ebor_docs=&#8221;&#8221;][vc_row css=&#8221;.vc_custom_1485825445121{margin-bottom: 30px !important;}&#8221;][vc_column width=&#8221;1\/2&#8243;]<div class=\" boxed--lg bg--secondary  boxed boxed--border\" ><div class=\"container\">[vc_column_text]<\/p>\n<h4>Basic Dropdown<\/h4>\n<p>Stack&#8217;s dropdowns can serve a number of purposes, from navigation menu to multi-choice button. There are a number of ways to present a dropdown, but all follow the same markup pattern of a parent <strong>.dropdown<\/strong> element with a <strong>.dropdown__trigger<\/strong> which when clicked, will display the dropdown housed inside the <strong>.dropdown__container<\/strong> element.<\/p>\n<p>The width of the dropdowns are controlled using the Bootstrap column classes.[\/vc_column_text]<\/div><\/div>[\/vc_column][vc_column width=&#8221;1\/2&#8243;]\n\t\t<div class=\"dropdown \">\n\t\t\t<span class=\"dropdown__trigger\">Trigger Dropdown <i class=\"stack-down-open\"><\/i><\/span>\n\t\t\t<div class=\"dropdown__container\">\n\t\t\t\t<div class=\"container\">\n\t\t\t\t\t<div class=\"row\">\n\t\t\t\t\t\t<div class=\"col-sm-4 col-md-4 dropdown__content\">\n\t\t\t\t\t\t\t[vc_column_text]I&#8217;m the content inside the <strong>.dropdown__content<\/strong>\u00a0element. My width is controlled using the Bootstrap column classes. You can read more about those\u00a0<a href=\"\/elements\/grid-system\/\">here<\/a>[\/vc_column_text]\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div><!--end row-->\n\t\t\t\t<\/div><!--end container-->\n\t\t\t<\/div><!--end dropdown container-->\n\t\t<\/div>\n\t[\/vc_column][\/vc_row][\/vc_section][vc_section][vc_row css=&#8221;.vc_custom_1485825445121{margin-bottom: 30px !important;}&#8221;][vc_column width=&#8221;1\/2&#8243;]<div class=\" boxed--lg bg--secondary  boxed boxed--border\" ><div class=\"container\">[vc_column_text]<\/p>\n<h4>Menu Dropdown<\/h4>\n<p>Easily create dropdown menus by nesting <strong>.menu-vertical<\/strong> elements inside the dropdowns.[\/vc_column_text]<\/div><\/div>[\/vc_column][vc_column width=&#8221;1\/2&#8243;]\n\t\t<div class=\"dropdown \">\n\t\t\t<span class=\"dropdown__trigger\">Trigger Dropdown <i class=\"stack-down-open\"><\/i><\/span>\n\t\t\t<div class=\"dropdown__container\">\n\t\t\t\t<div class=\"container\">\n\t\t\t\t\t<div class=\"row\">\n\t\t\t\t\t\t<div class=\"col-sm-2 col-md-2 dropdown__content\">\n\t\t\t\t\t\t\t[vc_column_text]<\/p>\n<h5>Select an option<\/h5>\n<ul class=\"menu-vertical\">\n<li><a href=\"#\">Create<\/a><\/li>\n<li><a href=\"#\">Manage<\/a><\/li>\n<li><a href=\"#\">Share<\/a><\/li>\n<li><a href=\"#\">Logout<\/a><\/li>\n<\/ul>\n<p>[\/vc_column_text]\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div><!--end row-->\n\t\t\t\t<\/div><!--end container-->\n\t\t\t<\/div><!--end dropdown container-->\n\t\t<\/div>\n\t[\/vc_column][\/vc_row][\/vc_section][vc_section][vc_row css=&#8221;.vc_custom_1485825445121{margin-bottom: 30px !important;}&#8221;][vc_column width=&#8221;1\/2&#8243;]<div class=\" boxed--lg bg--secondary  boxed boxed--border\" ><div class=\"container\">[vc_column_text]<\/p>\n<h4>Hover Dropdown<\/h4>\n<p>By default, dropdowns are triggered by clicking the <strong>.dropdown__trigger<\/strong> element. If you would prefer the hover to react upon hovering, you can add the class <strong>.dropdown&#8211;hover<\/strong> to the <strong>.dropdown<\/strong> element.<\/p>\n<p>If you would prefer <em>all<\/em> dropdowns to react to hover instead of click, add the class <strong>.dropdowns&#8211;hover<\/strong> to the <strong><body><\/strong> element.[\/vc_column_text]<\/div><\/div>[\/vc_column][vc_column width=&#8221;1\/2&#8243;]\n\t\t<div class=\"dropdown dropdown--hover\">\n\t\t\t<span class=\"dropdown__trigger\">Dropdown Menu <i class=\"stack-down-open\"><\/i><\/span>\n\t\t\t<div class=\"dropdown__container\">\n\t\t\t\t<div class=\"container\">\n\t\t\t\t\t<div class=\"row\">\n\t\t\t\t\t\t<div class=\"col-sm-2 col-md-2 dropdown__content\">\n\t\t\t\t\t\t\t[vc_column_text]<\/p>\n<h5>Select an option<\/h5>\n<ul class=\"menu-vertical\">\n<li><a href=\"#\">Create<\/a><\/li>\n<li><a href=\"#\">Manage<\/a><\/li>\n<li><a href=\"#\">Share<\/a><\/li>\n<li><a href=\"#\">Logout<\/a><\/li>\n<\/ul>\n<p>[\/vc_column_text]\n\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div><!--end row-->\n\t\t\t\t<\/div><!--end container-->\n\t\t\t<\/div><!--end dropdown container-->\n\t\t<\/div>\n\t[\/vc_column][\/vc_row][\/vc_section][vc_row][vc_column][vc_column_text]<\/p>\n<h2 style=\"text-align: center;\">See dropdown elements in action<\/h2>\n<p style=\"text-align: center;\"><a class=\"btn btn--primary type--uppercase\" href=\"#\">VIEW NAVIGATION SECTIONS<\/a><\/p>\n<p class=\"type--fine-print\" style=\"text-align: center;\">or try the\u00a0<a href=\"http:\/\/tommusrhodus.theme-demo.net\/stackwordpresstheme\" target=\"_blank\" rel=\"noopener noreferrer\">admin demo &#x2197;<\/a><\/p>\n<p>[\/vc_column_text][\/vc_column][\/vc_row]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>[vc_row full_width=&#8221;stretch_row&#8221;][vc_column][\/vc_column][\/vc_row][vc_section css=&#8221;.vc_custom_1498220815246{padding-top: 0px !important;}&#8221; ebor_docs=&#8221;&#8221;][vc_row css=&#8221;.vc_custom_1485825445121{margin-bottom: 30px !important;}&#8221;][vc_column width=&#8221;1\/2&#8243;][\/vc_column][vc_column width=&#8221;1\/2&#8243;][\/vc_column][\/vc_row][\/vc_section][vc_section][vc_row css=&#8221;.vc_custom_1485825445121{margin-bottom: 30px !important;}&#8221;][vc_column width=&#8221;1\/2&#8243;][\/vc_column][vc_column width=&#8221;1\/2&#8243;][\/vc_column][\/vc_row][\/vc_section][vc_section][vc_row css=&#8221;.vc_custom_1485825445121{margin-bottom: 30px !important;}&#8221;][vc_column width=&#8221;1\/2&#8243;][\/vc_column][vc_column width=&#8221;1\/2&#8243;][\/vc_column][\/vc_row][\/vc_section][vc_row][vc_column][vc_column_text] See&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":33,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-106","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/rossk.uk\/index.php?rest_route=\/wp\/v2\/pages\/106"}],"collection":[{"href":"https:\/\/rossk.uk\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/rossk.uk\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/rossk.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rossk.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=106"}],"version-history":[{"count":0,"href":"https:\/\/rossk.uk\/index.php?rest_route=\/wp\/v2\/pages\/106\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/rossk.uk\/index.php?rest_route=\/wp\/v2\/pages\/33"}],"wp:attachment":[{"href":"https:\/\/rossk.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=106"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}