kmoore33 Posted May 29, 2023 Share Posted May 29, 2023 How do I add a Fontawesome version 6.4.0 phone icon and an email icon in front of a phone and email link in footer? Kit has been added to header code injection. Would also like to have the links change to a custom color on hover. Is there a way to have both the link and icon change color as a unit on hover? Link to comment
tuanphan Posted June 1, 2023 Share Posted June 1, 2023 Hi, What is your site url? We can help easier Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
kmoore33 Posted June 3, 2023 Author Share Posted June 3, 2023 Hi there! It's https://www.dogstartattoo.com/ Link to comment
tuanphan Posted June 8, 2023 Share Posted June 8, 2023 First, add this line to Code Injection > Header <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css" integrity="sha512-KfkfwYDsLkIlwQp6LFnl8zNdLGxu9YAA1QvwINks4PhcElQSvqcyVLLD9aMhXd13uQjoXtEKNosOWaZqXgel0g==" crossorigin="anonymous" referrerpolicy="no-referrer" /> Next, add this code under <style> div#block-909a08383b33e7bf8e0a a[href*="tel"]:before { content: "\f095"; font-family: "Font Awesome 6 Free"; margin-right: 10px; } div#block-909a08383b33e7bf8e0a a[href*="mailto"]:before { content: "\f0e0"; font-family: "Font Awesome 6 Free"; margin-right: 10px; } </style> Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) 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