Jump to content

Adding Icon only and keeping Site Title Text

Recommended Posts

Site URL: https://www.researchforwellness.com/

I would like to add just a site logo icon to my existing site title. I have tried creating and loading a logo image (icon along with the site title words and tagline), but when I load that combined logo image, it always looks a bit fuzzy no matter how I save it, so I'd prefer to keep the existing site title text and tagline and then add just the icon itself to the left of the title text. Is there any way to accomplish that via any type of coding?

Edited by CLeving
Link to comment
  • Replies 4
  • Created
  • Last Reply

Top Posters In This Topic

On 2/6/2021 at 9:06 AM, CLeving said:

Originally, my thought was to add the icon to the left of the site title & tag line, but if it's an easier fix to add an icon centered above the site title, that will work!

Add to Design > Custom CSS

h1.logo a:before {
    content: "";
    background-image: url(https://cdn.pixabay.com/photo/2020/06/15/15/34/fog-5302291__340.jpg);
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    width: 100px;
    height: 50px;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 20px;
}

 

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

I really appreciate your help, it looks terrific, that's exactly what I was looking for! As a not for profit informational website, I've slowly built this site on my own and am very grateful for the support of generous Squarespace community members like yourself!

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.