coloradomaio.blogg.se

Divi anchor links
Divi anchor links









Go to themes/twentytwenty/assets/js/index.jsĢ. This is my temporary-and-not-perfect solution (so don’t judge me!) while waiting for the official patch.ġ. Though no signs from the developer yet on this issue Screen will smooth scroll to selected section Mobile menu closed, Mobile menu toggler reversed to default state Portfolio (may highlight parent/ancestor page).In mobile, click the mobile menu toggler,Ĭlick on particular link (let say #portfolio) This feature would complete all possibility especially if we wanted to showcase how Gutenberg block and section can achieve with this new default theme. Log into your WordPress site and navigate to the page or post where you want to add the anchor link.

divi anchor links

Similar to scroll spy method, for best UX you may need to add smooth scrollto the particular section#id. Here’s how to add anchor links in WordPress: 1. Also it seems a little bit too much to fix an issue, seems more like a refactoring of the nav script.įor single page navigation case, you may need to create additional scripts to highlight the active #project id section you just reached if you wanted to complete the single page navigation manner. I got a suggestion from another user, here below, but I did not have time to explore it.











Divi anchor links