Jump to content

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

Recommended Posts

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!

Edited by claudiabrosel
Initial Revision
Link to comment
  • 2 weeks later...
  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

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;

or

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

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.