Home › Forums › Support › How can I justify text in GenerateBlock? This topic has 12 replies, 5 voices, and was last updated 11 months, 3 weeks ago by Fernando. Viewing 13 posts - 1 through 13 (of 13 total) Author Posts August 7, 2020 at 4:14 pm #1392204 Hector How can I justify text in GenerateBlock? Thanks for your quick attention. August 7, 2020 at 5:02 pm #1392247 LeoStaff Customer Support Hi there, CSS is required. Can you disable the maintenance page and let me know which block you are referring to? August 7, 2020 at 5:08 pm #1392256 Hector [credential deleted] Ready… August 7, 2020 at 5:15 pm #1392261 LeoStaff Customer Support This is a public forum so definitely don’t post your login here. Which block should I be looking at? August 7, 2020 at 5:49 pm #1392286 Hector Download a plugin for that, but I don’t know if it’s the best option or do you recommend another optimized procedure ??? Any block could be August 7, 2020 at 5:54 pm #1392288 LeoStaff Customer Support To justify text? Shouldn’t need a plugin for that. You could try adding a custom class like text-justify to the block that you want to justify then use this CSS: .text-justify { text-align: justify; } August 7, 2020 at 7:31 pm #1392331 Hector Thanks. August 8, 2020 at 9:06 am #1393087 LeoStaff Customer Support No problem 🙂 December 6, 2022 at 7:21 am #2451497 Suman It’s not working on mobile. Does the code need edits for mobile? December 6, 2022 at 7:21 am #2451498 Suman Kindly confirm if any changes are required for tablets as well. December 6, 2022 at 11:47 am #2451904 YingStaff Customer Support Hi Suman, The CSS would work for all devices. If it doesn’t work for you, please open a new topic and link us to the page where we can see the issue. December 6, 2022 at 11:58 am #2451918 Suman It worked for me after I implemented it properly. The issue was the editor did not show the justified text in the preview. December 6, 2022 at 5:27 pm #2452238 Fernando Customer Support Hi Suman, Custom CSS added through Additional CSS won’t show in the editor by default. You’ll need to utilize the Child theme and enqueue your own block editor stylesheet and then add the custom code there as well to make it appear in the Block Editor. See here for a sample: https://generatepress.com/forums/topic/load-editor-stylesheet-after-gp-inline-styles/#post-1895001 Author Posts Viewing 13 posts - 1 through 13 (of 13 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In