Jump to content

How do I make a Site Title and Logo?

Recommended Posts

I've searched and tried a half-dozen different custom codes to have both a Site Title and Logo at the top-left of my site header, and no luck.  I'm hoping someone out there can help me with this, please!

I've uploaded a site Logo; and then through Code Injection, in the "Header" section, I'm using this code:

// header title
.header-title-logo a:after {
    content: "Pride Hamilton";
    display: inline-block;
    font-size: 24px;
    font-family: Lato;
    color: white;
    text-align: center;
    vertical-align:middle;
    font-weight:900;
    padding-left: 20px;
}
.header-title-logo img {
    vertical-align: middle;

It's not actually doing anything though - as you can see in the screen grab below, it's just putting the code text in the header, and I can't seem to figure out what I'm doing wrong.

Screenshot 2024-05-13 at 9.35.33 AM.png

Link to comment
  • Replies 1
  • Views 1k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

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.