{"id":629,"date":"2020-07-27T14:02:53","date_gmt":"2020-07-27T13:02:53","guid":{"rendered":"https:\/\/www.graphicz.co.uk\/blog\/?p=629"},"modified":"2020-07-28T07:59:22","modified_gmt":"2020-07-28T06:59:22","slug":"an-alternative-mobile-header-area-for-sellerdeck-swift-design","status":"publish","type":"post","link":"https:\/\/www.graphicz.co.uk\/blog\/an-alternative-mobile-header-area-for-sellerdeck-swift-design\/","title":{"rendered":"An Alternative Mobile Header Area for Sellerdeck Swift Design"},"content":{"rendered":"\n<p>In <strong>Sellerdeck Swift<\/strong>, the mobile header area looks like this:<br><br><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"495\" height=\"517\" src=\"https:\/\/www.graphicz.co.uk\/blog\/wp-content\/uploads\/2020\/07\/swift-head.jpg\" alt=\"Swift Design Head Area\" class=\"wp-image-630\" title=\"swift-head.jpg\" srcset=\"https:\/\/www.graphicz.co.uk\/blog\/wp-content\/uploads\/2020\/07\/swift-head.jpg 495w, https:\/\/www.graphicz.co.uk\/blog\/wp-content\/uploads\/2020\/07\/swift-head-287x300.jpg 287w, https:\/\/www.graphicz.co.uk\/blog\/wp-content\/uploads\/2020\/07\/swift-head-191x200.jpg 191w, https:\/\/www.graphicz.co.uk\/blog\/wp-content\/uploads\/2020\/07\/swift-head-383x400.jpg 383w\" sizes=\"(max-width: 495px) 100vw, 495px\" \/><\/figure>\n\n\n\n<p>However, on occasions, you may, for reasons of logo style and design or whatever, prefer it if the header looked like this:<br><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"495\" height=\"562\" src=\"https:\/\/www.graphicz.co.uk\/blog\/wp-content\/uploads\/2020\/07\/swift-head-alt.jpg\" alt=\"Swift Design Alternative Head\" class=\"wp-image-631\" title=\"swift-head-alt.jpg\" srcset=\"https:\/\/www.graphicz.co.uk\/blog\/wp-content\/uploads\/2020\/07\/swift-head-alt.jpg 495w, https:\/\/www.graphicz.co.uk\/blog\/wp-content\/uploads\/2020\/07\/swift-head-alt-264x300.jpg 264w, https:\/\/www.graphicz.co.uk\/blog\/wp-content\/uploads\/2020\/07\/swift-head-alt-176x200.jpg 176w, https:\/\/www.graphicz.co.uk\/blog\/wp-content\/uploads\/2020\/07\/swift-head-alt-352x400.jpg 352w\" sizes=\"(max-width: 495px) 100vw, 495px\" \/><\/figure>\n\n\n\n<p>Take a snapshot just in case&#8230;<br><br>In UXHeadCode Swift after:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;link href=\"actinic.css\" rel=\"stylesheet\" type=\"text\/css\"&gt;<\/pre>\n\n\n\n<p>add the following<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;link rel=\"stylesheet\" href=\"https:\/\/cdnjs.cloudflare.com\/ajax\/libs\/font-awesome\/4.7.0\/css\/font-awesome.min.css\"&gt;<\/pre>\n\n\n\n<p>In UXHeader Swift around line 126:<br>Look for the line:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;div class=\"mobile-header container\"&gt;<\/pre>\n\n\n\n<p>we will be working below that:<br><br>Remove the following code at around line 142:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;div class=\"logo-area text-center d-flex align-items-center justify-content-center\"&gt;\n&lt;span class=\"large-logo\"&gt;\n&lt;actinic:variable name=\"LogoLayout\" \/&gt;\n&lt;\/span&gt;\n&lt;span class=\"small-logo\"&gt;\n&lt;actinic:variable name=\"CompanyLogoImage\" \/&gt;\n&lt;\/span&gt;\n&lt;\/div&gt;<\/pre>\n\n\n\n<p>and paste after:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;div class=\"row align-items-center justify-content-between flex-nowrap\"&gt;<\/pre>\n\n\n\n<p>You are left with:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;\/div&gt;\n\n\n\n&lt;div class=\"d-flex\"&gt;<\/pre>\n\n\n\n<p>delete that.<br><br>Copy:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;div class=\"row align-items-center justify-content-between flex-nowrap\"&gt;<\/pre>\n\n\n\n<p>and replace (the other):<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;div class=\"d-flex\"&gt;<\/pre>\n\n\n\n<p>with:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;\/div&gt;\n&lt;div class=\"row align-items-center justify-content-between flex-nowrap\"&gt;<\/pre>\n\n\n\n<p>Before Applying go to the bottom and remove one of these &lt;\/div&gt;s:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;\/form&gt;\n&lt;\/div&gt;\n&lt;\/div&gt;\n&lt;\/div&gt;<\/pre>\n\n\n\n<p>add to the stylesheet::<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">.mobile-header .align-items-center .logo-area {\nmargin: 0 auto 0.5em auto;\n}\n@media (max-width:767px) {\n.dropdown-toggle.useicon {\nborder: 1px solid transparent!Important;\nposition: relative;\n}\n.dropdown-toggle.useicon:before {\nfont-size: 20px;\ncolor:&lt;actinic:variable name=\"megaMenuBGColor\" \/&gt;;\nposition: absolute;\nfont-family: 'FontAwesome';\ntop: -2px;\nleft: 10px;\ncontent: \"\\f007\";\n}\n.dropdown-toggle.useicon:hover:before {\nopacity:.8;\n}\n}\na.header-icon-link, a.header-icon-link i {color:&lt;actinic:variable name=\"megaMenuBGColor\" \/&gt;;}\na.header-icon-link:hover, a.header-icon-link:hover i, a.header-icon-link i:hover {opacity:.8;}<\/pre>\n\n\n\n<p>After the phone section::<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;div class=\"mobile-margin mobile-phone d-flex align-items-center justify-content-center\"&gt;\n&lt;a class=\"header-icon-link\" href=\"tel:&lt;actinic:variable name=\"Phone\" \/&gt;\"&gt;\n&lt;img src=\"phone-icon-xs.png\" alt=\"\"&gt;\n&lt;\/a&gt;\n&lt;\/div&gt;<\/pre>\n\n\n\n<p>Add this::<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;div class=\"mobile-margin mobile-profile\"&gt;\n&lt;Actinic:NOTINB2B&gt;\n&lt;a href=\"&lt;actinic:variable name=\"LoginPageURL\" \/&gt;\" class=\"header-icon-link\"&gt;&lt;i class=\"fa fa-user\" aria-hidden=\"true\"&gt;&lt;\/i&gt;&lt;\/a&gt;\n&lt;\/Actinic:NOTINB2B&gt;\n&lt;Actinic:NOTINB2B style=\"display:none\"&gt;&lt;div style=\"display:none\"&gt;&lt;\/Actinic:NOTINB2B&gt;\n&lt;actinic:variable name=\"B2B_Links\" \/&gt;\n&lt;Actinic:NOTINB2B&gt;&lt;\/div&gt;&lt;\/Actinic:NOTINB2B&gt;\n&lt;\/div&gt;<\/pre>\n\n\n\n<p>Open Layout Code B2B links and add &#8216;useicon&#8217; after &lt;button type=&#8221;button&#8221; class=&#8221;dropdown-toggle<br><br>so it looks like::<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;button type=\"button\" class=\"dropdown-toggle useicon no-button dropdown-menu-right\" data-toggle=\"dropdown\"&gt;<\/pre>\n\n\n\n<p>Publish to web and test.<\/p>\n\n\n\n<p>Example site: <a href=\"https:\/\/www.graphicz.solutions\/althead\/\" target=\"_blank\" rel=\"noreferrer noopener\">https:\/\/www.graphicz.solutions\/althead\/<\/a><br><br>(<em>Posted without warranty express or implied<\/em>)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In Sellerdeck Swift, the mobile header area looks like this: However, on occasions, you may, for reasons of logo style and design or whatever, prefer it if the header looked like this: Take a snapshot just in case&#8230; In UXHeadCode<span class=\"ellipsis\">&hellip;<\/span> <a href=\"https:\/\/www.graphicz.co.uk\/blog\/an-alternative-mobile-header-area-for-sellerdeck-swift-design\/\"><\/p>\n<div class=\"read-more\"><b>Read more &#8250;<\/b><\/div>\n<p><!-- end of .read-more --><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-629","post","type-post","status-publish","format-standard","hentry","category-graphicz-articles"],"_links":{"self":[{"href":"https:\/\/www.graphicz.co.uk\/blog\/wp-json\/wp\/v2\/posts\/629"}],"collection":[{"href":"https:\/\/www.graphicz.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.graphicz.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.graphicz.co.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.graphicz.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=629"}],"version-history":[{"count":3,"href":"https:\/\/www.graphicz.co.uk\/blog\/wp-json\/wp\/v2\/posts\/629\/revisions"}],"predecessor-version":[{"id":637,"href":"https:\/\/www.graphicz.co.uk\/blog\/wp-json\/wp\/v2\/posts\/629\/revisions\/637"}],"wp:attachment":[{"href":"https:\/\/www.graphicz.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=629"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.graphicz.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=629"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.graphicz.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=629"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}