Jump to content

Add Phone Number & Email Links to Header Bar or Banner Above Header Bar

Recommended Posts

  • 2 months later...

Hello, 

I am trying to align this to the top right of the site and I am having issues with it. Any help would be greatly appreciated. 

http://www.sgtguides.com

 

<ul class="sc-topnav">
  <li><a href="/en/home" class="lang-en">English</a> | <a href="/fr/home/" class="lang-es">Français</a></li>
  <li><a href="tel:407-676-7171">CALL US (407)676-7171</a></li>
</ul>
<style>
  .sc-topnav {
    list-style-type: none;
    display: block;
    flex-flow: column wrap;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0vw;
    justify-content: right;
    align-content: flex-end;
    background: #ffffff;
}
  .sc-topnav a {
    letter-spacing: .03em;
    font-family: Rubik;
    font-size: 0.8em;
    font-weight: 400;
    color: #000000;
    line-height: .5vw;
}
</style>

 

Link to comment
On 1/11/2023 at 1:09 AM, Styledent said:

Hello, 

I am trying to align this to the top right of the site and I am having issues with it. Any help would be greatly appreciated. 

http://www.sgtguides.com

 

<ul class="sc-topnav">
  <li><a href="/en/home" class="lang-en">English</a> | <a href="/fr/home/" class="lang-es">Français</a></li>
  <li><a href="tel:407-676-7171">CALL US (407)676-7171</a></li>
</ul>
<style>
  .sc-topnav {
    list-style-type: none;
    display: block;
    flex-flow: column wrap;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0vw;
    justify-content: right;
    align-content: flex-end;
    background: #ffffff;
}
  .sc-topnav a {
    letter-spacing: .03em;
    font-family: Rubik;
    font-size: 0.8em;
    font-weight: 400;
    color: #000000;
    line-height: .5vw;
}
</style>

 

Hi,

I see you figured it out?

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
On 1/14/2023 at 9:43 AM, tuanphan said:

Hi,

I see you figured it out?

Hello, 

No, I still haven't figured this out. Could you please assist? I have it removed temporarily, but I am trying to align it to the top right of the website, but I want the phone number and language switcher to be stacked: one above the other. 

Link to comment
On 1/17/2023 at 12:42 AM, Styledent said:

Hello, 

No, I still haven't figured this out. Could you please assist? I have it removed temporarily, but I am trying to align it to the top right of the website, but I want the phone number and language switcher to be stacked: one above the other. 

Hi,

Can you add code to the site? We will check it again

If the site is live, you can also duplicate the site & add there, we can check there then you transfer code to main site then

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
On 1/18/2023 at 8:35 PM, tuanphan said:

Hi,

Can you add code to the site? We will check it again

If the site is live, you can also duplicate the site & add there, we can check there then you transfer code to main site then

Hello, 

I duplicated our website so you can see the issue that I am having with this code. I would like to align it to the top right side of the header. I added the screenshot below of how it looks. 

 

<ul class="sc-topnav">
  <li><a href="/en/home" class="lang-en">English</a> | <a href="/fr/home/" class="lang-es">Français</a></li>
  <li><a href="tel:407-676-7171">CALL US (407)676-7171</a></li>
</ul>
<style>
  .sc-topnav {
    list-style-type: none;
    display: block;
    flex-flow: column wrap;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0vw;
    justify-content: right;
    align-content: flex-end;
    background: #ffffff;
}
  .sc-topnav a {
    letter-spacing: .03em;
    font-family: Rubik;
    font-size: 0.8em;
    font-weight: 400;
    color: #000000;
    line-height: .5vw;
}
</style>


image.thumb.png.77ff931829ba472f3fca914f65721a8b.png

Edited by Styledent
Added Screenshot
Link to comment
On 1/20/2023 at 11:24 PM, Styledent said:

Hello, 

I duplicated our website so you can see the issue that I am having with this code. I would like to align it to the top right side of the header. I added the screenshot below of how it looks. 

 

<ul class="sc-topnav">
  <li><a href="/en/home" class="lang-en">English</a> | <a href="/fr/home/" class="lang-es">Français</a></li>
  <li><a href="tel:407-676-7171">CALL US (407)676-7171</a></li>
</ul>
<style>
  .sc-topnav {
    list-style-type: none;
    display: block;
    flex-flow: column wrap;
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0vw;
    justify-content: right;
    align-content: flex-end;
    background: #ffffff;
}
  .sc-topnav a {
    letter-spacing: .03em;
    font-family: Rubik;
    font-size: 0.8em;
    font-weight: 400;
    color: #000000;
    line-height: .5vw;
}
</style>


image.thumb.png.77ff931829ba472f3fca914f65721a8b.png

What is duplicated site url?

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
  • 2 weeks later...
On 2/17/2023 at 2:32 AM, Styledent said:

Hello Tuanphan, 

Can you please still assist?

https://horse-coconut-l7d7.squarespace.com/

Password: Test123456$

Add to Design > Custom CSS

ul.sc-topnav {
    text-align: right;
    padding-right: 2vw;
}

 

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.