WXB
August 29, 2023, 8:35am
1
Hi there,
I am wondering how can my “shop now” button be fixed in the slideshow when mobile devices, make it the same as on desktop.
My theme is REFRESH. I guess it is about the code things.
If you need my store url, just let me know.
Thanks in advance!!
如何将按钮插入移动设备上的幻灯片中
你好呀,
我想知道当移动设备上的“立即购物”按钮如何固定在幻灯片中,使其与桌面上的相同。
我的主题是刷新。 我想这与代码有关。
如果您需要我的商店网址,请告诉我。
提前致谢!!
Moeed
August 29, 2023, 8:49am
2
Hey @WXB
Could you please provide your Store URL and, if applicable, the Password too? Your cooperation is greatly appreciated!
Best Regards,
Moeed
WXB
August 29, 2023, 8:56am
3
https://yokacos.com/
This is my store. Let me know if I could do that under ur awesome guidance
Do you want just button or both text and button same as desktop?
WXB
August 29, 2023, 9:43am
5
I would prefer text & button fixed in the slideshow. That looks better.
Please add this CSS code to do it
@media screen and (max-width: 749px){
.banner--mobile-bottom .banner__media { position: absolute !important; }
.banner--mobile-bottom .slideshow__text.banner__box {
background: transparent !important;
}
}
WXB
August 29, 2023, 9:55am
7
How can I make the font color be white? It was white in desktop.
Moeed
August 29, 2023, 10:03am
8
Hey @WXB
Follow these Steps:
Go to Online Store
Edit Code
Find theme.liquid file
Add the following code in the bottom of the file above tag
RESULT:
If I managed to help you then, don’t forget to Like it and Mark it as Solution!
Best Regards,
Moeed
WXB
August 30, 2023, 2:50am
9
Hiii, can you also make the text “take care balahbalah” in white, too? thanks!
Moeed
August 31, 2023, 6:22am
11
Hey @WXB
Follow these Steps:
Go to Online Store
Edit Code
Find theme.liquid file
Add the following code in the bottom of the file above tag
RESULT:
If I managed to help you then, don’t forget to Like it and Mark it as Solution!
Best Regards,
Moeed
WXB
August 31, 2023, 6:47am
12
I made it! Thank you so much my friend!
Hi @Moeed
Please add more code to make heading text in white
.banner__heading { color: #fff !important; }
Moeed
August 31, 2023, 6:48am
14
Thank you for your reply. I’m glad to hear that the solution worked well for you. If you require any more help, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.