hi there i creating a store and i have image slider in dawn theme i want pagination dots to be inside image can anyone help me how to so it
Topic summary
A user is customizing the Dawn theme’s image slider by attempting to move pagination dots inside the slider images rather than their default position.
Solutions Provided:
Two community members offered CSS code solutions:
- First approach: Modifies
.slideshow__controlspositioning to absolute with bottom alignment and removes borders - Second approach: Centers the controls at the bottom using transform properties and adjusts the slideshow component to relative positioning
Both solutions involve editing the theme’s CSS file (base.css, style.css, or theme.css) through the Shopify admin code editor.
Outcome:
The original poster thanked contributors for their help, suggesting the issue was resolved. One respondent included a visual example showing the expected result with pagination dots positioned inside the slider area.
Please share your store URL so I can check
Hi @Nabeelshakil ,
-
Go to Online Store > Themes > Actions > Edit Code > base.css
-
Add below code in base.css file
.slideshow__controls {
position: absolute;
bottom: 0;
left: 0;
right: 0;
border: 0;
}
button.slideshow__autoplay.slider-button {
position: unset !important;
}
Try this one.
- From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
- Find the theme that you want to edit and click on “Actions” and then “Edit code”.
- In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
.slideshow__controls.slideshow__controls--top.slider-buttons {
position: absolute;
bottom: 0;
left: 50%;
transform: translate(-50%);
}
slideshow-component.slider-mobile-gutter.mobile-text-below {
position: relative;
}
.slideshow__controls, .slideshow__autoplay.slider-button {
border: 0;
}
- And Save.
- Result:
Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!
thanks for the help
