stephan Posted July 29, 2021 Posted July 29, 2021 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>
tuanphan Posted July 30, 2021 Posted July 30, 2021 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!)
stephan Posted July 30, 2021 Author Posted July 30, 2021 Brilliant!. Such a simple fix: call out the <a> attribute. Thank you, @tuanphan.
stephan Posted October 15, 2021 Author Posted October 15, 2021 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.
tuanphan Posted October 17, 2021 Posted October 17, 2021 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!)
Recommended Posts
Archived
This topic is now archived and is closed to further replies.