Search for: Log In Free Support [Resolved] Code blocks – text doesn't wrap Home › Forums › Support › Code blocks – text doesn't wrap This topic contains 3 replies, has 2 voices, and was last updated by Leo 2 days, 4 hours ago. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts May 6, 2020 at 11:40 am #1272574 Anne-Laure Hi, Since I moved to GP for my theme (super happy with it!) the text in my code blocks doesn’t wrap anymore. See screenshot here. How can I fix this? I don’t need it to look fancy, just to be readable and wrap in the block. Thank you! May 6, 2020 at 1:37 pm #1272736 Leo Customer Support Hi there, Give this a shot: https://css-tricks.com/snippets/css/make-pre-text-wrap/ Adding CSS: https://docs.generatepress.com/article/adding-css/ Let me know if this helps 🙂 Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ May 26, 2020 at 1:28 am #1301619 Anne-Laure It worked, thank you! May 26, 2020 at 8:59 am #1302324 Leo Customer Support No problem 🙂 Documentation: http://docs.generatepress.com/ Adding CSS: http://docs.generatepress.com/article/adding-css/ Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic.