Shopify themes, liquid, logos, and UX
Hi there! I have 2 questions:
1. I would like my header text on the image banner to be full width so it's not on 2 lines like below.
password: fbc
2. Is it possible to have all the text on the image & the logo further on the left on a bigger size screen? It's currently showing too much in the center:
thanks so much!
Solved! Go to the solution
This is an accepted solution.
You can try this code by following these steps:
Step 1: Go to the online store ->Theme ->Edit Code.
Step 2: Find the theme.liquid file and add the following code above the </head> tag
<style>
@media only screen and (min-width: 750px) {
.banner--content-align-left.banner--desktop-transparent .banner__box{
max-width: 72rem !important;
}
}
@media only screen and (min-width: 1440px) {
.banner__content.banner__content--bottom-left.page-width.scroll-trigger.animate--slide-in {
max-width: 100% !important;
}
}
</style>
Result:
Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!
Hi @INFRA
ok
- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Amazon Products Importer - Import Amazon Products to Dropship in Your Store!
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...Sign up now.
This is an accepted solution.
You can try this code by following these steps:
Step 1: Go to the online store ->Theme ->Edit Code.
Step 2: Find the theme.liquid file and add the following code above the </head> tag
<style>
@media only screen and (min-width: 750px) {
.banner--content-align-left.banner--desktop-transparent .banner__box{
max-width: 72rem !important;
}
}
@media only screen and (min-width: 1440px) {
.banner__content.banner__content--bottom-left.page-width.scroll-trigger.animate--slide-in {
max-width: 100% !important;
}
}
</style>
Result:
Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!
This worked, thank you! (I added it in the CSS in the editor so it rolls over if we do a theme update)
Can I add something to move the logo to the left for the larger screen too?
Update the code
<style>
@media only screen and (min-width: 750px) {
.banner--content-align-left.banner--desktop-transparent .banner__box{
max-width: 72rem !important;
}
}
@media only screen and (min-width: 1440px) {
.banner__content.banner__content--bottom-left.page-width.scroll-trigger.animate--slide-in,
.page-width.utility-bar__grid.utility-bar__grid--3-col,
header.header.header--middle-left.header--mobile-center.page-width.header--has-menu.header--has-social.header--has-account {
max-width: 100% !important;
}
}
</style>
hi @AnneLuo ! I placed it on the right side now, and was wondering if we can move it a bit more to the right even?
Hi, @Dan-From-Ryviu I have not changed anything and it is still on 2 lines for me. Would you have the solution?
If not, are you please able to remove your message so it does not look like it's been solved? thanks so much!
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025