Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
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.
Below is from an IPhone: As you can see, the text is off center and to the right, against the image below.
Thank you in advance.
Solved! Go to the solution
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
Hi @jbslide ,
Could you please share URL and your store password if it enabled? So that we can help you.
Thank you.
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
Thank you, PageFly-Victor!
That fixed it
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024