I have a question regarding Shopify. I have a banner where I need to align the text to the right and the image to the left. This will prevent the text from overlapping onto the image. Please refer to the image below.
How can I make this change? Is this through CSS?
Thank you
1 Like
Add this code in css file
.banner-container {
display: flex;
flex-direction: row;
align-items: center;
}
.banner-container .banner-image {
flex: 1;
}
.banner-container .banner-text {
text-align: right;
}
Hi @DBU
Please share your website so we can provide a code appropriate for you
Hi @DBU ,
Would you mind to share the password also? It is protected. Thanks!
Hi NomtechSolution
I’ve added this to the css section of my banner and nothing’s changed. Any idea?
Please check your inbox. I’ve sent it there
