Hello everyone,
I would like to change the collection navigation drawer to show from left.
Currently, the drawer pops out from the right side.
Please see the attached screenshot.
Our collection page is blocked now, please let me know if you need anything.
Thank you all!
Here is the sections/collection–navigation.liquid code:
{%- liquid
assign ajax_url = collection.url | append: ‘?’
unless collection.current_vendor == blank and collection.current_type == blank
assign ajax_url = collection.url | append: ‘&’
endunless
assign show_browse_button = section.settings.show-browse-button
assign show_sort_button = section.settings.show-sort-button
assign show_refine_button = section.settings.show-refine-button
-%}
{%-
render ‘navigation’,
ajax_url: ajax_url,
custom_collection_list: section.settings.custom-list-collections,
mobile_buttons: ‘browse,refine’
results_string: false,
show_browse_button: section.settings.show-browse-button,
show_collection_list: section.settings.show-collections-list,
show_layout_buttons: section.settings.show-layout-buttons,
show_search_link: section.settings.show-search-link,
show_sort_button: section.settings.show-sort-button,
show_sort_list: section.settings.show-sort-list,
show_refine_button: section.settings.show-refine-button,
show_refine_list: section.settings.show-refine-list,
storage_name: ‘collection_layout’,
swatches: section.settings.swatches
-%}
{%- if show_browse_button or show_refine_button or show_sort_button -%}
{% schema %}
{
“name”: “Collection navigation”,
“class”: “section–collection-navigation”,
“settings”: [
{
“content”: “Quick links”,
“type”: “header”
},
{
“label”: “Show browse button”,
“id”: “show-browse-button”,
“type”: “checkbox”,
“default”: true
},
{
“label”: “Show sort by button”,
“id”: “show-sort-button”,
“type”: “checkbox”,
“default”: true
},
{
“label”: “Show refine button”,
“id”: “show-refine-button”,
“type”: “checkbox”,
“default”: true
},
{
“label”: “Show layout buttons”,
“id”: “show-layout-buttons”,
“type”: “checkbox”,
“default”: true
},
{
“content”: “Drawer”,
“type”: “header”
},
{
“label”: “Show collections list”,
“id”: “show-collections-list”,
“type”: “checkbox”,
“default”: true
},
{
“label”: “Enable custom collection list”,
“id”: “custom-list-collections”,
“type”: “link_list”
},
{
“label”: “Show sort by list”,
“id”: “show-sort-list”,
“type”: “checkbox”,
“default”: true
},
{
“label”: “Show refine list”,
“id”: “show-refine-list”,
“type”: “checkbox”,
“default”: true
},
{
“type”: “select”,
“id”: “swatches”,
“label”: “Swatches”,
“options”: [
{ “label”: “Circle”, “value”: “circle” },
{ “label”: “Square”, “value”: “square” },
{ “label”: “None”, “value”: “none” }
],
“default”: “circle”,
“info”: “Connect options to swatch colors or images using Shopify metafields. Learn more”
},
{
“label”: “Show search link”,
“id”: “show-search-link”,
“type”: “checkbox”,
“default”: true
}
]
}
{% endschema %}
