{"id":4616,"date":"2021-12-02T14:47:39","date_gmt":"2021-12-02T14:47:39","guid":{"rendered":"https:\/\/www.leadshook.com\/help\/?p=4616"},"modified":"2025-05-14T12:22:57","modified_gmt":"2025-05-14T12:22:57","slug":"how-to-create-2-columns-in-mobile-view","status":"publish","type":"post","link":"https:\/\/www.leadshook.com\/help\/how-to-create-2-columns-in-mobile-view\/","title":{"rendered":"How to create 2 columns in mobile view"},"content":{"rendered":"\n<p>Here is how to create 2 columns in mobile view.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img fetchpriority=\"high\" decoding=\"async\" width=\"395\" height=\"617\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2021\/12\/2-columns.jpg\" alt=\"\" class=\"wp-image-4617\"\/><\/figure>\n\n\n\n<p><br><strong>Step 1:<\/strong> Go to the decision tree scripts as shown in the image below.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"680\" height=\"355\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2021\/12\/script-how-to.jpg\" alt=\"\" class=\"wp-image-4618\"\/><\/figure>\n\n\n\n<p><br><strong>Step 2:<\/strong> Click on the <strong>&#8220;Add&#8221;<\/strong> button under the Decision Tree Scripts.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"1020\" height=\"639\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2021\/12\/decision-tree-scripts.jpg\" alt=\"\" class=\"wp-image-4619\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>Step 3:<\/strong> Add the code below<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;style>\n@media screen and (max-width: 767px) {\n  \/* Make all containers display in a continuous flow *\/\n  .question-answers-groups.pure-g {\n    display: flex;\n    flex-wrap: wrap;\n    width: 100%;\n  }\n  \n  \/* Force each item to be exactly 50% width *\/\n  .question-answer-container.pure-u-1 {\n    width: 50% !important;\n    flex: 0 0 50%;\n    box-sizing: border-box;\n  }\n  \n  \/* Remove any margins that might be causing issues *\/\n  .question-answers-groups {\n    margin: 0;\n  }\n  \n  \/* Ensure items have consistent spacing *\/\n  .question-answer-outer {\n    margin: 5px;\n  }\n  \n  \/* Fix for the separate groups *\/\n  .question-mc {\n    display: flex;\n    flex-wrap: wrap;\n  }\n  \n  .question-mc > .question-answers-groups {\n    display: contents; \/* This makes children act as if they were direct children of parent *\/\n  }\n}\n\n&lt;\/style><\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"689\" height=\"529\" src=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2021\/12\/2-columns-script.jpg\" alt=\"\" class=\"wp-image-4620\"\/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p><strong>Step 4:<\/strong> Save and publish.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here is how to create 2 columns in mobile view. Step 1: Go to the decision tree scripts as shown in the image below. Step 2: Click on the &#8220;Add&#8221; button under the Decision Tree Scripts. Step 3: Add the code below Step 4: Save and publish.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[273,548,27,12],"tags":[865,275,512],"class_list":["post-4616","post","type-post","status-publish","format-standard","hentry","category-appearance","category-css-hacks","category-decision-tree","category-leadshook","tag-2-columns","tag-appearance","tag-css"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to create 2 columns in mobile view - LeadsHook Knowledge Base<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.leadshook.com\/help\/how-to-create-2-columns-in-mobile-view\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to create 2 columns in mobile view - LeadsHook Knowledge Base\" \/>\n<meta property=\"og:description\" content=\"Here is how to create 2 columns in mobile view. Step 1: Go to the decision tree scripts as shown in the image below. Step 2: Click on the &#8220;Add&#8221; button under the Decision Tree Scripts. Step 3: Add the code below Step 4: Save and publish.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.leadshook.com\/help\/how-to-create-2-columns-in-mobile-view\/\" \/>\n<meta property=\"og:site_name\" content=\"LeadsHook Knowledge Base\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/leadshook\/\" \/>\n<meta property=\"article:published_time\" content=\"2021-12-02T14:47:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-05-14T12:22:57+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2021\/12\/2-columns.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"395\" \/>\n\t<meta property=\"og:image:height\" content=\"617\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Nik T\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@leadshook\" \/>\n<meta name=\"twitter:site\" content=\"@leadshook\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Nik T\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-create-2-columns-in-mobile-view\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-create-2-columns-in-mobile-view\\\/\"},\"author\":{\"name\":\"Nik T\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#\\\/schema\\\/person\\\/4bfe37d814563cc729828b7055313f4d\"},\"headline\":\"How to create 2 columns in mobile view\",\"datePublished\":\"2021-12-02T14:47:39+00:00\",\"dateModified\":\"2025-05-14T12:22:57+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-create-2-columns-in-mobile-view\\\/\"},\"wordCount\":49,\"publisher\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-create-2-columns-in-mobile-view\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/2-columns.jpg\",\"keywords\":[\"2 columns\",\"appearance\",\"CSS\"],\"articleSection\":[\"Appearance\",\"CSS Hacks\",\"Decision Tree\",\"LeadsHook\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-create-2-columns-in-mobile-view\\\/\",\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-create-2-columns-in-mobile-view\\\/\",\"name\":\"How to create 2 columns in mobile view - LeadsHook Knowledge Base\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-create-2-columns-in-mobile-view\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-create-2-columns-in-mobile-view\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/2-columns.jpg\",\"datePublished\":\"2021-12-02T14:47:39+00:00\",\"dateModified\":\"2025-05-14T12:22:57+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-create-2-columns-in-mobile-view\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-create-2-columns-in-mobile-view\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-create-2-columns-in-mobile-view\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/2-columns.jpg\",\"contentUrl\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/2-columns.jpg\",\"width\":395,\"height\":617},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/how-to-create-2-columns-in-mobile-view\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to create 2 columns in mobile view\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#website\",\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/\",\"name\":\"LeadsHook Knowledge Base\",\"description\":\"LeadsHook Training &amp; Technical Help\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#organization\",\"name\":\"LeadsHook\",\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/leadshook-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/wp-content\\\/uploads\\\/2018\\\/12\\\/leadshook-logo.png\",\"width\":350,\"height\":83,\"caption\":\"LeadsHook\"},\"image\":{\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/leadshook\\\/\",\"https:\\\/\\\/x.com\\\/leadshook\",\"https:\\\/\\\/www.linkedin.com\\\/showcase\\\/leadshook\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/#\\\/schema\\\/person\\\/4bfe37d814563cc729828b7055313f4d\",\"name\":\"Nik T\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/48d53e68db0b1db1cd5c54a750130fb2ee0c663306ff1bd434373f1a368ef7a0?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/48d53e68db0b1db1cd5c54a750130fb2ee0c663306ff1bd434373f1a368ef7a0?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/48d53e68db0b1db1cd5c54a750130fb2ee0c663306ff1bd434373f1a368ef7a0?s=96&d=mm&r=g\",\"caption\":\"Nik T\"},\"sameAs\":[\"http:\\\/\\\/www.LeadsHook.com\"],\"url\":\"https:\\\/\\\/www.leadshook.com\\\/help\\\/author\\\/nik\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to create 2 columns in mobile view - LeadsHook Knowledge Base","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.leadshook.com\/help\/how-to-create-2-columns-in-mobile-view\/","og_locale":"en_US","og_type":"article","og_title":"How to create 2 columns in mobile view - LeadsHook Knowledge Base","og_description":"Here is how to create 2 columns in mobile view. Step 1: Go to the decision tree scripts as shown in the image below. Step 2: Click on the &#8220;Add&#8221; button under the Decision Tree Scripts. Step 3: Add the code below Step 4: Save and publish.","og_url":"https:\/\/www.leadshook.com\/help\/how-to-create-2-columns-in-mobile-view\/","og_site_name":"LeadsHook Knowledge Base","article_publisher":"https:\/\/www.facebook.com\/leadshook\/","article_published_time":"2021-12-02T14:47:39+00:00","article_modified_time":"2025-05-14T12:22:57+00:00","og_image":[{"width":395,"height":617,"url":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2021\/12\/2-columns.jpg","type":"image\/jpeg"}],"author":"Nik T","twitter_card":"summary_large_image","twitter_creator":"@leadshook","twitter_site":"@leadshook","twitter_misc":{"Written by":"Nik T","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.leadshook.com\/help\/how-to-create-2-columns-in-mobile-view\/#article","isPartOf":{"@id":"https:\/\/www.leadshook.com\/help\/how-to-create-2-columns-in-mobile-view\/"},"author":{"name":"Nik T","@id":"https:\/\/www.leadshook.com\/help\/#\/schema\/person\/4bfe37d814563cc729828b7055313f4d"},"headline":"How to create 2 columns in mobile view","datePublished":"2021-12-02T14:47:39+00:00","dateModified":"2025-05-14T12:22:57+00:00","mainEntityOfPage":{"@id":"https:\/\/www.leadshook.com\/help\/how-to-create-2-columns-in-mobile-view\/"},"wordCount":49,"publisher":{"@id":"https:\/\/www.leadshook.com\/help\/#organization"},"image":{"@id":"https:\/\/www.leadshook.com\/help\/how-to-create-2-columns-in-mobile-view\/#primaryimage"},"thumbnailUrl":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2021\/12\/2-columns.jpg","keywords":["2 columns","appearance","CSS"],"articleSection":["Appearance","CSS Hacks","Decision Tree","LeadsHook"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.leadshook.com\/help\/how-to-create-2-columns-in-mobile-view\/","url":"https:\/\/www.leadshook.com\/help\/how-to-create-2-columns-in-mobile-view\/","name":"How to create 2 columns in mobile view - LeadsHook Knowledge Base","isPartOf":{"@id":"https:\/\/www.leadshook.com\/help\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.leadshook.com\/help\/how-to-create-2-columns-in-mobile-view\/#primaryimage"},"image":{"@id":"https:\/\/www.leadshook.com\/help\/how-to-create-2-columns-in-mobile-view\/#primaryimage"},"thumbnailUrl":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2021\/12\/2-columns.jpg","datePublished":"2021-12-02T14:47:39+00:00","dateModified":"2025-05-14T12:22:57+00:00","breadcrumb":{"@id":"https:\/\/www.leadshook.com\/help\/how-to-create-2-columns-in-mobile-view\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.leadshook.com\/help\/how-to-create-2-columns-in-mobile-view\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.leadshook.com\/help\/how-to-create-2-columns-in-mobile-view\/#primaryimage","url":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2021\/12\/2-columns.jpg","contentUrl":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2021\/12\/2-columns.jpg","width":395,"height":617},{"@type":"BreadcrumbList","@id":"https:\/\/www.leadshook.com\/help\/how-to-create-2-columns-in-mobile-view\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.leadshook.com\/help\/"},{"@type":"ListItem","position":2,"name":"How to create 2 columns in mobile view"}]},{"@type":"WebSite","@id":"https:\/\/www.leadshook.com\/help\/#website","url":"https:\/\/www.leadshook.com\/help\/","name":"LeadsHook Knowledge Base","description":"LeadsHook Training &amp; Technical Help","publisher":{"@id":"https:\/\/www.leadshook.com\/help\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.leadshook.com\/help\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.leadshook.com\/help\/#organization","name":"LeadsHook","url":"https:\/\/www.leadshook.com\/help\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.leadshook.com\/help\/#\/schema\/logo\/image\/","url":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2018\/12\/leadshook-logo.png","contentUrl":"https:\/\/www.leadshook.com\/help\/wp-content\/uploads\/2018\/12\/leadshook-logo.png","width":350,"height":83,"caption":"LeadsHook"},"image":{"@id":"https:\/\/www.leadshook.com\/help\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/leadshook\/","https:\/\/x.com\/leadshook","https:\/\/www.linkedin.com\/showcase\/leadshook\/"]},{"@type":"Person","@id":"https:\/\/www.leadshook.com\/help\/#\/schema\/person\/4bfe37d814563cc729828b7055313f4d","name":"Nik T","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/48d53e68db0b1db1cd5c54a750130fb2ee0c663306ff1bd434373f1a368ef7a0?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/48d53e68db0b1db1cd5c54a750130fb2ee0c663306ff1bd434373f1a368ef7a0?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/48d53e68db0b1db1cd5c54a750130fb2ee0c663306ff1bd434373f1a368ef7a0?s=96&d=mm&r=g","caption":"Nik T"},"sameAs":["http:\/\/www.LeadsHook.com"],"url":"https:\/\/www.leadshook.com\/help\/author\/nik\/"}]}},"_links":{"self":[{"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/posts\/4616","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/comments?post=4616"}],"version-history":[{"count":10,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/posts\/4616\/revisions"}],"predecessor-version":[{"id":7755,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/posts\/4616\/revisions\/7755"}],"wp:attachment":[{"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/media?parent=4616"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/categories?post=4616"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.leadshook.com\/help\/wp-json\/wp\/v2\/tags?post=4616"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}