Hi I am struggling with bringing my “shop now” button and some other text to the middle of my slideshow screen. I am only having this problem on mobile, on desktop everything looks fine. I am using the Dawn theme. I hope someone could help me with this problem.
Topic summary
A user is experiencing an issue with the Dawn theme where the “Shop Now” button and text won’t center on mobile slideshow screens, though desktop display works correctly.
Attempted Solutions:
- PageFly-Henry provided CSS code targeting
base.cssto adjust slideshow positioning using absolute positioning and viewport height settings - The code worked in Shopify’s mobile editor preview but failed to display changes on actual mobile devices
Current Status:
Made4uo-Ribe offered an alternative CSS solution targeting the banner content wrapper with:
- Media query for screens max-width 749px
- Absolute positioning with 20% bottom offset
The discussion remains ongoing as the user hasn’t confirmed whether the second solution resolved the discrepancy between the editor preview and actual mobile display. The core issue appears to be CSS specificity or caching preventing changes from appearing on physical devices despite working in the theme editor.
Hi @younglm
Cna i take a look of your store, would you mind to share your store URL? Thanks!
Hi here is the URL: https://www.tkkits.store/
Pass: raycre
hi @younglm
This is Henry from PageFly - Landing Page Builder App
You can try this code by following these steps:
Step 1: Go to Online Store->Theme->Edit code.
Step 2: Search file base.css
Step 3: Paste the below code at bottom of the file → Save
@media (max-width: 767px){
.slideshow__media.banner__media.media {
position: absolute;
}
div#Slider-template–21555873382740__slideshow_AbWh8i {
height: 100vw;
}}
Hope that my solution works for you.
Best regards,
Henry | PageFly
Hi thanks for your reply! The code worked on the mobile version in the shopify store editor, but I don’t see any changes if I look on my phone.
Thanks for the info, check 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:
@media only screen and (max-width: 749px){
.slideshow__text-wrapper.banner__content.banner__content--middle-center.page-width.banner--desktop-transparent {
position: absolute;
bottom: 20%;
}
}
And Save.
Result:
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!



