Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0
claudiabrosel

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

Question

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

Share this post


Link to post

3 answers to this question

Recommended Posts

  • 0

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

Share this post


Link to post
  • 0

I was able to hide the icon with this code.

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

Share this post


Link to post
  • 0
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


You can send your question to my email to get faster answer. I provide free priority support in this crazy time. 

How to Setup Password & Share URL - Free Templates - Free Code - CSS ID List

Share this post


Link to post

Create an account or sign in to comment

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


×
×
  • Create New...