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

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, 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

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, 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.