Hey There,
A shrinking navbar is only a feature offered in Pro. It’s not possible in X so it looks like you did it through custom development. If you got the codes from this forum, I am sorry but we could not continue on troubleshooting them. Custom codes are not maintainable and it would require a fair amount custom development time to troubleshoot issues that arise from them. Custom codes only also serve as a guide. They we’re meant to show you a possibility. The actual usage and maintenance of it would be the user’s responsibility.
I’d recommend that you first switch to Pro and we’ll give you further advice to achieve a shrinking bar. In fact, the issues you’re facing now would be non-existent in Pro. No need for custom codes.
If you wish to continue with X and achieve a shrinking bar, you would need to hire a web developer. This would require custom development time which is not a part of our support service. Please see our Terms.
Thank you for understanding.