Jump to content

Trying to add a phone number button into Nav bar only on specific page

Recommended Posts

I'm working on creating a custom landing page without a nav bar menu and CTA button, so I've injected this code into the page's custom code. This removed the CTA button as well as all the nav menu headers. All that's left is the outline of the nav bar along with our logo on the left hand side.

 

<Style>
.header-nav-wrapper {
display:none;
}
</style>
<style>
  .primary-button-shape-rounded .btn {
    display: none !important;
}
</style>

 

What I'd like to add now is a button with a phone number inside it on the opposite, right hand side, and I haven't had any success thus far. Any help would be appreciated. Thank you!

Edited by Yaniv
Link to comment
5 hours ago, Yaniv said:

I'm working on creating a custom landing page without a nav bar menu and CTA button, so I've injected this code into the page's custom code. This removed the CTA button as well as all the nav menu headers. All that's left is the outline of the nav bar along with our logo on the left hand side.

 

<Style>
.header-nav-wrapper {
display:none;
}
</style>
<style>
  .primary-button-shape-rounded .btn {
    display: none !important;
}
</style>

 

What I'd like to add now is a button with a phone number inside it on the opposite, right hand side, and I haven't had any success thus far. Any help would be appreciated. Thank you!

Can you share your site with the protected password so I can take a look?

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. Thank you

Link to comment

You can add a Link Item to Navigation with

  • Link Name: Phone Number, eg: 0123.456.789
  • Link URL: tel:phonenumber, eg: tel:0123456789

Then we will give the code to turn link to button + move it to right of header

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

Link to comment

I think @tuanphan's suggestion is using the link navigation

image.thumb.png.d9e6be1106d9222d21dc01083b935946.png

Then add its content

image.thumb.png.041c5601908f6f0e9ceb1a7de2c2649d.png

Greeting, it's BeyondSpace, I am Squarespace dev focus on provide solutions to enhance feature that squarespace.com can't provide.
Feel free to check my current Squarespace Plugins Developement: Enable Pinch/Zoom on lightbox, Delivery Date Picker, Keyword Highlighter
If you find my answer fit your need, let's leave a like or upvote so others with the same issue can find their solution. 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.