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

About: SQSP User for 17 yrs. Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF Digital, building Squarespace Extensions to supercharge your commerce website. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.
If my advice helped, you can thank me by clicking one of the feedback emojis below. I love coffee too.

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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

How to: Setup Password & Share url Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care

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.