Lumaral Posted April 13, 2021 Share Posted April 13, 2021 Site URL: https://www.lumaral.com Hi! I just added a link to a hidden contact form page in the header's social links section. Currently it displays as a generic link and I'd like it to display an envelope icon instead. Is there a way to change the link icon to the envelope that shows when writing an email? If not, I have these two in case I need to add a custom img url: PNG - SVG Thank you! Link to comment
Solution BrillWebsites Posted April 13, 2021 Solution Share Posted April 13, 2021 Something like this would work in custom CSS. .header-actions a[href="https://www.lumaral.com/contact"] svg{ display: none; } .header-actions a[href="https://www.lumaral.com/contact"]::after{ content:''; background-image: url('https://image.flaticon.com/icons/png/128/2089/2089181.png'); background-size: cover; width: 18px; height: 18px; display: block; } Lumaral 1 Link to comment
Lumaral Posted April 13, 2021 Author Share Posted April 13, 2021 Thank you! It worked wonders Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment