cade Posted February 28, 2023 Share Posted February 28, 2023 Hey there I've puted some additional informatin in the header section by CSS. I want to have that as a link (clickable). Is this possible? Used code is: // Heder Text info .header-nav:before { content: "info@koenigsblau.ch | +41 (0)62 756 04 04 "; display: block; position: relative; top: 00px; } Link to comment
paul2009 Posted February 28, 2023 Share Posted February 28, 2023 10 minutes ago, cade said: I've put some additional information in the header section by CSS. I want to have that as a link (clickable). If you add the contact information with JavaScript (requires a Business plan or higher) you'll be able to make it clickable. It isn't possible when you are using CSS to add the text. Did this help? Please give feedback by clicking an icon below ⬇️ About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥. Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links. Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional. Link to comment
cade Posted March 2, 2023 Author Share Posted March 2, 2023 I have business plan but no plan how to do that with Java Script... Can you help me? Best C Link to comment
tuanphan Posted March 6, 2023 Share Posted March 6, 2023 On 3/3/2023 at 2:58 AM, cade said: I have business plan but no plan how to do that with Java Script... Can you help me? Best C 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
cade Posted March 8, 2023 Author Share Posted March 8, 2023 https://koenigsblau.squarespace.com PW: 1234 Thank you so much! Link to comment
Solution tuanphan Posted March 11, 2023 Solution Share Posted March 11, 2023 On 3/8/2023 at 3:36 PM, cade said: https://koenigsblau.squarespace.com PW: 1234 Thank you so much! Add this to Last Line in Code Injection > Footer <script> jQuery(document).ready(function($){ $('<div class="custom-cta"><a href="mailto:info@koenigsblau.ch">info@koenigsblau.ch</a><span>|</span><a href="tel:+41 (0)62 756 04 04">+41 (0)62 756 04 04</a></div>').insertBefore('.header-nav-wrapper'); }) </script> <style> .header-nav:before { display: none; } </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
cade Posted March 13, 2023 Author Share Posted March 13, 2023 Ahhh great! Thank you so much. Question: Are you interested in working for me? I need help for my websites from time to time - if yes - would you like to give me your contact details so that I can write to you directly? Best Regards C Link to comment
tuanphan Posted March 16, 2023 Share Posted March 16, 2023 On 3/13/2023 at 4:26 PM, cade said: Ahhh great! Thank you so much. Question: Are you interested in working for me? I need help for my websites from time to time - if yes - would you like to give me your contact details so that I can write to you directly? Best Regards C You can contact me by clicking red text "Email me" in the signature 😆 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