Align Content to the left side

Solved

Align Content to the left side

ReviveShop
Explorer
49 0 26

Anyone know how to align the content to the left side?

 

https://luviera.store

 

password: bautso

 

See reference:

ReviveShop_0-1726080086029.png

 

 

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
8403 2007 2465

This is an accepted solution.

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:

Made4uoRibe_0-1726081620410.png

 

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.

View solution in original post

Replies 7 (7)

Made4uo-Ribe
Shopify Partner
8403 2007 2465

This is an accepted solution.

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:

Made4uoRibe_0-1726081620410.png

 

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
ReviveShop
Explorer
49 0 26

Perfekt! Thank you!

ReviveShop
Explorer
49 0 26

Is it possible to align left only on desktop, and centered on mobile?

Made4uo-Ribe
Shopify Partner
8403 2007 2465

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:

Made4uoRibe_0-1726082464097.png

 

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
ReviveShop
Explorer
49 0 26

when I replace the code both are centered now again

Made4uo-Ribe
Shopify Partner
8403 2007 2465

Oops, I made a mistake in the code. I've already fixed it. Please go ahead and copy and paste it again.

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
ReviveShop
Explorer
49 0 26

Perfect, thanks!