Jump to content

Adding basic text to Header

Recommended Posts

  • Replies 5
  • Views 2.9k
  • Created
  • Last Reply
On 5/29/2020 at 4:41 PM, tuanphan said:

It seems you solved with phone text?

Hey, sorry for the late reply.
I sadly didn't figure it out, I just used my secondary navigation that's currently unused to display the text where I want it. If I ever end up having to use the secondary navigation this would fall appart, that's why I'm trying to get a text field in there to display just the phone number.

Link to comment
On 6/5/2020 at 4:23 PM, AndreasT said:

Hey, sorry for the late reply.
I sadly didn't figure it out, I just used my secondary navigation that's currently unused to display the text where I want it. If I ever end up having to use the secondary navigation this would fall appart, that's why I'm trying to get a text field in there to display just the phone number.

You can use CSS to insert text under header, however text won't be clickable.

if you want this, I will give the code.

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 6/8/2020 at 3:15 PM, tuanphan said:

You can use CSS to insert text under header, however text won't be clickable.

if you want this, I will give the code.

Is it only possible to add it beneath the header? I'd like to put the text exactly where the phone number is right now, but like you said, not have it clickable.
I'd be grateful for any code you can provide, since I can't seem to figure out how to place the text correctly.

Thanks in advance!

Link to comment
3 minutes ago, AndreasT said:

Is it only possible to add it beneath the header? I'd like to put the text exactly where the phone number is right now, but like you said, not have it clickable.
I'd be grateful for any code you can provide, since I can't seem to figure out how to place the text correctly.

Thanks in advance!

Add to Home > Design > Custom CSS

header.Header.Header--top:after {
    content: "+43.699.16468091";
    display: block;
    text-align: right;
    padding-right: 1.5vw;
    color: grey;
}

 

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.