I am trying to get arrows on homepage slider
theme : pipeline
store:https://dhcbeauty.in/
desire output:
will share code in next Trail
A user is attempting to add navigation arrows to the homepage slider on a Shopify store using the Pipeline theme.
Initial Request:
Attempted Solution:
Another user suggested:
.slideshow-component and .slider-buttons classesCurrent Status:
The discussion appears to be ongoing, with the user still seeking a working solution to implement arrow navigation in their Pipeline theme slideshow.
I am trying to get arrows on homepage slider
theme : pipeline
store:https://dhcbeauty.in/
desire output:
will share code in next Trail
Code :
{%- assign scroll_class = ‘’ -%}
{% if section.settings.height == ‘use_screen_full’ %}
{%- assign scroll_class = ‘has-scroll-arrow’ -%}
{%- endif -%}
{% assign hero_content_class = ‘hero__content’ %}
{% if section.settings.width == ‘wrapper–tiny’ or section.settings.width == ‘wrapper–narrow’ %}
{% assign hero_content_class = ‘hero__content hero__content–large’ %}
{% endif %}
{{ block.settings.kicker | escape }}
{% endunless %} {% unless block.settings.title == '' %}{% unless block.settings.enable_overlay_text %}
{% endunless %}{%- assign desktop_image_modifier = ‘’ -%}
{%- assign mobile_image = ‘’ -%}
{%- if block.settings.mobile_image != blank -%}
{%- assign desktop_image_modifier = ‘desktop’ -%}
{%- capture mobile_image -%}
{% render ‘hero’, img_object: block.settings.mobile_image, frame_height_class: section.settings.height, bg_position: block.settings.bg_position, modifier: ‘mobile’ %}
{%- endcapture -%}
{%- endif -%}
{% render ‘hero’,
img_object: block.settings.image,
frame_height_class: section.settings.height,
bg_position: block.settings.bg_position,
modifier: desktop_image_modifier
%}
{{ mobile_image }}
{% if block.settings.link_text == ‘’ and block.settings.link %}
<a
class=“link-over-image”
href=“{{ block.settings.link }}”
aria-label=“{{ block.settings.title | strip_html | escape }}”
{% endif %}
{% if section.settings.height == ‘use_screen_full’ %}
{% if section.blocks.size == 0 %}
{% schema %}
{
“name”: “Slideshow”,
“settings”: [
{
“type”: “checkbox”,
“id”: “autoplay”,
“label”: “Auto-rotate slides”,
“default”: false
},
{
“type”: “range”,
“id”: “autoplay_speed”,
“min”: 1,
“max”: 15,
“step”: 1,
“unit”: “sec”,
“label”: “Change slides every”,
“default”: 8
},
{
“type”: “select”,
“id”: “height”,
“label”: “Section height”,
“default”: “use_screen_two_thirds”,
“options”: [
{ “value”: “use_screen_full”, “label”: “Full screen height”},
{ “value”: “use_screen_three_quarters”, “label”: “Three quarters of screen height”},
{ “value”: “use_screen_two_thirds”, “label”: “Two thirds of screen height”},
{ “value”: “use_screen_one_half”, “label”: “One half of screen height”},
{ “value”: “use_screen_one_third”, “label”: “One third of screen height”},
{ “value”: “use_screen_one_fifth”, “label”: “One fifth of screen height”},
{ “value”: “use_pixels_800”, “label”: “800px” },
{ “value”: “use_pixels_650”, “label”: “650px” },
{ “value”: “use_pixels_500”, “label”: “500px” },
{ “value”: “use_image”, “label”: “Image height”}
]
},
{
“type”: “select”,
“id”: “color_bg”,
“label”: “Background color”,
“default”: “palette–light bg–neutral”,
“options”: [
{ “value”: “palette–light bg–neutral”, “label”: “Default”},
{ “value”: “palette–light bg–accent”, “label”: “Light”},
{ “value”: “palette–dark bg–invert”, “label”: “Dark”},
{ “value”: “palette–dark bg–invert–accent”, “label”: “Dark accent”},
{ “value”: “palette–bright bg–bright”, “label”: “Bright”},
{ “value”: “palette–bright bg–bright–accent”, “label”: “Bright accent”}
]
},
{
“type”: “header”,
“content”: “Section spacing”
},
{
“type”: “select”,
“id”: “width”,
“label”: “Width”,
“default”: “wrapper–none”,
“options”: [
{ “value”: “wrapper–none”, “label”: “Full width” },
{ “value”: “wrapper–full”, “label”: “Full width padded” },
{ “value”: “wrapper”, “label”: “Page width” },
{ “value”: “wrapper–narrow”, “label”: “Page width narrow” }
]
},
{
“type”: “range”,
“id”: “padding_top”,
“min”: 0,
“max”: 180,
“step”: 2,
“unit”: “px”,
“label”: “Padding top”,
“default”: 0
},
{
“type”: “range”,
“id”: “padding_bottom”,
“min”: 0,
“max”: 180,
“step”: 2,
“unit”: “px”,
“label”: “Padding bottom”,
“default”: 0
}
],
“blocks”: [
{
“type”: “image”,
“name”: “Slide”,
“settings”: [
{
“type”: “image_picker”,
“id”: “image”,
“label”: “Image”,
“info”: “Match size to other slides”
},
{
“type”: “image_picker”,
“id”: “mobile_image”,
“label”: “Mobile image”
},
{
“type”: “select”,
“id”: “bg_position”,
“label”: “Position”,
“default”: “center-center”,
“options”: [
{ “label”: “Top”, “value”: “center-top” },
{ “label”: “Right”, “value”: “right-center” },
{ “label”: “Center”, “value”: “center-center” },
{ “label”: “Left”, “value”: “left-center” },
{ “label”: “Bottom”, “value”: “center-bottom” }
]
},
{
“type”: “range”,
“id”: “overlay_opacity”,
“min”: 0,
“max”: 100,
“step”: 5,
“label”: “Image overlay opacity”,
“info”: “Increase contrast for legible text.”,
“default”: 15
},
{
“type”: “color”,
“id”: “overlay_color”,
“label”: “Overlay color”,
“default”: “#000”
},
{
“type”: “checkbox”,
“id”: “enable_overlay_text”,
“label”: “Overlay behind text only”,
“default”: false
},
{
“type”: “header”,
“content”: “Text”
},
{
“type”: “text”,
“id”: “kicker”,
“label”: “Kicker”,
“default”: “Introducing”
},
{
“type”: “text”,
“id”: “title”,
“label”: “Heading”,
“default”: “Image slideshow”
},
{
“type”: “richtext”,
“id”: “richtext”,
“label”: “Text”,
“default”: “
Tell your brand’s story through images.
”Hi @subhan97
Go to the online store edit the code
base.css and below paste the code
slideshow-component:not(.page-width) .slider-buttons {
border-right: 0;
border-left: 0;
justify-content: space-between;
border: none;
position: absolute;
top: 50%;
transform: translateY(-50%);
width: 100%;
over-flow:hidden;
z-index:4;
}