Shopify themes, liquid, logos, and UX
How can I get the text + the button in the green box.
This is my code:
.banner .banner__media:nth-child(1) { border-radius: 20px 20px 0px 0px !important; width: 80%; height: 500px; margin: auto; } .content-container { border-radius: 0px 0px 20px 20px !important; } @media screen and (min-width: 1024px) { div.banner.banner--content-align-center { flex-direction: column !important; } .banner__media.media { position: relative !important; } } .banner__box.content-container { width: 80%; max-width: 100%; height: 200px; text-position: !important; } @media screen and (max-width: 750px) { .banner, slideshow-component { display: none; } }
Solved! Go to the solution
This is an accepted solution.
Hi @BudwigUser
.banner__box.content-container {
display: flex !important;
flex-direction: column;
padding: 0 !important;
justify-content: center !important;
}
I hope this helps
Best,
Daisy
Hi @BudwigUser
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.css / based.css file and paste the code in the bottom of the file.
.banner__box.content-container.content-container--full-width-mobile.color-scheme-f10bcb13-0ebd-430d-9e6e-eedc23eaed9a.gradient {
display: flex !important;
flex-direction: column !important;
align-items: end !important;
padding-right: 50px !important;
}
Result:
If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!
This is an accepted solution.
Hi @BudwigUser
.banner__box.content-container {
display: flex !important;
flex-direction: column;
padding: 0 !important;
justify-content: center !important;
}
I hope this helps
Best,
Daisy
Thank you, it worked but now the text in the Phone version moved a bit. Can you fix this?
Do you have a solution. That would be awesome.
Hi @BudwigUser
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.css / based.css file and paste the code in the bottom of the file.
@media(max-width:768px){
h2.banner__heading.inline-richtext.h1 {
font-size: 28px !important;
}
.banner__box.content-container.content-container--full-width-mobile.color-scheme-f10bcb13-0ebd-430d-9e6e-eedc23eaed9a.gradient {
padding: 20px !important;
}
}
If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024