When using a Modal for off-canvas menu in Oxygen for one-page websites, typically we have a nav menu inside the Modal that has links to sections on the same page. After the user is taken to the target element, the modal continues to remain open.

This members-only tutorial provides the steps to close the modal when the nav menu links are clicked.

In your Oxygen Template add a Code Block at the end of all other elements.

PHP & HTML:

<?php
	// echo "hello world!";
?>

JavaScript:

This is a premium members-only content.

To view the rest of the content, please sign up for membership ($47/month or $399 one-time).

Already a member? Log in below or here.

Need help implementing a tutorial in your site or want to hire me for custom work?

HIRE ME

Find the article helpful and wish to donate?

DONATE

Comments

You need to be logged in to view and post comments.
Not a member yet? Join here.
magnifiercross
>
linkedin facebook pinterest youtube rss twitter instagram facebook-blank rss-blank linkedin-blank pinterest youtube twitter instagram
%d bloggers like this: