Jump to content

Adirondack: how to change/add content in navigation header?

Recommended Posts

  • 2 weeks later...
  • Replies 3
  • Created
  • Last Reply

I have solved how to do it by adding a before element to the "Email" button, creating a "Preorder box" in green.

/*Preorder button on menu: created a pseudoelement on the custom icon of email*/

#email::before {
 content: 'PREORDER NOW';
 position: absolute;
 top: 37%;
 right: 1%;
 background-color: #109e7a;
 padding: 15px;
 color: white;
 font-weight: 400;
 font-size: 14px;
 letter-spacing: 1px;
 cursor: pointer;
 transition: all 0.5s;

#email:hover:before {
 background-color: #2bb995;

It is not the best solution but it works well on mobile. However, in desktop, when opening the menu the box moves and you can see both the before element and the "email" text on top.

So if anyone knows how to directly change this box to be displayed instead of the email text I would really appreciate the help!

Thank you

Link to comment
  • 6 months later...
2 hours ago, nmadd said:

I was able to hide the icon with this code.

.icon-email:before {display: none; visibility: hidden;}

use an attribute is enough

display: none;


visibility: hidden;

no need to use both

you can also use opacity: 0

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


This topic is now archived and is closed to further replies.

  • 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.