Jump to content

How to Link Custom Title Logos to Homepage

Recommended Posts

Posted

Site URL: https://wherenext.com

I've added custom title logos to several of our landing pages using the code below. This works well, but the custom logo image no longer links back to our home page. It renders without a link.

How can I add a link to our custom logo images which refers back to our home page? 
 

<style>
.logo-image { 
  max-width: 100%;
  max-height: 145px; 
  content: url("https://static1.squarespace.com/static/59aedca26f4ca3dec3bc4f2a/t/6102fe29600d630b7de80e8d/1627586089573/Colombia_Production_Company.png") !important;
  }
 .mobile-logo-image {
   max-width: 100%;
   max-height: 124px;
   content: url("https://static1.squarespace.com/static/59aedca26f4ca3dec3bc4f2a/t/6102fe29600d630b7de80e8d/1627586089573/Colombia_Production_Company.png") !important;
</style>

 

  • stephan changed the title to How to Link Custom Title Logos to Homepage
  • Replies 4
  • Views 933
  • Created
  • Last Reply
Posted

Use this code

<style>
.logo-image a { 
  max-width: 100%;
  max-height: 145px; 
  content: url("https://static1.squarespace.com/static/59aedca26f4ca3dec3bc4f2a/t/6102fe29600d630b7de80e8d/1627586089573/Colombia_Production_Company.png") !important;
  }
 .mobile-logo-image a {
   max-width: 100%;
   max-height: 124px;
   content: url("https://static1.squarespace.com/static/59aedca26f4ca3dec3bc4f2a/t/6102fe29600d630b7de80e8d/1627586089573/Colombia_Production_Company.png") !important;
</style>

 

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!)

  • 2 months later...
Posted

Hi @tuanphan,
Thank you for responding and pointing out the bugs. I moved the comment text within the script code.
We are rebuilding this site on 7.1, so the remaining minor issues will not be addressed.

I've posted questions on another thread looking for a solution to our blog header issues for the new site.

Posted
On 10/16/2021 at 12:38 AM, stephan said:

Hi @tuanphan,
Thank you for responding and pointing out the bugs. I moved the comment text within the script code.
We are rebuilding this site on 7.1, so the remaining minor issues will not be addressed.

I've posted questions on another thread looking for a solution to our blog header issues for the new site.

Okay. If you need help with any problems, just reply here or create new topic

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!)

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.