I’d like to make the top banner clickable without altering anything about the scaling, aspect ratio etc that I have set up currently, essentially just a transparent clickable overlay for the current banner.
I’ve found a few discussions where the solution worked for the OP but none of them work for me. Can anyone help?
If yes, then first I would suggest to check the customization settings of your theme and just incase if it’s not there then feel free to share your collaborator request code in my private messages and I can add a transparent clickable overlay link for you.
Got it you want the entire top banner in your Craft theme to be a clickable link, but without messing with the existing sizing/aspect ratio.
You don’t need to replace or wrap your img in an a (which often breaks scaling). Instead, the clean way is to add a transparent overlay link that covers the whole banner container.
Example solution
Let’s say your banner section has a wrapper element like:
Apologies but I am not familiar with coding and I am struggling to find the wrapper element.
The wording above doesn’t appear to be in the code, is there something else I should look for?
As I have checked, your page currently only has HTML and CSS, does not use Shopify, but if you want to use Craft Banner Image, then you can refer to this article to make the image clickable