Outline text to left - Only mobile

Solved

Outline text to left - Only mobile

lunalucenteskin
Explorer
88 0 19

Hi everyone,

 

How can i outline this text to the left, it's only for mobile.

 

URL is www.lunalucente.com

Image 11-09-2024 at 08.30.jpeg

Accepted Solution (1)

Made4uo-Ribe
Shopify Partner
10133 2404 3038

This is an accepted solution.

Hi @lunalucenteskin 

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.

 

@media screen and (max-width: 599px) {
    .m-content-box.m-richtext .m-richtext__description p {
        text-align: left !important;
    }
}

 

And Save. 

Result:

Made4uoRibe_0-1726082157589.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 are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

View solution in original post

Replies 3 (3)

Made4uo-Ribe
Shopify Partner
10133 2404 3038

This is an accepted solution.

Hi @lunalucenteskin 

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.

 

@media screen and (max-width: 599px) {
    .m-content-box.m-richtext .m-richtext__description p {
        text-align: left !important;
    }
}

 

And Save. 

Result:

Made4uoRibe_0-1726082157589.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 are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

GTLOfficial
Shopify Partner
831 171 188

Hello @lunalucenteskin 

Go to online store ----> themes ----> actions ----> edit code ----> assets ---->main.css
add this code at the end of the file.

@media screen and (max-width: 767px) {
.m-richtext__description p {
text-align: left !important;
}
}

result
2.png

If this was helpful, hit the like button and accept the solution.
Thanks

- Buy me a Pizza
- If helpful then please Like and Accept Solution.
- Want to modify or custom changes or bug fix on the store Hire me. GTL web solutions
- Want Complete Storefront: Send an email ⇨- Email: info@gtlofficial.com - Skype: ritesh_27dh

topnewyork
Astronaut
1355 163 222

Hi @lunalucenteskin ,

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. In theme.liquid, paste the below code before </head>

 

@media screen and (max-width: 599px) {
    .m-content-box.m-richtext .m-richtext__description p {
        text-align: left !important;
    }
}

topnewyork_0-1726123301720.png

 

If my reply is helpful, kindly click like and mark it as an accepted solution.

Thanks!

Need a Shopify developer? Hire us at Top New York Web Design
Boost Your Store Sales with Volume/Tier Discount Try Big Bulk Discount
Create New Shopify Store For Just 1$/Month