claudiabrosel Posted August 13, 2019 Share Posted August 13, 2019 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! Link to comment
claudiabrosel Posted August 28, 2019 Author Share Posted August 28, 2019 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
nmadd Posted March 3, 2020 Share Posted March 3, 2020 I was able to hide the icon with this code. .icon-email:before {display: none; visibility: hidden;} Link to comment
tuanphan Posted March 3, 2020 Share Posted March 3, 2020 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.