In Sellerdeck Swift, the mobile header area looks like this:
However, on occassions, 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...
In UXHeadCode Swift after:
add the following
In UXHeader Swift around line 126:
Look for the line
we will be working below that:
Remove the following code at around line 142:
and paste after
You are left with:
delete that.
copy
and replace (the other)
with
Before Applying go to the bottom and remove one of these </div>s
add to the stylesheet:
After the phone section:
Add this:
Open Layout Code B2B links and add 'useicon' after <button type="button" class="dropdown-toggle
so it looks like:
Publish to web and test.
Example site:
https://www.graphicz.solutions/althead/
(Posted without warranty express or implied)
However, on occassions, 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...
In UXHeadCode Swift after:
Code:
<link href="actinic.css" rel="stylesheet" type="text/css">
Code:
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
Look for the line
Code:
<div class="mobile-header container">
Remove the following code at around line 142:
Code:
<div class="logo-area text-center d-flex align-items-center justify-content-center"> <span class="large-logo"> <actinic:variable name="LogoLayout" /> </span> <span class="small-logo"> <actinic:variable name="CompanyLogoImage" /> </span> </div>
Code:
<div class="row align-items-center justify-content-between flex-nowrap">
Code:
</div> <div class="d-flex">
copy
Code:
<div class="row align-items-center justify-content-between flex-nowrap">
Code:
<div class="d-flex">
Code:
</div> <div class="row align-items-center justify-content-between flex-nowrap">
Code:
</form> </div> </div> </div>
Code:
.mobile-header .align-items-center .logo-area { margin: 0 auto 0.5em auto; } @media (max-width:767px) { .dropdown-toggle.useicon { border: 1px solid transparent!Important; position: relative; } .dropdown-toggle.useicon:before { font-size: 20px; color:<actinic:variable name="megaMenuBGColor" />; position: absolute; font-family: 'FontAwesome'; top: -2px; left: 10px; content: "\f007"; } .dropdown-toggle.useicon:hover:before { opacity:.8; } } a.header-icon-link, a.header-icon-link i {color:<actinic:variable name="megaMenuBGColor" />;} a.header-icon-link:hover, a.header-icon-link:hover i, a.header-icon-link i:hover {opacity:.8;}
After the phone section:
Code:
<div class="mobile-margin mobile-phone d-flex align-items-center justify-content-center"> <a class="header-icon-link" href="tel:<actinic:variable name="Phone" />"> <img src="phone-icon-xs.png" alt=""> </a> </div>
Code:
<div class="mobile-margin mobile-profile"> <Actinic:NOTINB2B> <a href="<actinic:variable name="LoginPageURL" />" class="header-icon-link"><i class="fa fa-user" aria-hidden="true"></i></a> </Actinic:NOTINB2B> <Actinic:NOTINB2B style="display:none"><div style="display:none"></Actinic:NOTINB2B> <actinic:variable name="B2B_Links" /> <Actinic:NOTINB2B></div></Actinic:NOTINB2B> </div>
so it looks like:
Code:
<button type="button" class="dropdown-toggle useicon no-button dropdown-menu-right" data-toggle="dropdown">
Example site:
https://www.graphicz.solutions/althead/
(Posted without warranty express or implied)
Comment