Jump to content

Change portfolio selection page header to custom logo

Go to solution Solved by tuanphan,

Recommended Posts

I'm looking to have a custom logo image on the homepage of my portfolio website (linked to this post). I want to change the bottom square's header on this page to my logo, would be great to get some help with the code.

Thanks in advance!  

Link to comment
  • Replies 8
  • Views 393
  • Created
  • Last Reply

Top Posters In This Topic

Posted (edited)

Yes! I would like that text to be my custom logo if possible.

(EDIT)

I should mention that I just want the text to be the logo instead, not to change to the logo when hovered over.

Edited by stewartcnr
Link to comment
  • Solution
On 5/12/2024 at 5:43 PM, stewartcnr said:

Yes! I would like that text to be my custom logo if possible.

(EDIT)

I should mention that I just want the text to be the logo instead, not to change to the logo when hovered over.

You can use this code to Website > Website Tools > Custom CSS. Replace Google with Stints logo url. Repeat code similar for other items (If you can't repeat code, let me know, I will give you exact guide)

a.grid-item[href="/portfolio/stints"] h3.portfolio-title {
    background-image: url(https://www.google.com/images/branding/googlelogo/2x/googlelogo_color_272x92dp.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left;
    color: transparent;
}

image.thumb.png.f53a2f5aa35344f226de1e152c3da551.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
On 5/17/2024 at 8:22 PM, stewartcnr said:

That's it! Exactly what I was looking for. If I were to make the logo bigger what would I add to the code?

change the line

background-size: contain;

to

background-size: 100px;

 

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.