We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

product description not wrapping

Solved

product description not wrapping

stikkimorey
Excursionist
13 1 2

Product description is imported from another app, but does not wrap so continues off page to the right. I tried adding text-wrap:wrap to the container div, but this has no effect.

 

I am using Dawn

 

The url you can see this is https://ca9f81-c1.myshopify.com/products/sc4990wmp

 

the password to get in in letmein

 

 

Accepted Solution (1)
stikkimorey
Excursionist
13 1 2

This is an accepted solution.

Thank you - that is better BUT now words break where they shouldn't. Is there a way to make the words in the string break between words?

 

link is https://ca9f81-c1.myshopify.com/products/sc2610?variant=49611785437531

password is letmein

 

Screenshot 2024-12-04 170709.png

View solution in original post

Replies 5 (5)

Moeed
Shopify Partner
7764 2082 2568

Hey @stikkimorey 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
.product__description.rte.quick-add-hidden {
    overflow-wrap: anywhere !important;
}
</style>

RESULT:

Moeed_0-1733302429986.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


stikkimorey
Excursionist
13 1 2

This is an accepted solution.

Thank you - that is better BUT now words break where they shouldn't. Is there a way to make the words in the string break between words?

 

link is https://ca9f81-c1.myshopify.com/products/sc2610?variant=49611785437531

password is letmein

 

Screenshot 2024-12-04 170709.png

steve_michael2
Navigator
454 39 62

Hi @stikkimorey 

 

1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.css / based.css file and paste the code in the bottom of the file.

.product__description.rte.quick-add-hidden {
    overflow-wrap: anywhere;
}

If my reply is helpful, kindly click like and mark it as an accepted solution.

If you are happy with my help, you can help me buy a COFFEE

Thanks!

stikkimorey
Excursionist
13 1 2

Thank you - that is better BUT now words break where they shouldn't. Is there a way to make the words in the string break between words?

 

link is https://ca9f81-c1.myshopify.com/products/sc2610?variant=49611785437531

password is letmein

 

stikkimorey_0-1733388111166.png

 

 

PageFly-Richard
Shopify Partner
5011 1120 1806

Hi @stikkimorey 

 

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>
body .product__description.rte.quick-add-hidden {
    overflow-wrap: anywhere !important;
}
</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.