Jump to content

Header : Additional Informatin

Go to solution Solved by tuanphan,

Recommended Posts

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;
}
 

Bildschirm­foto 2023-02-28 um 17.12.50.png

Link to comment
  • Replies 7
  • Views 269
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

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  ⬇️

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Link to comment
  • Solution
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

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
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.