Mobile Landing Page Responsiveness

Having issues with the header on our mobile version of a landing page.

1. We have our logo in the upper left and a phone number in the upper right and when I view it on my mobile device they overlap.

2. The background image and text seem to be pushed to the right a bit and the background image not extending all the way.

https://info.odwlogistics.com/frozen-warehousing-and-distribution?hs_preview=TCJzluHI-47012778826

Hi @TRobinson4.

1. You could use flexbox to solve this

.lpHeaderGroup > .row-fluid-wrapper > .row-fluid {
 display: flex;
 justify-content: space-between;
 flex-direction: row;
}
.lpHeaderGroup > .row-fluid-wrapper > .row-fluid > .span6:first-child {
 flex-basis: 40%;
}
.lpHeaderGroup > .row-fluid-wrapper > .row-fluid > .lpHeadContact {
 flex-basis: 50%;
 margin-top: 0;
 text-align: right;
 margin-left: 20px;
}

2. Is being caused by this padding making the content too wide for the browser. Remove this style and it will work

@media (max-width: 768px) {
 .bannerOverlay {
 padding-right: 20px;
 padding-left: 20px;
 }
}
@media (max-width: 380px) {
 .bannerOverlay {
 padding-right: 10px;
 padding-left: 10px;
 }
}

Thank you for your quick help on this. Where do I need to place this code? Is it in the “Head” section or somewhere else? We do not have a developer on our team so not sure on some of this, but would like to add it to fix.

Sure, copy paste this in to your global Head HTML, below the GTM script:

<style>
.lpHeaderGroup > .row-fluid-wrapper > .row-fluid {
 display: flex;
 justify-content: space-between;
 flex-direction: row;
}
.lpHeaderGroup > .row-fluid-wrapper > .row-fluid > .span6:first-child {
 flex-basis: 40%;
}
.lpHeaderGroup > .row-fluid-wrapper > .row-fluid > .lpHeadContact {
 flex-basis: 50%;
 margin-top: 0;
 text-align: right;
 margin-left: 20px;
}
@media (max-width: 768px) {
 .bannerOverlay {
 padding-right: 0;
 padding-left: 0;
 }
}
@media (max-width: 380px) {
 .bannerOverlay {
 padding-right: 0;
 padding-left: 0;
 }
}
</style>