Black Friday 2026 50% off every plan Our biggest deal of the year on #1 Joomla products.
Ends in 12d 18h 23m 12s
Claim 50% off
Staff replied Templates

Top Bar sticky not working

Asked by sideri.eirini 1 year ago Last activity 1 year ago

Hello. I would like some help. I want the top bar not to disappear when scrolling the page. It should remain fixed like the menu. Template investa

3 replies

Paul Frankowski Senior Staff
1 year ago · edited

Hi,

This is not easy, and never was default feature. As you noticed Custom CSS changes are needed.

sideri.eirini Asked this

If you can tell me what code is needed?
Thank you

Paul Frankowski Senior Staff
1 year ago · edited

Basic CSS example, how it can be done

#sp-header {position: fixed; animation: none;top: 40px; }
#sp-header.header-sticky {position: fixed; z-index: 9999;top: 40px; animation: none;}
#sp-top-bar 
{position: fixed;top: 0px; height: 40px; display: block; width: 100%; left: 0px; z-index: 9991; }

In Helix documenation you can find info where to use Custom CSS. But probably you know it already.

Log in to reply.