How can I create a clickable logo button on my landing page?

Hello,

I had an idea for my shop. Basically, I want to add a picture of my shop logo on the landing page, and I want that picture to be a clickable button so that when a viewer clicks it, it directs them to the respective section.

The image enclosed depicts my idea. Is this possible?
Shop: kawaiiforus.com

Thank you very much!

Hello @KawaiiForUs

It is possible. You first need to get ID of the section you want to scroll to, then you set a link to the clickable image to #id

For example: The ID of the section is my-section, then set a link to #my-section to the image

A live demo here https://www.w3schools.com/html/tryit.asp?filename=tryhtml_id_bookmark

Hope that helps!

Hi @KawaiiForUs ,

You can use smooth scroll for it, see the following tutorial. Refer link

Hope it helps!

Hi @KawaiiForUs ,

This is PageFly - Free Landing Page Builder.

Thank you for your detailed information. Regarding this concern, you can achieve it in two ways:
1 - You can attach the link to the image (in the template file). This will not require to add any codes
2 - You have to use custom code to hard-coded the link for you to make it clickable

Please let me your link and where the image is, I will send you an instruction to do that

Best regards,
PageFly

Hi @KawaiiForUs

You can try the following steps:

  1. Identify where your image is. For example, the image below is the banner on the homepage

  1. Select the code section of the theme to be able to customize the code.

  1. Go to the file to be edited (depending on the theme, the location of the image will have a different file), in the image below, it will be the file sections/image-banner.liquid

  1. In the code that displays the image, wraps the whole code inside the tag “a” with the “href” attribute being the link of collections/all.

  2. Add a little CSS attribute to make the tag a link correct and beautiful

If it’s useful for you, please let me know by giving us a like or marking as a solution.