haleymitt Posted March 12, 2023 Share Posted March 12, 2023 Hello, I'd like to make my global nav items scroll the page when clicked (anchor links). The site will be one page, with global nav items "work", "about" and "contact". Each nav item will scroll the page to the appropriate section of the page rather than opening other pages on the site. Link to comment
tuanphan Posted March 15, 2023 Share Posted March 15, 2023 First, edit Work section > Add a Code Block > paste this code <span id="work"></span> Do similar with About, Contact <span id="about"></span> <span id="contact"></span> Next, access Pages > Main Navigation > Add 3 Link Items Link 1 Name: work URL: #work Link 2 Name: about URL: #about Link 3 Name: contact URL: #contact Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment