Anyone know how to align the content to the left side?
password: bautso
See reference:
A user seeks help aligning product page content to the left side on their Shopify store.
Initial Solution:
.product__info-wrapper .product__info-container * { text-align: left !important; } to align all content leftResponsive Adjustment:
Resolution:
The issue is now resolved with proper responsive alignment across devices.
Anyone know how to align the content to the left side?
password: bautso
See reference:
Hi @ReviveShop
Check this one.
From you Admin page, go to Online Store > Themes
Select the theme you want to edit
Under the Asset folder, open the main.css(base.css, style.css or theme.css)
Then place the code below at the very bottom of the file.
.product__info-wrapper .product__info-container * {
text-align: left !important;
}
And Save.
result:
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
Perfekt! Thank you!
Is it possible to align left only on desktop, and centered on mobile?
Yes, sure. Same Instruction but replace on this code below. Thanks!
@media only screen and (min-width: 750px){
.product__info-wrapper .product__info-container * {
text-align: left !important;
}
}
@media only screen and (max-width: 749px){
.product__info-wrapper .product__info-container * {
text-align: center !important;
}
fieldset.js.product-form__input {
margin: auto;
}
}
And Save.
Result:
Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!
when I replace the code both are centered now again
Oops, I made a mistake in the code. I’ve already fixed it. Please go ahead and copy and paste it again.
Perfect, thanks!