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!
➜ Optimize your Shopify store with PageFly Page Builder (Free plan available)
➜ Weekly updated Shopify tutorials on YouTube
All features are available from 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: [email protected]
Try Our Conversion Booster app to get more sales | Connect Our Founder Linkedin
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024