somethingunder Posted August 3, 2023 Share Posted August 3, 2023 How to create page navigation bar/progress bar? not on home page but specific pages. when you click on each subtitle, it will bring you to that section of the page. Link to comment
somethingunder Posted August 3, 2023 Author Share Posted August 3, 2023 or vertical menu Link to comment
tuanphan Posted August 6, 2023 Share Posted August 6, 2023 You can use anchor links to achieve this. and use some CSS box to move/style anchor links Suppose you have 4 sections: About, Contact, Services, Pricing on same page, you need to create a vertical menu box with these links First, edit About Section, add a Code Block > Paste this code <span id="about"></span> Next, edit Contact Section > Add a Code Block with this code <span id="contact"></span> Next, for Services <span id="services"></span> Do similar Final, add a Code block at bottom or top of page with this code <div class="anchor-box"> <a href="#about">About</a> <a href="#contact">Contact</a> <a href="#services">Serivces</a> <a href="#pricing">Pricing</a> </div> <style> .anchor-box { position: fixed; top: 100px; left: 30px; z-index: 999; } </style> If it doesn't work, keep all code and share link to page, we can check easier 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