Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Logo in Header Acting up on Mobile


MattyT208

Question

The logo on my homepage displays well on desktop but on mobile it drops way down on the page and is really small. Is there a way to anchor the logo's position and size when viewed on a mobile device?

Here's the script I'm using:

header-title-logo a {
position: absolute;
bottom: -105px;
z-index: 9999;
}
/* Fix logo overlap */
.header-title-logo {
    width: 270px;
}
/* header shadow */
header#header {
box-shadow: 3px 4px 5px rgba(0,0,0,0.5);
}

Link to comment
  • Answers 4
  • Created
  • Last Reply

Top Posters For This Question

4 answers to this question

Recommended Posts

  • 0
On 5/25/2022 at 2:51 AM, MattyT208 said:

Don't remove any code in your current code. Add to Design > Custom CSS

@media screen and (max-width:767px) {
.header-title-logo a {
    bottom: 0;
}
.header-title-logo img {
    max-height: 100px;
}}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...