Jump to content

Do not have header appear on scroll for desktop view only 7.1

Recommended Posts

Site URL: https://madhattersnyc.com/

Hi,

My header reappears when scrolling up on a page, which is not a problem on mobile because the header is an appropriate size. But on desktop, the header takes up almost the entire page and only leaves a few rows of text or part of an image visible. I know it's supposed to disappear when you stop, but it sometimes sticks. I'm wondering if it might be a better user experience to make the header NOT appear when scrolling? Is this possible on just the desktop view? Attaching images for reference.

TIA!

Mobile View.png

Desktop View.jpg

Link to comment

Try this in custom css pls

@media only screen and (max-width: 768px) {
        header.shrink {
          transform: translateY(-100%) !important;
        }
}

 

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, Lightbox Studio plugin
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
4 minutes ago, mhnyc said:

Hi @bangank36

That didn't appear to work. Screenshot attached -

Desktop View 2.jpg

My bad, it should be min-width instead of max-width, could you make the chabge yourself?

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, Lightbox Studio plugin
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
28 minutes ago, mhnyc said:

That worked! TYSM @bangank36!

you rock!

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, Lightbox Studio plugin
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

@mhnyc I see the footer on tablet doesn't look good (email break)

You can add this to Design > Custom CSS to increase contact us column width
 

/* Footer tablet */
@media screen and (max-width:991px) and (min-width:768px) {
div#page-section-5f2f45a13102f37ed8d4cd34 .span-12 .span-7 .span-5 {
    width: 80%;
}
div#page-section-5f2f45a13102f37ed8d4cd34 .span-12 .span-7 .span-2 {
    width: 20%;
}
footer.sections .content {
    width: 95% !Important;
}
}

image.thumb.png.8e29552d26732c39faa5318d65983404.png

2. Mobile blog has very long content. You should consider adding a back to top button.

3. Post pagination title on mobile looks huge, overlap.

You can remove them, add Prev/Next by this CSS

/* Pagination title */
@media screen and (max-width:767px) {
h2.item-pagination-title {
    display: none;
}
.item-pagination-prev-next {
    display: block !important;
}
}

image.thumb.png.7e291364fc9283688f55ed6ea84fe07d.png

 

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.