Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Making Homepage Logo Have A Link


cupoftea

Question

Site URL: http://www.robin-lyons.com

Hi squarespace forumers.

Here is my website www.robin-lyons.com

On specifically the homepage I'd like to be able to get rid of the 'enter' button and just make it so if you click on my logo you'll be taken through to the 'work' section of my site. I'm guessing this need some custom code as I don't seem to be able to find the option to attach a link to the logo PNG I have on the home section of my site. I'm using the 'Flat Iron' template if that's useful.

Cheers in advance for any help!

Robin.

Link to post
  • Answers 5
  • Created
  • Last Reply

Top Posters For This Question

5 answers to this question

Recommended Posts

  • 0

Hi. Add to Page Header

<style>
  ul {
    display: none !important;
}
  div.sqs-slice-group.align-center-vert:hover {
    cursor: pointer;
}
</style>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.0/jquery.min.js"></script>
<script>
$(document).ready(function() { 
		$("div.sqs-slice-group.align-center-vert").click(function() {
			var link = $(this).text(),
				href = "/work";
			window.location.href=href;
		});
});
</script>

 

Link to post
  • 0

Thanks again for your help tuanphan!

This works exactly how I wanted it to on the homepage, however it also has the adverse effect of removing the navigation links 'home','work','video art', 'music' and 'about' from my work page, which usually sits at the top. I want to keep those.

...Any ideas? Thanks in advance for your help.

Cheers,

Robin.

Link to post
  • 0
On 2/2/2021 at 11:58 PM, cupoftea said:

Thanks again for your help tuanphan!

This works exactly how I wanted it to on the homepage, however it also has the adverse effect of removing the navigation links 'home','work','video art', 'music' and 'about' from my work page, which usually sits at the top. I want to keep those.

...Any ideas? Thanks in advance for your help.

Cheers,

Robin.

Add to Page Header, not Code Injection Header (Hover Page on Navigation or Not Linked > Click Gear icon to open page header)

Link to post
  • 0
On 2/24/2021 at 1:19 AM, cupoftea said:

You're amazing, thank you so much! 😀

I see you haven't installed SSL yet, so the browser shows "Not Secure"

SSL is free. https://support.squarespace.com/hc/en-us/articles/205815898-Understanding-SSL-certificates

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...