Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi,
find slideshow button Class ,customize position using CSS
base.css or theme.css file add or modify css
CSS example
/* Customize the position of the slideshow button */
.slideshow__btn {
position: absolute; /* Ensure the button is positioned relative to the slideshow */
z-index: 10; /* Keeps the button on top of other elements */
}
/* Example Positions */
/* Bottom right */
.slideshow__btn--bottom-right {
bottom: 20px; /* Distance from the bottom */
right: 20px; /* Distance from the right */
}
/* Bottom left */
.slideshow__btn--bottom-left {
bottom: 20px;
left: 20px;
}
/* Top right */
.slideshow__btn--top-right {
top: 20px;
right: 20px;
}
/* Top left */
.slideshow__btn--top-left {
top: 20px;
left: 20px;
}
/* Centered horizontally and vertically */
.slideshow__btn--center {
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
}
Apply the relevant class to your slideshow
so If I understood correctly, lets make a scenario where I need the button to be centered top but I need it higher than default options, I just paste 2 codes;
1st code
.slideshow__btn {
position: absolute;
z-index: 10; /* }
2nd code
.slideshow__btn--center {
top: 30%;
left: 50%;
transform: translate(-50%, -50%);
}
what is the transform: translate - values for? @Small_Task_Help
I can't find the slideshow button class, can you help?
https://ck9vayel64jtpym6-41826386080.shopifypreview.com
I want the changes on the theme I'm editing.
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025