Frequently asked questions Zero Block

How to create a fixed on scroll menu in Zero Block

How to create a fixed on scroll menu in Zero Block

For the menu created in Zero Block to behave like a regular menu, that is, superimposed on the next block and fixed on scroll, you need to add this code to T123 block on the page, replacing rec000000000 with the ID of your Zero Block.


<style>
    /* Replace rec00000000 with Zero block ID */
    #rec00000000 {
        width: 100%;
        position: fixed;
        top: 0;
        z-index: 9998;
    }
</style>


Find more information at https://help.tilda.cc/tips/javascript

Was this answer helpful?
Yes
0
No
0
Views: 3497