tuanphan Posted August 17, 2020 Share Posted August 17, 2020 On 8/13/2020 at 5:34 AM, mgaisbacher said: Sure, here it is. It looks like the code is invalid. Which code did you add, where did you get the code & which plan do you use? 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
ansleyrobinson Posted August 18, 2021 Share Posted August 18, 2021 Hi there! This is the code I used that worked on my website. Does anyone know what I should add to it in order to have the social links open in a new tab? Thanks <ul class="t-social"> <li> <a href="#"> <i class="fa fa-instagram"></i> </a> </li> </ul> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <style> /* code block padding top bottom */ .code-block { padding-top: 0; padding-bottom: 0; } /* social icons code */ .t-social { display: block; margin: 0 auto; padding-top: 5px; text-align: center; padding-left: 0; } .t-social li { display: inline-block; margin: 0; line-height: 100%!important; } .t-social .fa { font-size: 36px; margin: 0 8px; color: ##000000; } .t-social .fa:hover {color:#B5DEEE;} </style> Link to comment
tuanphan Posted August 22, 2021 Share Posted August 22, 2021 On 8/18/2021 at 11:13 AM, ansleyrobinson said: Hi there! This is the code I used that worked on my website. Does anyone know what I should add to it in order to have the social links open in a new tab? Thanks <ul class="t-social"> <li> <a href="#"> <i class="fa fa-instagram"></i> </a> </li> </ul> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <style> /* code block padding top bottom */ .code-block { padding-top: 0; padding-bottom: 0; } /* social icons code */ .t-social { display: block; margin: 0 auto; padding-top: 5px; text-align: center; padding-left: 0; } .t-social li { display: inline-block; margin: 0; line-height: 100%!important; } .t-social .fa { font-size: 36px; margin: 0 8px; color: ##000000; } .t-social .fa:hover {color:#B5DEEE;} </style> Hi, edit this line Quote <a href="#"> to this Quote <a href="#" target="_blank"> 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