An edit to my shopify template/theme
- or -
Post a project like this3507
$$
- Posted:
- Proposals: 3
- Remote
- #558209
- Awarded
Description
Experience Level: Intermediate
Hi,
I am setting up a shopify ecommerce website and am struggling to make a change to the navigation. I need to add a third level to the main navigation (submenu) and whilst I have managed to find the code for an additional submenu (grand-child) I am unable to implement it. Whatever I do, I can't seem to add another drop-down.
I don't think its very difficult for a person that knows what they are doing. Are you able to help?
To give you an idea of what it is that needs changing, below is the code for the navigation and somewhere within it needs to be added the code for a "grand_child" something along the lines of this forum thread: http://tinyurl.com/lldcgwn
0 %}
{% assign has_sub_menu = true %}
{% for child_link in linklists[child_list_handle].links %}
{% if page_title == child_link.title %}
{% assign parent_link_active = true %}
{% endif %}
{% endfor %}
{% endif %}
{{ link.title | escape }}
{% if parent_link_active or link.active %}{% capture list_handle %}{{ link.title | handle }}{% endcapture %}{% endif %}
0 %}
Back
{% for sublink in linklists[child_list_handle].links %}
{{ sublink.title }}
{% endfor %}
{% endif %}
{% endfor %}
{% if shop.customer_accounts_enabled %}
{% if customer %}
View Account
{{ 'Logout' | customer_logout_link }}
{% else %}
{{ 'Login' | customer_login_link }}
{% endif %}
{% endif %}
{% if settings.navigation_style == 'static' %}
0 %}
{% for sublink in linklists[list_handle].links %}
{{ sublink.title }}
{% endfor %}
{% endif %}
{% endif %}
I am setting up a shopify ecommerce website and am struggling to make a change to the navigation. I need to add a third level to the main navigation (submenu) and whilst I have managed to find the code for an additional submenu (grand-child) I am unable to implement it. Whatever I do, I can't seem to add another drop-down.
I don't think its very difficult for a person that knows what they are doing. Are you able to help?
To give you an idea of what it is that needs changing, below is the code for the navigation and somewhere within it needs to be added the code for a "grand_child" something along the lines of this forum thread: http://tinyurl.com/lldcgwn
0 %}
{% assign has_sub_menu = true %}
{% for child_link in linklists[child_list_handle].links %}
{% if page_title == child_link.title %}
{% assign parent_link_active = true %}
{% endif %}
{% endfor %}
{% endif %}
{{ link.title | escape }}
{% if parent_link_active or link.active %}{% capture list_handle %}{{ link.title | handle }}{% endcapture %}{% endif %}
0 %}
Back
{% for sublink in linklists[child_list_handle].links %}
{{ sublink.title }}
{% endfor %}
{% endif %}
{% endfor %}
{% if shop.customer_accounts_enabled %}
{% if customer %}
View Account
{{ 'Logout' | customer_logout_link }}
{% else %}
{{ 'Login' | customer_login_link }}
{% endif %}
{% endif %}
{% if settings.navigation_style == 'static' %}
0 %}
{% for sublink in linklists[list_handle].links %}
{{ sublink.title }}
{% endfor %}
{% endif %}
{% endif %}
Dominic C.
100% (1)Projects Completed
1
Freelancers worked with
1
Projects awarded
100%
Last project
1 Sep 2014
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies