Hello,
The setup of our HubSpot account included one landing page template. This template was coded and whenenver we need to make changes, we are having trouble because nobody in our marketing team knows how to code.
It seems like there is an overlay on our header image that I cannot seem to get rid of. Can someone identify the cause for this overlay in the code?
header.site-header{
background: linear-gradient(180deg,rgba({{ theme.header.background_start_color.color|convert_rgb }}, {{ theme.header.background_start_color.opacity * 0.01 }}),rgba({{ theme.header.background_end_color.color|convert_rgb }}, {{ theme.header.background_end_color.opacity * 0.01 }}));
}
.header-menu .hs-menu-wrapper>ul>li>a{
color: rgba({{ theme.header.menu_link_color.color|convert_rgb }}, {{ theme.header.menu_link_color.opacity * 0.01 }});
}
.header-menu .hs-menu-wrapper>ul>li>a,
.language-switcher-wrapper .language-selector{
color: rgba({{ theme.header.menu_link_color.color|convert_rgb }}, {{ theme.header.menu_link_color.opacity * 0.01 }});
}
.header-menu .hs-menu-wrapper>ul>li>a:hover{
color: rgba({{ theme.header.menu_link_hover_color.color|convert_rgb }}, {{ theme.header.menu_link_hover_color.opacity * 0.01 }});
}
.header-menu .hs-menu-wrapper>ul>li.active-branch>a,
.header-menu .hs-menu-wrapper>ul>li.active>a{
color: rgba({{ theme.header.active_menu_link_color.color|convert_rgb }}, {{ theme.header.active_menu_link_color.opacity * 0.01 }});
}
.header-menu .hs-menu-wrapper>ul>li.active-branch {
background-color: rgba({{ theme.header.active_menu_link_background_color.color|convert_rgb }}, {{ theme.header.active_menu_link_background_color.opacity * 0.01 }});
}
.header-menu .hs-menu-wrapper>ul>li {
background-color: {{ theme.header.menu_link_background_color.color }};
}
.header-menu .hs-menu-wrapper>ul>li:hover{
background-color: rgba({{ theme.header.menu_link_hover_background_color.color|convert_rgb }}, {{ theme.header.menu_link_hover_background_color.opacity * 0.01 }});
}
.header-menu .hs-menu-wrapper>ul>li>ul{
background-color: rgba({{ theme.header.child_menu_background_color.color|convert_rgb }}, {{ theme.header.child_menu_background_color.opacity * 0.01 }});
}
.header-menu .hs-menu-wrapper>ul>li>ul>li>a{
color: rgba({{ theme.header.child_menu_link_color.color|convert_rgb }}, {{ theme.header.child_menu_link_color.opacity * 0.01 }});
}
.header-menu .hs-menu-wrapper>ul>li>ul>li:hover,
.language-switcher-wrapper ul.dropdown-menu>li:hover{
background-color: rgba({{ theme.header.child_menu_link_hover_background_color.color|convert_rgb }}, {{ theme.header.child_menu_link_hover_background_color.opacity * 0.01 }});
color: rgba({{ theme.header.child_menu_link_hover_color.color|convert_rgb }}, {{ theme.header.child_menu_link_hover_color.opacity * 0.01 }});
}
.header-menu .hs-menu-wrapper>ul>li>ul>li.active>a {
color: rgba({{ theme.header.active_child_menu_link_color.color|convert_rgb }}, {{ theme.header.active_child_menu_link_color.opacity * 0.01 }});
background-color: rgba({{ theme.header.active_child_menu_link_background_color.color|convert_rgb }}, {{ theme.header.active_child_menu_link_background_color.opacity * 0.01 }});
}
.header-left .header-button a.hs-button{
color: rgba({{ theme.header.button_color.color|convert_rgb }}, {{ theme.header.button_color.opacity * 0.01 }});
background-color: rgba({{ theme.header.button_background_color.color|convert_rgb }}, {{ theme.header.button_background_color.opacity * 0.01 }});
border-color: rgba({{ theme.header.button_border_color.color|convert_rgb }}, {{ theme.header.button_border_color.opacity * 0.01 }});
}
.header-left .header-button a.hs-button:hover{
color: rgba({{ theme.header.button_hover_color.color|convert_rgb }}, {{ theme.header.button_hover_color.opacity * 0.01 }});
background-color: rgba({{ theme.header.button_background_hover_color.color|convert_rgb }}, {{ theme.header.button_background_hover_color.opacity * 0.01 }});
border-color: rgba({{ theme.header.button_border_hover_color.color|convert_rgb }}, {{ theme.header.button_border_hover_color.opacity * 0.01 }});
}
Or alternatively in this one:
header.site-header {
background: linear-gradient(180deg,rgba(205,214,218,0),rgba(205,214,218,0));
left: 0;
position: fixed;
top: 0;
transition: .65s ease-in-out;
width: 100%;
z-index: 101;
}
.header-inner {
padding: 0.9375rem;
transition: .45s;
padding-left: 1.875rem;
padding-right: 1.875rem;
min-height: 6.75rem;
flex-flow: row nowrap;
justify-content: flex-start;
align-items: center;
display: flex;
}
.header-row {
flex-wrap: nowrap;
align-items: center;
display: flex;
justify-content: space-between;
margin-left: auto;
margin-right: auto;
padding-left: 15px;
padding-right: 15px;
width: 100%;
}
.header-logo {
color: #eff3f3;
margin-right: auto;
display: inline-block;
font-size: 1.5rem;
line-height: inherit;
padding-bottom: 0;
padding-top: 0;
white-space: nowrap;
}
.header-logo svg {
width: 10rem;
height: 100%;
max-height: 6.75rem;
min-width: 6.75rem;
max-width: 13.5rem;
fill: currentcolor;
overflow: hidden;
display: block;
vertical-align: middle;
}
.header-navigation-sec {
max-width: 90%;
display: flex;
flex-basis: auto;
align-items: stretch;
flex-grow: 0;
}
.header-menu .hs-menu-wrapper>ul {
align-items: flex-start;
flex-direction: row;
margin-left: auto;
display: flex;
list-style: none;
margin-bottom: 0;
padding-left: 0;
}
.header-menu .hs-menu-wrapper>ul>li {
max-width: 100%;
position: relative;
}
.header-menu .hs-menu-wrapper>ul>li>a {
padding-right: 2.53125rem;
padding-bottom: 0.5rem;
padding-top: 0.5rem;
color: #eff3f3;
padding-left: 0.9375rem;
border-bottom: 5px solid transparent;
border-top: 5px solid transparent;
text-transform: uppercase;
overflow: hidden;
font-family: Roboto,sans-serif;
font-size: 1.125rem;
font-weight: 500;
text-overflow: ellipsis;
transition: color .25s linear;
white-space: nowrap;
display: block;
}
.header-menu .hs-menu-wrapper>ul>li>ul {
position: absolute;
box-shadow: 0 2px 4px rgba(76,80,82,.25);
left: auto;
right: 0;
background-clip: padding-box;
background-color: #fff;
border: 1px solid rgba(0,0,0,.15);
border-radius: 0;
color: #1f2831;
display: none;
font-size: 1.25rem;
list-style: none;
margin: 0.125rem 0 0;
min-width: 10rem;
padding: 0.5rem 0;
text-align: left;
top: 100%;
z-index: 1000;
}
.header-menu .hs-menu-wrapper>ul>li>button.dropdown-toggle {
background-color: transparent;
border: 2px solid transparent;
border-radius: 0.1875rem;
color: #eff3f3;
display: block;
font-family: Roboto,sans-serif;
font-size: 1.125rem;
font-weight: 500;
line-height: 1.25;
overflow: hidden;
padding: 0.5rem 0.9375rem 0.5rem 0.46875rem;
position: absolute;
right: 0;
text-align: center;
text-overflow: ellipsis;
text-transform: uppercase;
top: 0;
transition: color .25s linear;
user-select: none;
vertical-align: middle;
white-space: nowrap;
border-bottom: 5px solid transparent;
border-top: 5px solid transparent;
}
.header-menu .hs-menu-wrapper>ul>li>button.dropdown-toggle:after {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
color: inherit;
content: "\f107";
display: inline-block;
font-family: Font Awesome\ 6 Pro;
font-size: inherit;
font-style: normal;
font-variant: normal;
font-weight: 400;
line-height: 1;
transition: transform .25s linear;
}
.header-menu .hs-menu-wrapper>ul>li>ul>li {
position: relative;
}
.header-menu .hs-menu-wrapper>ul>li>ul>li>a {
color: #2a3b46;
font-family: Roboto,sans-serif;
font-size: 1.125rem;
font-weight: 500;
overflow: hidden;
text-overflow: ellipsis;
transition: color .25s linear;
white-space: nowrap;
padding-left: 1.5rem;
padding-right: 1.5rem;
padding-bottom: 0.5rem;
padding-top: 0.5rem;
background-color: transparent;
border: 0;
clear: both;
display: block;
text-align: inherit;
width: 100%;
}
.header-left {
align-items: center;
display: flex;
flex-direction: row;
}
.header-left a.header-search-icon {
margin: 0 0.625rem;
display: block;
padding-bottom: 0.5rem;
padding-top: 0.5rem;
color: #eff3f3;
padding-left: 0.9375rem;
padding-right: 0.9375rem;
border-bottom: 5px solid transparent;
border-top: 5px solid transparent;
text-transform: uppercase;
font-family: Roboto,sans-serif;
font-size: 1.125rem;
font-weight: 500;
text-overflow: ellipsis;
transition: color .25s linear;
white-space: nowrap;
overflow: hidden;
display: block;
}
.fa-regular, .far {
font-weight: 400;
}
.fa-classic, .fa-light, .fa-regular, .fa-solid, .fa-thin, .fal, .far, .fas, .fat {
font-family: Font Awesome\ 6 Pro;
}
.fa, .fa-brands, .fa-classic, .fa-duotone, .fa-light, .fa-regular, .fa-sharp, .fa-sharp-solid, .fa-solid, .fa-thin, .fab, .fad, .fal, .far, .fas, .fass, .fat, .frm_forms .frm_icon_font {
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
display: var(--fa-display,inline-block);
font-style: normal;
font-variant: normal;
line-height: 1;
text-rendering: auto;
}
.header-left a.header-search-icon i:before {
content: "\f002";
}
.header-left .header-button {
margin: 0 0.625rem;
margin-right: 0;
color: #eff3f3;
padding-left: 0.9375rem;
padding-right: 0.9375rem;
border-bottom: 5px solid transparent;
border-top: 5px solid transparent;
text-transform: uppercase;
font-family: Roboto,sans-serif;
font-size: 1.125rem;
font-weight: 500;
overflow: hidden;
text-overflow: ellipsis;
transition: color .25s linear;
white-space: nowrap;
padding-top: 10px ;
padding-bottom: 0;
margin-bottom: 1rem;
display: block;
}
.header-left .header-button a.hs-button {
font-size: 17px ;
line-height: 0 ;
border-radius: 30px ;
text-decoration: none;
text-transform: uppercase;
display: block;
width: 100%;
padding: 0.875rem 1.625rem;
background-color: #eaf469;
border-color: #eaf469;
color: #282c33;
border: 2px solid transparent;
font-family: Roboto,sans-serif;
font-weight: 700;
text-align: center;
transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
user-select: none;
vertical-align: middle;
}
.header-left .header-button i.fa-thin.fa-envelope {
margin-right: 0.5rem;
}
.fa-envelope:before {
content: "\f0e0";
}
.language-switcher {
margin-left: 0.625rem;
display: flex;
}
.language-switcher-wrapper .language-selector {
cursor: pointer;
color: #eff3f3;
text-transform: uppercase;
padding: 1rem;
align-items: center;
display: inline-flex;
border: 0;
white-space: nowrap;
font-weight: 400;
text-decoration: none;
border-radius: 0.1875rem;
line-height: 1.1;
font-family: Roboto,sans-serif;
font-size: 1.25rem;
background-color: transparent;
text-align: center;
transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
user-select: none;
vertical-align: middle;
}
.fa-solid, .fas {
font-weight: 900;
}
.fa-earth-europe:before,
.fa-globe-europe:before {
content: "\f7a2";
}
.language-switcher-wrapper .language-selector span.language-text {
font-family: Roboto,sans-serif;
font-weight: 500;
font-size: 1rem;
text-transform: uppercase;
margin-left: 0.5rem;
margin-right: 0.5rem;
cursor: pointer;
}
.language-switcher-wrapper .language-selector:after {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
color: inherit;
content: "\f107";
display: inline-block;
font-family: Font Awesome\ 6 Pro;
font-size: inherit;
font-style: normal;
font-variant: normal;
font-weight: 400;
line-height: 1;
transition: transform .25s linear;
}
.language-switcher-wrapper ul.dropdown-menu {
min-width: 0;
box-shadow: 0 2px 4px rgba(76,80,82,.25);
background-color: #fff!important;
left: auto;
right: 0;
background-clip: padding-box;
border: 1px solid rgba(0,0,0,.15);
border-radius: 0;
color: #1f2831;
display: none;
float: left;
font-size: 1.25rem;
list-style: none;
margin: 0.125rem 0 0;
padding: 0.5rem 0;
position: absolute;
text-align: left;
top: 100%;
z-index: 1000;
}
.language-switcher-wrapper ul.dropdown-menu>li {
color: #4c5052;
padding-left: 1rem!important;
padding-right: 1rem!important;
background-color: transparent;
border: 0;
clear: both;
display: block;
font-weight: 400;
padding: 0.375rem 1rem;
text-align: inherit;
white-space: nowrap;
width: 100%;
}
.language-switcher-wrapper ul.dropdown-menu>li>a {
text-transform: none !important;
font-size: 18px !important;
color: #4c5052;
display: block!important;
}
.header-menu .hs-menu-wrapper>ul>li.active>a,
.header-menu .hs-menu-wrapper>ul>li.active-branch>a {
border-bottom-color: #eaf469;
}
.header-menu .hs-menu-wrapper>ul>li.child-open>button.dropdown-toggle:after {
transform: rotate(180deg);
}
.language-switcher-wrapper {
position: relative;
}
.language-switcher-wrapper.child-open .language-selector:after {
transform: rotate(180deg);
}
.language-switcher-wrapper ul.dropdown-menu:before {
left: 50%;
transform: translateX(-50%);
border-bottom: 0.3em solid #000;
border-left: 0.3em solid transparent;
border-right: 0.3em solid transparent;
border-top: 0;
top: -0.3em;
right: calc(5rem - 0.3em);
content: "";
display: inline-block;
position: absolute;
}
.language-switcher-wrapper ul.dropdown-menu:after {
left: 50%;
transform: translateX(-50%);
border-bottom: 0.3em solid #fff;
border-left: 0.3em solid transparent;
border-right: 0.3em solid transparent;
border-top: 0;
top: -0.3em;
right: calc(5rem - 0.3em);
content: "";
display: inline-block;
position: absolute;
}
.navbar-search-bar {
padding-left: 15px;
padding-right: 15px;
height: 100%;
left: 0;
position: absolute;
top: 0;
visibility: hidden;
width: 100%;
flex-direction: column!important;
z-index: 1;
justify-content: center!important;
display: flex!important;
background-color: #2a3b46!important;
right: 0;
opacity: 0;
}
.navbar-search-bar form {
position: relative!important;
flex-wrap: nowrap!important;
align-items: center;
display: flex;
flex-flow: row wrap;
margin-left: -15px;
margin-right: -15px;
}
.navbar-search-bar form .input-group {
width: auto;
align-items: stretch!important;
display: flex!important;
flex-wrap: wrap;
position: relative;
flex-basis: 0;
flex-grow: 1;
max-width: 100%;
padding-left: 15px;
padding-right: 15px;
}
.input-group-prepend {
border-right: 0;
margin-right: -1px;
display: flex;
}
.input-group-prepend button {
border-bottom-right-radius: 0;
border-top-right-radius: 0;
cursor: pointer;
position: relative;
z-index: 2;
border-color: hsla(0,0%,100%,0) hsla(0,0%,100%,0) #4c5052;
border-top-left-radius: 0.1875rem;
border-bottom-left-radius: 0;
transition: border-width .15s cubic-bezier(.4,0,.2,1),border-color .15s cubic-bezier(.4,0,.2,1),background-color .15s cubic-bezier(.4,0,.2,1);
text-transform: uppercase;
align-items: center;
background-color: hsla(0,0%,100%,0);
border: 1px solid #4c5052;
color: #1f2831;
display: flex;
font-family: Roboto,sans-serif;
font-size: 1.25rem;
font-weight: 400;
line-height: 1.25;
margin-bottom: 0;
padding: 0.625rem;
padding-right: 2px;
text-align: center;
white-space: nowrap;
user-select: none;
vertical-align: middle;
border-color: transparent;
}
.fa-light, .fal {
font-weight: 300;
}
.fa-magnifying-glass:before, .fa-search:before {
content: "\f002";
}
.sr-only {
clip: rect(0,0,0,0);
border: 0;
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
white-space: nowrap;
width: 1px;
}
.navbar-search-bar form .input-group input {
flex: 1 1 auto;
min-width: 0;
position: relative;
width: 1%;
display: inline-block;
vertical-align: middle;
border-bottom-right-radius: 0;
border-top-right-radius: 0.1875rem;
background-clip: padding-box;
background-color: hsla(0,0%,100%,0);
border: 1px solid #4c5052;
font-size: 1.25rem;
font-weight: 300;
height: calc(2.8125rem + 4px);
line-height: 1.25;
padding: 0.625rem;
transition: border-width .15s cubic-bezier(.4,0,.2,1),border-color .15s cubic-bezier(.4,0,.2,1),background-color .15s cubic-bezier(.4,0,.2,1);
color: #1f2831;
-webkit-appearance: none;
outline-offset: -2px;
overflow: visible;
font-family: inherit;
margin: 0;
border-bottom-left-radius: 0;
border-top-left-radius: 0;
outline: none;
border-left: 0;
border-color: hsla(0,0%,100%,0) hsla(0,0%,100%,0) #4c5052;
}
.navbar-search-bar form a.close {
color: #4c5052!important;
float: right;
font-size: 1.875rem;
font-weight: 700;
line-height: 1;
opacity: .5;
text-shadow: 0 1px 0 #fff;
flex: 0 0 auto;
max-width: 100%;
width: auto;
padding-left: 15px;
padding-right: 15px;
position: relative;
text-decoration: none;
}
.fa-close:before, .fa-multiply:before, .fa-remove:before, .fa-times:before, .fa-xmark:before {
content: "\f00d";
}
.search-open .navbar-search-bar {
visibility: visible;
opacity: 1;
}
.navbar-search-bar form .input-group input:focus {
border-color: #eff3f3 #eff3f3 #4c5052;
border-width: 2px;
box-shadow: none;
color: #1f2831;
outline: 0;
background-color: #eff3f3;
z-index: 3;
}
.input-group-prepend.focus button {
border-color: #eff3f3 #eff3f3 #4c5052;
border-width: 2px;
box-shadow: none;
color: #1f2831;
outline: 0;
background-color: #eff3f3;
}
input[type=search i]::-webkit-search-cancel-button {
-webkit-appearance: none;
background-image: url({{ get_asset_url('../../images/close-trigger.svg') }});
cursor: pointer;
height: 20px;
width: 20px;
opacity: 1;
pointer-events: auto;
}
.navbar-search-bar form a.close:hover {
opacity: .75;
color: #27292a!important;
}
.no-banner .custom-header {
min-height: 115px;
}
.lp-header .header-row {
padding-top: 7px;
}
.header-left a.header-search-icon:hover {
color: #d2dddd;
}
.header-hide header.site-header {
transform: translateY(-100%);
transition: .65s ease-in-out .1s;
}
.fixed .header-inner {
background-color: #cdd6da!important;
border-bottom: 1px solid #eff3f3;
}
.navbar-search-bar:before {
background-color: inherit;
height: calc(100% + 1.875rem);
left: 0;
width: 100%;
position: absolute;
top: -0.9375rem;
transition: background-color .25s linear;
content: "";
}
.no-banner .header-inner {
background-color: #2a3b46!important;
border-bottom: 1px solid #eff3f3;
}
@media(max-width: 1320px){
.header-left .header-button {
padding: 10px 00 0;
}
.header-left a.header-search-icon {
padding: 0.5rem 0;
}
.header-menu .hs-menu-wrapper>ul>li>button.dropdown-toggle {
padding: 0.5rem 0.1375rem 0.5rem 0.46875rem;
}
.header-menu .hs-menu-wrapper>ul>li>a {
padding: 0.5rem 1.53125rem 0.5rem 0.9375rem;
}
}
@media(min-width: 1200.99px){
button.navbar-toggler,
.header-button.mobile-button,
button.navbar-mobile-toggler,
.language-switcher.mobile-language-switcher {
display: none;
}
}
@media(max-width: 1200px){
.header-inner {
padding: 0.9375rem;
}
.lp-header .header-row {
padding-top: 13px;
}
.no-banner .custom-header {
min-height: 121px;
}
.header-row {
padding: 0;
}
.language-switcher {
order: 1;
}
.header-left {
order: 2;
}
.header-left a.header-search-icon {
order: 2;
}
.header-left .header-button {
order: 1;
padding-left: 0;
padding-right: 0;
margin-right: 1.25rem;
padding-bottom: 0.5rem;
padding-top: 0.5rem;
}
.header-navigation-sec {
max-width: 90%;
display: flex;
flex-direction: column;
transform: translateX(100%);
padding: 1.5625rem;
bottom: 0;
height: 100%;
overflow: auto;
position: fixed;
top: 0;
transform-style: preserve-3d;
width: 100%;
z-index: 101;
right: 0!important;
align-items: stretch!important;
flex-grow: 0!important;
flex-basis: 100%;
background-color: #2a3b46!important;
}
button.navbar-mobile-toggler {
-webkit-appearance: button;
background-color: transparent !important;
border: 1px solid transparent !important;
border-radius: 0.1875rem;
color: #eff3f3 !important;
cursor: pointer;
font-family: inherit;
font-size: 1.25rem;
line-height: 1;
order: 3;
padding: 0.25rem 0.625rem;
position: relative;
text-transform: none;
z-index: 1;
padding-right: 0;
}
i.fa-light.fa-bars.fa-2x {
font-size: 2em;
}
.fa-bars:before, .fa-navicon:before {
content: "\f0c9";
}
.header-left a.header-search-icon {
border-color: transparent;
color: #eff3f3;
position: relative;
z-index: 1;
background-color: transparent;
border: 1px solid transparent;
border-radius: 0.1875rem;
font-size: 1.25rem;
line-height: 1;
padding: 0.25rem 0.625rem;
hyphens: none;
margin: 0;
}
.header-left a.header-search-icon i.fa-regular.fa-magnifying-glass {
font-weight: 400;
font-size: 1.25em;
line-height: .05em;
vertical-align: -0.075em;
}
.mobile-open .header-navigation-sec {
width: 40%;
transform: translateX(0);
}
body.mobile-open {
overflow: hidden;
}
.body-wrapper:after {
background-color: #4c5052;
content: "";
height: 100%;
left: 0;
opacity: .01;
position: fixed;
top: 0;
transform: translateZ(0);
transition: opacity .45s cubic-bezier(.4,0,.2,1),visibility .45s linear;
visibility: hidden;
width: 100%;
z-index: 100;
}
.mobile-open .body-wrapper:after {
cursor: pointer;
opacity: .75;
visibility: visible;
}
.mobile-open .header-inner {
background-color: #eff3f3!important;
}
button.navbar-toggler {
-webkit-appearance: button;
background-color: transparent!important;
border-color: transparent;
border: 1px solid transparent!important;
border-radius: 0.1875rem;
color: #eff3f3 !important;
cursor: pointer;
display: block!important;
font-size: 1.25rem;
line-height: 1;
margin-bottom: 0.25rem!important;
margin-left: auto!important;
margin-right: -0.625rem;
padding: 0.25rem 0.625rem;
position: relative;
z-index: 9999;
}
button.navbar-toggler i.fa-light.fa-xmark.fa-2x {
font-size: 2em;
font-weight: 300;
}
.language-switcher.mobile-language-switcher {
display: block;
height: 100%!important;
width: 100%!important;
margin-left: 0;
left: 0!important;
top: 0!important;
position: absolute!important;
padding-top: 1rem!important;
}
.language-switcher-wrapper .language-selector {
margin-left: 0.9375rem;
}
.header-menu .hs-menu-wrapper>ul {
margin-left: 0!important;
margin-top: 3.125rem;
max-height: calc(100% - 15em);
overflow: auto;
padding-right: 1.25rem;
display: flex;
flex-direction: column;
}
.header-menu .hs-menu-wrapper>ul>li {
width: 100%;
}
.header-menu .hs-menu-wrapper>ul>li>a {
font-size: 1.25rem;
white-space: inherit;
padding-right: 1.59375rem;
text-transform: uppercase;
overflow: hidden;
padding-bottom: 0.5rem;
padding-top: 0.5rem;
text-overflow: ellipsis;
transition: color .25s linear;
font-weight: 500;
padding-left: 0;
}
.header-menu .hs-menu-wrapper>ul>li>button.dropdown-toggle {
font-size: 1.25rem;
white-space: inherit;
line-height: 1.25;
position: absolute;
right: 0;
top: 0;
padding-bottom: 0.5rem;
padding-top: 0.5rem;
padding-right: 0;
}
.header-button.mobile-button {
border-top: 1px solid #fff;
bottom: 0;
display: flex;
left: 0;
margin: 0 auto;
padding-bottom: 2rem;
padding-top: 1rem!important;
position: absolute;
right: 0;
width: 83%;
}
.header-button-inner {
width: 100%;
font-size: 1.25rem;
white-space: inherit;
border-bottom: 5px solid transparent;
border-top: 5px solid transparent;
text-transform: uppercase;
font-family: Roboto,sans-serif;
overflow: hidden;
padding-bottom: 0.5rem;
padding-top: 0.5rem;
text-overflow: ellipsis;
transition: color .25s linear;
margin-bottom: 1rem!important;
}
.header-button-inner a.hs-button {
font-size: 17px !important;
line-height: 0 !important;
cursor: pointer;
border-radius: 30px !important;
text-decoration: none;
text-transform: uppercase;
display: block;
width: 100%;
padding: 0.875rem 1.625rem;
background-color: #eaf469;
border-color: #eaf469;
color: #282c33;
border: 2px solid transparent;
font-family: Roboto,sans-serif;
font-weight: 700;
text-align: center;
transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
user-select: none;
vertical-align: middle;
}
.header-button-inner a.hs-button i.fa-thin.fa-envelope {
margin-right: 0.5rem;
}
.header-button-inner a.hs-button:hover {
background-color: #e5f145;
border-color: #e3f139;
color: #282c33;
}
.header-menu .hs-menu-wrapper>ul>li>a:hover {
color: #d2dddd !important;
}
.header-menu .hs-menu-wrapper>ul>li>ul {
border: none;
box-shadow: none;
width: 100%;
background-color: transparent;
float: none;
position: static;
border-radius: 0;
color: #1f2831;
font-size: 1.25rem;
list-style: none;
margin: 0.125rem 0 0;
min-width: 10rem;
padding: 0.5rem 0;
padding-top: 0;
}
.header-menu .hs-menu-wrapper>ul>li>ul>li>a {
white-space: inherit;
padding: 0 0.9375rem;
color: #fff;
font-family: Roboto,sans-serif;
font-size: 1.125rem;
font-weight: 500;
overflow: hidden;
text-overflow: ellipsis;
transition: color .25s linear;
background-color: transparent;
border: 0;
clear: both;
padding-top: 0.5rem!important;
padding-bottom: 0.5rem!important;
}
.header-menu .hs-menu-wrapper>ul>li.child-open>a,
.header-menu .hs-menu-wrapper>ul>li.child-open button {
color: #d2dddd;
}
.language-switcher-wrapper ul.dropdown-menu {
min-width: 0;
top: 3.125rem;
width: 100%;
box-shadow: 0 2px 4px rgba(76,80,82,.25);
background-color: #2a3b46!important;
left: auto;
right: 0;
background-clip: padding-box;
border: 1px solid rgba(0,0,0,.15);
border-radius: 0;
color: #fff;
display: none;
float: left;
font-size: 1.25rem;
list-style: none;
margin: 0.125rem 0 0;
padding: 0.5rem 0;
position: absolute;
text-align: left;
z-index: 1000;
height: 100vh;
}
.language-switcher-wrapper {
position: static;
}
.language-switcher-wrapper.child-open ul.dropdown-menu {
border: none;
bottom: 0;
box-shadow: none;
}
.language-switcher-wrapper ul.dropdown-menu>li {
margin-bottom: 0.625rem;
white-space: inherit;
background-color: #2a3b46;
color: #eff3f3;
padding: 0.4375rem 1.875rem!important;
border: 0;
clear: both;
display: block;
font-weight: 400;
text-align: inherit;
width: 100%;
}
.language-switcher-wrapper ul.dropdown-menu>li>a {
color: #eff3f3;
text-transform: none !important;
font-size: 18px !important;
display: block!important;
}
.language-switcher-wrapper ul.dropdown-menu>li:hover {
background-color: #11171c;
}
}
@media(max-height: 700px){
.header-button.mobile-button {
position: relative;
width: 100%;
}
}
@media(max-width: 992px){
.header-left .header-button {
display: none;
}
.language-switcher {
display: none;
}
.mobile-open .header-navigation-sec {
width: 70%;
}
.no-banner .custom-header {
min-height: 108px;
}
.lp-header .header-row {
padding-top: 0;
}
}
@media(max-width: 767px){
.mobile-open .header-navigation-sec {
width: 85%;
}
.header-navigation-sec {
padding: 1.5625rem 1.875rem 3.125rem;
}
.language-switcher-wrapper .language-selector {
padding-left: 0.3125rem!important;
}
}
Sorry, I know it’s a lot of code but I’m somewhat desperate on this topic. Any help would be greatly appreciated. Thank you!