Jump to content

Change Logo on Scroll - Make Logo Sticky But Not Entire Navigation

Recommended Posts

Site URL: https://www.arfinancialplanners.com.au/

Hi,

I would like a semi-sticky navigation - that is, just having the logo sticky on scroll [on a transparent background] without any other navigation menu.

I've tried a few things and cannot work it out. Here is an example of what I would like to achieve for the logo on scroll: https://viridianselect.com.au/

Is anyone able to help with code or reference to a freelancer for help?

Thanks so much!

Simone

Link to comment
  • Replies 2
  • Views 1.1k
  • Created
  • Last Reply
1 hour ago, SimoneOCo said:

Site URL: https://www.arfinancialplanners.com.au/

Hi,

I would like a semi-sticky navigation - that is, just having the logo sticky on scroll [on a transparent background] without any other navigation menu.

I've tried a few things and cannot work it out. Here is an example of what I would like to achieve for the logo on scroll: https://viridianselect.com.au/

Is anyone able to help with code or reference to a freelancer for help?

Thanks so much!

Simone

May this helps

@media only screen and (min-width: 768px) {
    .shrink.header .header-announcement-bar-wrapper {
      position: fixed;
    }
    .shrink.header .header-nav {
      top: -100px;
      position: relative;
    }
    .header-nav {
      transform: top 0.75s;
    }
    .header-title-logo {
      position: relative;
    }
    .shrink.header .header-title-logo:after {
      opacity: 0.3;transition: opacity 0.75s;

    }
    .header-title-logo a {
      z-index: 99;
      position: relative;
    }
    .header-title-logo:after {
      z-index: 0;
      position: absolute;
      content: '';
      width: ~"calc(100% + 8vw)";
      height: ~"calc(100% + 4vw)";
      left: -4vw;
      top: -2vw;
      background: #000;
      opacity: 0;

}

}

image.thumb.png.babac22b9440d0e1f1d24ea9baf9191a.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
On 4/9/2021 at 7:53 AM, SimoneOCo said:

Site URL: https://www.arfinancialplanners.com.au/

Hi,

I would like a semi-sticky navigation - that is, just having the logo sticky on scroll [on a transparent background] without any other navigation menu.

I've tried a few things and cannot work it out. Here is an example of what I would like to achieve for the logo on scroll: https://viridianselect.com.au/

Is anyone able to help with code or reference to a freelancer for help?

Thanks so much!

Simone

Just want to say your site has some small issues.

If you need to fix, just reply here.

Site URL – https://www.arfinancialplanners.com.au/

1. (Tablet-Footer) Want to increase contact column width?

arfinancialplanners.com_.au-tablet-foote

2. (Mobile-Footer) Want to important links to 3 lines?

arfinancialplanners.com_.au-mobile-foote

3. (Tablet-Overlay Menu) Menu has 2 items only. Want to force desktop menu on tablet?

arfinancialplanners.com_.au-tablet-overl

4. (Mobile) The page looks long. You should consider adding a back to top button

arfinancialplanners.com_.au-mobile-min.p

5. (Our Story) Browser tab name still shows “General 2”

arfinancialplanners.com_.au-ourstory-min

6. (Our Services) Similar our story

arfinancialplanners.com_.au-our-services

7. (Mobile-Our Services) Want to change to 2 boxes/row?

arfinancialplanners.com_.au-mobile-our-s

8. (Our Advice Process) You haven’t changed SEO Title so the browser tab name still shows “About 1”

arfinancialplanners.com_.au-our-advice-p

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

Archived

This topic is now archived and is closed to further replies.

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