Home › Forums › Support › Request: Sticky Animated Resizing Header On Scroll This topic has 26 replies, 6 voices, and was last updated 7 years, 5 months ago by Tom. Viewing 12 posts - 16 through 27 (of 27 total) ← 1 2 Author Posts April 4, 2017 at 5:10 pm #301800 Brett Cheers Tom… However I am well versed in adding CSS π heh.. I’m trying to get my head around implementing: http://callmenick.com/post/animated-resizing-header-on-scroll It’s something I have been wanting to do in GeneratePress since I first tried it. I’m after the shrinking logo animation with shrinking menu bar sticky effect as was done on thinkbigatsquareone.com Can you help with that at all? π Cheers, Brett April 4, 2017 at 11:11 pm #301875 Jasper I would love to see this ‘Sticky Animated Resizing Header On Scroll’ as an option in the customizer. I think it would make it a lot easier to implement for a lot of people (including me). April 5, 2017 at 10:12 am #302149 TomLead Developer Lead Developer This is definitely going to be an option very soon π For now, this is the first step: https://generatepress.com/forums/topic/request-sticky-animated-resizing-header-on-scroll/#post-242543 Once you get that start done, let me know and link me to your site and we can complete the resizing animation π April 5, 2017 at 10:14 am #302152 Jasper thanks, but i’ll wait…. April 5, 2017 at 11:35 am #302208 Brett Heya Tom… Thanks! Look forward to seeing this introduced in the future… For now tho… I’ve got the basics ready Can you help from there? Cheers, Brett April 5, 2017 at 12:43 pm #302244 TomLead Developer Lead Developer Can you set the transition to “None”? April 5, 2017 at 12:46 pm #302247 Brett Done π April 5, 2017 at 12:49 pm #302248 TomLead Developer Lead Developer Throw this CSS in there: .main-navigation .main-nav ul li a, .menu-toggle, .main-navigation .mobile-bar-items a, .navigation-logo img { transition: line-height 200ms ease-in-out, height 200ms ease-in-out; } .main-navigation.navigation-stick .main-nav > ul > li > a, .navigation-stick .menu-toggle, .main-navigation.navigation-stick .mobile-bar-items a { line-height: 60px; } .navigation-stick .navigation-logo img { height: 40px; } April 5, 2017 at 12:53 pm #302250 Brett Cheers Tom! That’s the kiddie..!! Although it creates one tiny issue.. Check the menu – and then when you scroll check it again. It adds extra line spacing… EDIT: I mean the sub menus! π Brett April 5, 2017 at 2:02 pm #302271 TomLead Developer Lead Developer Edited the CSS above: https://generatepress.com/forums/topic/request-sticky-animated-resizing-header-on-scroll/page/2/#post-302248 April 5, 2017 at 2:09 pm #302274 Brett AWESOMENESS!! Thanks Tom… The old > eh! Many thanks.. It’s really appreciated.. π Brett April 5, 2017 at 2:12 pm #302276 TomLead Developer Lead Developer Glad I could help! π Author Posts Viewing 12 posts - 16 through 27 (of 27 total) ← 1 2 You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In