Shopify themes, liquid, logos, and UX
Hi!
Have a problem with the text on the slide show.
I looks good on desktop but not mobile and I cannot find out why the text appears on the left side. However the button gets centered. See second slide. Is it possible to keep the text like this on desktop but have the button below the text, and at the same time use the whole width when on mobile and center the button?
swim-ears.myshopify.com
Solved! Go to the solution
This is an accepted solution.
.slideshow__btn-wrapper.slideshow__btn-wrapper--push {
max-width: 50%;
}
@media only screen and (max-width: 749px) {
h2.h1.mega-title.slideshow__title.slideshow__title--mobile {
max-width: 100%;
font-size: 21px;
}
}
Add this css at the bottom of Online Store->Theme->Edit code->Assets->base.scss.liquid
@magnusgustaf ,
Add this css at the bottom of Online Store->Theme->Edit code->Assets->base.scss.liquid
.slideshow__btn-wrapper.slideshow__btn-wrapper--push {
max-width: 50%;
}
Have you hidden the button I was adjusting the button on the mobile version?
It's the button shown for the second slide, see screen shot below. However I wish any changed to apply to all slides if I also add buttons there.
This is an accepted solution.
.slideshow__btn-wrapper.slideshow__btn-wrapper--push {
max-width: 50%;
}
@media only screen and (max-width: 749px) {
h2.h1.mega-title.slideshow__title.slideshow__title--mobile {
max-width: 100%;
font-size: 21px;
}
}
Add this css at the bottom of Online Store->Theme->Edit code->Assets->base.scss.liquid
User | RANK |
---|---|
61 | |
53 | |
47 | |
42 | |
39 |
Photo by Marco Verch Sales channels on Shopify are various platforms where you can sell...
By Ollie May 25, 2023Summary of EventsBeginning in January of 2023, some merchants reported seeing a large amo...
By Trevor May 15, 2023With 2-Factor Authentication being required to use Shopify Payments, we’re here to help yo...
By Imogen Apr 26, 2023