Jump to content

Mobile- home header to top center

Recommended Posts

3 hours ago, breannadawnphoto said:

Site URL: https://www.breannadawnphoto.com/blog-1

Hey y'all, I am trying to get my header on my home page to be in the top center for mobile only. Is there a code I could use to do this? I am seeming to have no luck. Here is a photo attached of it now.

 

Thank you!

Screen Shot 2022-02-13 at 5.15.28 PM.png

Try adding to Home > Design > Custom Css

@media only screen and (max-width: 767px) {
  #collection-60907088cb723d60cbda3366 #home-header .Index-page-content {
    top: -111px;
    position: relative;
  }
}

Let me know how it works on your site

Support me by pressing 👍 if this useful for you

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

My testing

image.png.ba00521ff897cac2abd5089ee8c80dac.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. 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.