How can I make a text block full width in Turbo Theme?

DrLani
Excursionist
19 1 4

Hi, I am trying to make this text block full width.

A previous freelancer put in some custom code some where, I'm not sure where.

 

I want to know: how do I make this single rich text box full width?

 

I don't want to change all the code for each rich text block in case that messes up somewhere else in the site.

!Screen Shot 2024-03-29 at 1.47.23 PM.png

Reply 1 (1)

PageFly-Oliver
Shopify Partner
878 190 174

Hi @DrLani ,

 

You can try this code by following these steps:

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file theme.liquid

Step 3: Paste the below code at the bottom of the file -> Save

 

<style>
.rich-text__text{
max-width:100% !important;
width:100% !important
}
</style>

 

 

Hope my solution works perfectly for you!

Best regards,

Oliver | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.