12A. Hide/show section when entering the page

1. Add the code to the page

Copy code:

setTimeout(() => {
    let section = document.getElementById('w-ot58xoup')
    if (section) {
        section.style.display = 'block'
    }
}, 2000)

In which:

  • w-ot58xoup : section ID

  • 2000 : delay time (ms)

Add the code to the Custom code JavaScript

2. Section ID and hide section

Last updated