'Image with Text Overlay' — Making ENTIRE section clickable?

Hi all!

I’ve been scouring the forums trying to find a solution, but nothing has worked. :')

I would like to make the entire section clickable, rather than only a button.

The theme is Impact. It’s for the big sale portion at the top. Please let me know if you need any other info!

www.nannettedegaspe.com

Hello @AlexandraNNTT

Here is a example to make entire section clickable

Big Sale

Up to 50% off on all items!

Shop Now

Hey @AlexandraNNTT ,

Can you add the button there with the link it needs to go to?

Hi! Thanks for your response. Where should I put this code?

The page I want the section to link to? It would be this page: https://nannettedegaspe.com/collections/art-of-noir%E2%84%A2

This is the closest I can get @AlexandraNNTT .

Leave the button enabled, I have written the code to make the button occupy the image size and make it invisible, so you can click on the image, but in reality you’re clicking the button.

Go to your theme’s “Edit Code” Option, then in the search bar type “theme.liquid”
Below the tag “” tag paste the following. Screenshot attached for reference.


Screenshot is for reference only, the correct code to paste is the one shown above.