Jump to content

How to add custom text next to your logo in the header

Go to solution Solved by tuanphan,

Recommended Posts

  • Replies 6
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

https://www.tessaveen.com/not-your-therapist

Edit Not Your Therapist Page > Add a Code Block (anywhere on page) > paste this code

<style>
  .header-title-logo a:after {
    content: "Not Your Therapist";
    color: white;
    font-size: 20px;
    margin-left: 20px;
}
.header-title-logo a {
    display: flex;
    align-items: center;
}
</style>

Do similar for other projects

image.thumb.png.2321b2c772240c0b4d22bb7ff15486ab.png

Also, it looks like your custom font doesn't work, it looks weird to me

image.png.caa9dfe6aff2f543a5a4dda0bce87144.png

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

@tuanphan Great, thank you! It worked! 

And regarding your note; you are correct that my custom font isn't working. I've been trying to fix it for days and nothing works... Maybe you can help me? 

I've added the following font files: .ttf, .woff, .woff2 & .eot. This is the code that I used: 

// Custom font settings //
@font-face {
  font-family: 'UncutSans-Variable';
  src: url('https://static1.squarespace.com/static/5ff844cda6a63d22c04c8272/t/64f5ceb8da920c04bca0e2d7/1693830841045/UncutSans-Variable.eot'); /* IE9 Compat Modes */

  src: url('https://static1.squarespace.com/static/5ff844cda6a63d22c04c8272/t/64f5ceb85327c060a1b921cb/1693830841035/UncutSans-Variable.woff2') format('woff2'), /* Super Modern Browsers */


 url('https://static1.squarespace.com/static/5ff844cda6a63d22c04c8272/t/64f5ceb8fc9b9d2a473dcbb0/1693830841034/UncutSans-Variable.woff') format('woff'), /* Pretty Modern Browsers */

    url('https://static1.squarespace.com/static/5ff844cda6a63d22c04c8272/t/64f5cf7c5a4db53e478e03d3/1693831037185/UncutSans-Variable.ttf')  format('truetype'), /* Safari, Android, iOS */
}

// Heading styles //
site-wrapper {
  font-family: 'UncutSans-Variable'!important;
}
sqs-button-element--primary {
  font-family: 'UncutSans-Variable'!important;
}
header-title-text {
  font-family: 'UncutSans-Variable'!important;
}
h1, h2, h3, h4 {
font-family: 'UncutSans-Variable'!important;
}
p {
font-family: 'UncutSans-Variable'!important;
}
p.sqsrte-large {
font-family: 'UncutSans-Variable'!important;
}
p.sqsrte-small {
font-family: 'UncutSans-Variable'!important;
}
 

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.