I tried to use the code on few community posts but doesn’t seem to work. Can anyone help me on this please?
Hey @Long_Nguyen ![]()
You can do this with a simple CSS and JavaScript combo!
Step 1: Add this CSS in your Custom Code > CSS:
.delayed-section {
display: none;
}
Step 2: Add this JavaScript in your Custom Code > Body HTML:
<script>
setTimeout(function () {
document.querySelectorAll('.delayed-section').forEach(function (el) {
el.style.display = 'block';
});
}, 3000);
</script>
Step 3: Add the class delayed-section to any section you want to reveal after the delay.
That’s it! Your section will appear 3 seconds after page load.
Let me know if you’d like to add a fade-in effect too — happy to help ![]()
2 Likes
thanks man. work like a charm ![]()
2 Likes
@Long_Nguyen Awesome! Glad it worked for you ![]()
Happy funnel building! ![]()