Jump to content

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

Recommended Posts

Posted

Hi!

I would like to change the "email" text as well as the icon displayed on mobile from the navigation header of my site to "Preorder now". However, Adirondack template doesn´t give you the option to modify the name or icon.

I would really appreciate if anyone can help me out with this!

This is my site: https://utamu.shop/

thank you!

  • 2 weeks later...
  • Replies 3
  • Views 1.2k
  • Created
  • Last Reply
Posted

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

  • 6 months later...

Archived

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.