All things Shopify and commerce
Hello,
Is someone please able to help me centre my product page information only on mobile?
Mainly the description, pop up, heading, price, etc.
Thank you
Ella.
URL: https://www.samiyaskincare.com.au/products/crown-chakra-face-mask-moringa
<style>
@media screen and (max-width: 767px) {
section#ProductInfo-template--24209589993766__main {
text-align: center;
}
}
</style>
Go to online store ----> themes ----> go to three Dots ----> edit code ---->find theme.liquid files ----> place the code ---->
under the <style> tag before the body ----->
if this code work please do not forget to like and mark it solution
Hi @ellacoker , you can follow these steps:
Step 1: Open Online Store -> Themes -> Edit code.
Step 2: Find component-card.css file
Step 3: Paste this code at the bottom of the file
@media screen and (max-width: 749px) {
.product-popup-modal__opener.quick-add-hidden {
width: 100% !important;
text-align: center !important;
}
}
If this is helpful, please let us know by giving us a like and marking it as a solution. Thank you 😍
B2Bridge: All-in-one B2B wholesale solution, enabling merchants to set up a complete B2B store quickly and without coding.
With features like customizable registration forms, customer segmentation, and tailored price lists, it simplifies wholesale management.
B2Bridge also includes a dedicated Quick Order page and flexible Net Payment Terms, streamlining operations for wholesalers and enhancing the buying experience.
Hi @ellacoker
This is Richard from PageFly - Shopify Page Builder App
Please add this code to your theme.liquid above the </head> to get this solved
Step 1: Online Stores > Themes > More Actions > Edit code
Step 2: click on theme.liquid and paste the code above the </head>
<style>
@media (max-width: 768px) {
section#ProductInfo-template--24209589993766__main > * {
text-align: center;
}
modal-opener.product-popup-modal__opener.quick-add-hidden {
width: 100%;
}
}
</style>
Hope this can help you solve the issue
Best regards,
Richard | PageFly
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
All features are available from Free plan. Live Chat Support is available 24/7.
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025