Individual Links Applied to Images in Custom Content Section

jessjessanders
Excursionist
25 0 5

Hi everyone, 

I am hoping to apply individual links to 4 of my images (displayed below).
So far, I have found a way to apply one link to all of the images by wrapping an <a href> tag within the custom-content.liquid code. However, I don't want all the images to go to the same page.

I have included the code example below for reference:

   <a href="https://sharnie-cocks.myshopify.com/pages/about">
   <img class="custom__block-image lazyload"
                        data-src="{{ img_url }}"
                        data-widths="[180, 360, 540, 720, 900, 1080, 1296, 1512, 1728, 2048]"
                        data-aspectratio="{{ block.settings.image.aspect_ratio }}"
                        data-sizes="auto"
                        alt="{{ block.settings.image.alt | escape }}">
    </a>




How would I go about this? I am not looking to add anyone as staff, so guidance would be hugely appreciated. 
Thanks in advance, 

--

Website: https://sharnie- cocks.myshopify.com/      (no spaces)
Password: reiffa
Section: 'Choose a service which best suits you'
jessjessanders_0-1613553463986.png

 

 

0 Likes
paramSoft
Shopify Partner
1487 243 692

Please add me as a staff member.

Want to customize Shopify storefront? Check the PageFly app
75,000+ Active Shopify merchants. TOP5 best Shopify Apps.

Contact Me On : parambabla.soft@gmail.com
0 Likes
jessjessanders
Excursionist
25 0 5

Is there any chance you can guide me? I'd prefer not to add anyone as a staff member, but really need the help

0 Likes