What's your biggest current challenge? Have your say in Community Polls along the right column.

How to manipulate product description text alignment in Mobile View on the Refresh Theme

Solved

How to manipulate product description text alignment in Mobile View on the Refresh Theme

jbslide
Explorer
53 7 7

I'm trying to figure out how I can adjust the product description text positioning in Mobile View.

 

Below is from a Web browser:  The text "OMG! SLEEP JUST GOT BETTER!" is centered as I want it

Note that the text was left aligned, but I centered the text using the space bar to be centered with the image below. 

jbslide_0-1679239891617.png

 

Below is from an IPhone: As you can see, the text is off center and to the right, against the image below.

jbslide_1-1679241257090.png

 

 

Thank you in advance.

 

Accepted Solution (1)

PageFly-Victor
Shopify Partner
7865 1786 3120

This is an accepted solution.

Hi @jbslide ,

This is Victor from PageFly - Landing page builder, I’d like to suggest this idea:

Step 1. Go to Online Store -> Theme -> Edit code
Step 2. Open your theme.liquid theme file
Step 3. Paste below code before </body> :

<style>
@media (max-width: 767px){
.product__description.rte.quick-add-hidden > h5 {
    position: relative;
    text-align: center !important;
    right: 12%;
}
}
</style>

Hope my answer will help you.

Best regards,

Victor | PageFly

View solution in original post

Replies 3 (3)

PageFly-Victor
Shopify Partner
7865 1786 3120

Hi @jbslide ,

Could you please share URL and your store password if it enabled? So that we can help you.
Thank you.

PageFly-Victor
Shopify Partner
7865 1786 3120

This is an accepted solution.

Hi @jbslide ,

This is Victor from PageFly - Landing page builder, I’d like to suggest this idea:

Step 1. Go to Online Store -> Theme -> Edit code
Step 2. Open your theme.liquid theme file
Step 3. Paste below code before </body> :

<style>
@media (max-width: 767px){
.product__description.rte.quick-add-hidden > h5 {
    position: relative;
    text-align: center !important;
    right: 12%;
}
}
</style>

Hope my answer will help you.

Best regards,

Victor | PageFly

jbslide
Explorer
53 7 7

Thank you, PageFly-Victor!

That fixed it