See attached. The button is correctly centered on desktop but not on mobile. How can I get the button to be centered on mobile? It’s in a slider container.
hallo @pwinarsky
This problem is coming in all sizes (desktop and mobile). I have css it below, apply it.
GO to online store > Theme > Action > edit code > Assets > base.css/custom.css
copy below code And paste code
**.slide_1{**
**align-items: center; !important**
**}**
**@media screen and (max-width: 575px){**
**.slide_1{**
**align-items: center; !important**
**justify-content:center;**
**}**
**}**
Hello @pwinarsky ,
It’s GemPages support team and glad to support you today.
I would like to give you the recommendation to support you so kindly follow the steps below:
- Go to Online Store > Theme > Edit code of your current theme
-
Open your theme.liquid theme file
-
Paste the below code before
If you require any further information, feel free to contact me.
Best regards,
GemPages Support Team
Add below css to your stylesheet
#shopify-section-template--16604641231085__16425767257f007fd3.home-slideshow-section .main-slider .multiple-buttons .dt-sc-btn {
margin-left: auto;
margin-right: auto;
}
hii.. @pwinarsky
step 01:
- Go to your Store > Theme > click to edit code.
- find this file " theme.liquid " and open.
- Paste the below code before
note: not need to change media query css
this idea helps you
…

