Jump to content
Search Community

Shrink Logo From Hero to Nav

JE551 test
Moderator Tag

Go to solution Solved by Cassie,

Recommended Posts

Hi, 

Complete newbie here, please forgive me if I'm not explaining this correctly ]= 

I'm hoping to shrink the logo in the hero section to fit the logo size in the header (almost appearing as if the logo in the hero is shrinking as you scroll and getting fixed to the top left section of the header).

At the top of the page the header should be transparent but as a user passes the hero section I'm hoping to change it to have a background of white and swap to a coloured logo.

I'm having a tough time trying to figure out how to make the logo stick to the header since the logo in the hero section is relative to it's parent container and figuring out how and when to switch the header to show a white background with the coloured logo rather than the original logo from the hero section. 

Any help would be appreciated 🙏 

 

See the Pen BaYJPvz by JE551 (@JE551) on CodePen

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...