Jump to content

Dynamic Header Style on Desktop but Solid Header Style on Mobile

Recommended Posts

Site URL: http://www.amongthepines.gallery

Hey!

I've got my header style set to dynamic as I need my logo to overlay hero images on the desktop site. The trouble is due to the nature of our logo and slideshow images, the logo visibility varies greatly on mobile and so we'd like to implement a solid background colour on the mobile view of our site only.

Is there a way we can keep the header style dynamic on desktop, but solid white on mobile?

Many thanks in advance for your help!

Connor

 

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Add to Design > Custom CSS

@media screen and (max-width:767px) {
header#header, .header-announcement-bar-wrapper, .header-border {
    background-color: white !important;
}
}

 

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...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.