Make Images clickable in Multicolumn on spotlight theme

Solved

Make Images clickable in Multicolumn on spotlight theme

jladi90
Visitor
2 0 0

Screenshot 2024-09-20 205631.png

 

 

How do I go about getting my images in the multicolumn clickable on the spotlight theme? I see other threads about this but pertaining to the other themes. If possible, please include pictures of how to do this. Thanks in advance.

Accepted Solution (1)

Vinsinfo
Shopify Partner
424 143 142

This is an accepted solution.

@jladi90 Please follow below steps to make images clickable in multicolumn on spotlight theme,

 
1. From admin go to "Online Store" -> "Themes".
2. Click "Edit code" button from the current theme.
3. Go to "multicolumn.liquid" file.
4. Then search "multicolumn-card__image-wrapper multicolumn-card__image-wrapper" in search bar.
5. Then paste the below code before the div like below attached image and then save changes.

 

<a {% if block.settings.link == blank %} role="link" aria-disabled="true" {% else %} href="{{ block.settings.link }}" {% endif %} >

 

Vinsinfo_0-1726900369516.png
 
6. Then search use the "</div>\n </div>" in the same file in search field and paste the below code after the searched key word as like attached screenshot,

 

</a>

 

Vinsinfo_1-1726900476667.png

 

7. Go to "section-multicolumn.css" file and paste the below code in the bottom of the file and save the changes.

 

.multicolumn-card a:not([href]) {
  cursor: auto;
}

 

 
 
Please provide your support by click "Like" and "Accepted" if our solution works for you. Thanks for your support.
Please reach out to bizdev@vinsinfo.com for any enquires related to Shopify.
Our Services: Custom Theme Development, Theme Customization, Custom Feature Implementation, Data Migration, Custom APP Development, Website Optimization and Google Merchant Center Support

View solution in original post

Replies 2 (2)

Vinsinfo
Shopify Partner
424 143 142

This is an accepted solution.

@jladi90 Please follow below steps to make images clickable in multicolumn on spotlight theme,

 
1. From admin go to "Online Store" -> "Themes".
2. Click "Edit code" button from the current theme.
3. Go to "multicolumn.liquid" file.
4. Then search "multicolumn-card__image-wrapper multicolumn-card__image-wrapper" in search bar.
5. Then paste the below code before the div like below attached image and then save changes.

 

<a {% if block.settings.link == blank %} role="link" aria-disabled="true" {% else %} href="{{ block.settings.link }}" {% endif %} >

 

Vinsinfo_0-1726900369516.png
 
6. Then search use the "</div>\n </div>" in the same file in search field and paste the below code after the searched key word as like attached screenshot,

 

</a>

 

Vinsinfo_1-1726900476667.png

 

7. Go to "section-multicolumn.css" file and paste the below code in the bottom of the file and save the changes.

 

.multicolumn-card a:not([href]) {
  cursor: auto;
}

 

 
 
Please provide your support by click "Like" and "Accepted" if our solution works for you. Thanks for your support.
Please reach out to bizdev@vinsinfo.com for any enquires related to Shopify.
Our Services: Custom Theme Development, Theme Customization, Custom Feature Implementation, Data Migration, Custom APP Development, Website Optimization and Google Merchant Center Support
jladi90
Visitor
2 0 0

Thank you so much. It worked!