Jump to content

Header image on mobile

Recommended Posts

Site URL: https://tuba-octopus-s32b.squarespace.com/

Hello friendly helpers!

I'm working on this website and managed to add a background image to the navigation.

Is it possible to add this on the mobile version behind the logo, like a header?
I already have a plan B, the image is now in the navigation, but I would love to add it as a header.
It should look like the attached example.

I'm using a brine template: https://tuba-octopus-s32b.squarespace.com/
The password is: umoweb

It would be nice, if anyone could help me.

example.jpg

Link to comment

Use this code

header.Header, .Mobile-bar.Mobile-bar--top {
    background-image: url('https://static1.squarespace.com/static/60618935c17ee2510420a2b2/t/6065add59bd4fa05043b458e/1617276373903/Gluecklicht_Navigation.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center
}

 

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

Link to comment
On 5/4/2021 at 8:23 PM, benja said:

@tuanphan yes that would be great, do you have a solution

Add to Design > Custom CSS

html, body {
    overflow-x: hidden;
}
@media screen and (max-width:991px) {
.Mobile-bar.Mobile-bar--bottom {
    display: none;
}
}

 

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

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.