Hey, got different Banners for mobile and desktop. On Desktop the Image Banner Text Placement is fine.
On mobile i would like to place the text higher.
Can someone please help me with a code!
Thanks!
Appreciate any help!
https://cwrur2rn2w7tqjxd-91755413843.shopifypreview.com
meachu
Hi @noah_essentis
If you get your Question right you want the text to be placed at top in the mobile version
Here is the CSS you can place
You just need to follow these steps:
- Go to the Online Store
- Edit Code
- Find theme.css / base.css
And past that CSS Code:
@media(max-width:768px){
.banner__content {
align-items: flex-start;
}
}
I hope this solution works for you!
If it does, please Like It and Mark It As A Solution, or support me by Buying Me A Coffee to keep me going!
Hello,
- Go to Online Store
- Edit Code
- Find theme.css/base.css file
- Add the following code in the bottom
@media screen and (max-width: 749px) {
.banner:not(.banner--mobile-bottom):not(.email-signup-banner) .banner__box {
background: transparent;
margin-bottom: 60%;
}
}
Thanks!
Hi @noah_essentis
Try 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 screen and (max-width: 749px){
.banner__content {
align-items: start !important;
}
.slideshow__text.banner__box.content-container {
padding-top: 50px;
}
}
Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!