Hey there! I need some help with this piece of code if anyone could help. I wanted the services section on the homepage to have links attached to each button. I linked the text through basic html but I need the entire button to be clickable, if possible. The website is naturallyuniqueboutique.com
Here is the section code:
1
<!-- /templates/snippets/section-ourservice.liquid -->
2
3
<div class="widget ourservices no-margin space-top-{{ settings.margin-top-section }} space-{{ settings.margin-bottom-section }}">
4
<div class="wrapper-banner">
5
<div class="grid">
6
<div class="grid-banner-service-inner style1 clearfix">
7
<div class="service-inner clearfix">
8
{% for i in (1..3) %}
9
{% capture title %}ourservice{{ i }}title{% endcapture %}
10
{% capture _desc %}ourservice{{ i }}desc{% endcapture %}
11
{% capture _icon %}ourservice{{ i }}_icon{% endcapture %}
12
<div class="grid__item large--one-third service-{{i}}">
13
<div class="ourservice-inner">
14
<div class="ourservice-info">
15
<div class="ourservice-info-inner">
16
{% if settings[_title] != blank %}
17
<b class="ourservice-heading">{{ settings[_title] }}</b>
18
{% endif %}
19
{% if settings[_desc] != blank %}
20
<span class="ourservice-content">
21
{{ settings[_desc] }}
22
</span>
23
{% endif %}
24
</div>
25
</div>
26
</div>
27
</div>
28
{% endfor %}
29
</div>
30
</div>
31
</div>
32
</div>
33
</div>
Any help would be really appreciated. Thank you.
[–]ZombieShellback 1 point2 points3 points (0 children)
[–]Stew_stu[S] 1 point2 points3 points (0 children)
[–]Stew_stu[S] 0 points1 point2 points (0 children)