Feedback for your online store from the community
I need to move the description to the left
Valorique.com
Hi @Isakeve08
You can try to add this JS code in theme.liquid > Scroll to the bottom of the file and add the following JavaScript code just before the closing </body> tag:
document.addEventListener('DOMContentLoaded', () => {
const detailsAccordion = document.querySelector('.product-info__accordion');
const galleryWrapper = document.querySelector('.product-gallery__ar-wrapper');
if (detailsAccordion && galleryWrapper) {
galleryWrapper.appendChild(detailsAccordion);
}
});
It gonna looks like this:
Hope it helps!
Please let me know if it works by giving it a Like or marking it as a solution!
➜ Unlock the secrets to a record-breaking BFCM with PageFly and Canva
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
➜ Weekly updated Shopify tutorials on YouTube
All features are available from the Free plan. Live Chat Support is available 24/7.
Didnt work.
Hi @Isakeve08
To align the description to the left, you will need to modify the CSS of your theme. Here’s how you can do it:
.product-description {
text-align: left;
}
Ensure you are targeting the correct class. If the class name is different, you may need to inspect the element using the browser’s developer tools to get the exact class name. Preview your store to ensure the description is aligned to the left as desired.
If you need further assistance with theme customization or app integration, consider reaching out to us for tailored support.
Regards,
Ina
If it’s helpful to you, please mark it as a solution.
Need Help with Shopify Design, Migration, Speed, or Custom tasks?
email: hi@mswebdesigner.com
Try Our Conversion Booster app to get more sales | Connect Our Founder Linkedin
Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025