Jump to content

How to create page navigation bar/progress bar? not on home page

Recommended Posts

  • Replies 2
  • Views 825
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

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

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.