ontodont Posted March 2, 2021 Share Posted March 2, 2021 Site URL: https://www.nickdavid.co.uk/ Hi, I am having an issue with a custom code. This code is supposed to give me the option to add social icons to the top main navigation bar. The code works well, but with one issue when making the icons open in a new tab. When navigating back to the original Site, the clicked icon is marked with a dotted squared. It disappears again when clicking on other parts of the site. But would like to know if there are any way to remove. I have attached images for example! Here is the code that is injected in the header: <meta name="google-site-verification" content="MZTF-OSAD1RlW6uiJLGfumxXTi6w2gYs9P-qMLsaoAY" /> <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous"> Here is the code used to make the social icons and make them open in a new tab. This is added directly as the main navigation link. <i class="fab fa-linkedin fa-lg"></i> Thank you for your help! Link to comment
tuanphan Posted March 6, 2021 Share Posted March 6, 2021 Add to Design > Custom CSS nav.main-nav.dropdown-hover * { outline-color: transparent !important; } 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
ontodont Posted March 9, 2021 Author Share Posted March 9, 2021 Thank you tuanphan. That worked great! Really good idea. Best, Link to comment
tuanphan Posted March 20, 2021 Share Posted March 20, 2021 On 3/9/2021 at 9:03 PM, ontodont said: Thank you tuanphan. That worked great! Really good idea. Best, I see some pages have very long content on mobile. You should consider adding a back to top button Also, do you want to place 3 icons on same line on mobile menu? 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
Archived
This topic is now archived and is closed to further replies.