Orioni Posted October 17, 2024 Posted October 17, 2024 Good morning, all you fine forum folk. After some separate discussions with @Poja, I'm having another go at enabling the hanging indent. From the looks of it, judging by the same text in this post, I'd say it works as expected. At least for now. What is a hanging indent? That's where the first sentence of a text paragraph is slightly indented to the right. How does this work? I've added a button to do this. It works with CSS, and I'm adding the markup to work across forum themes. It adds a line of code to your text that looks like this: <p class="text-indent"> Your text indent starts with this paragraph. </p> The text-indent is currently set to a value of 3rem. /* Hanging indent for Poja */ .text-indent{text-indent:3rem} This should work best on both mobile and desktop devices. How do I add a hanging indent to my text? Click the button called “Text-indentation”. It adds a placeholder paragraph. Add your text behind the placeholder. Remove the placeholder text. You'll need to click it each time, and everywhere you want this indented text to appear. Or, if you want to use it everywhere, hit enter and your next paragraph will already be indented. It also appears like this in the live editor preview. Example of a hanging indent Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis eget tellus eu diam accumsan pretium. Curabitur suscipit sollicitudin metus, quis euismod elit hendrerit ut. In et dignissim tortor, non maximus est. Vivamus eget varius purus, ut finibus dui. Aliquam arcu metus, placerat at augue ac, lacinia dapibus justo. Proin porttitor massa ligula, sed aliquet mauris molestie vel. Quisque in ex vel urna auctor lobortis sed sed massa. Vestibulum non nunc sapien. Donec condimentum mattis nulla, eget sagittis diam lacinia fringilla. Curabitur vitae semper urna. Sed euismod aliquet quam, quis elementum dui semper id. Aliquam dignissim diam et tortor feugiat, vel lobortis eros malesuada. Vivamus aliquam fringilla leo. Duis posuere accumsan lacus, varius aliquet risus feugiat quis. Curabitur placerat urna eget est pharetra ornare. Vivamus feugiat enim ut ligula lacinia consectetur eu ut dui. Fusce sit amet lacus id lacus euismod interdum quis finibus magna. Nullam mollis urna id ultrices tincidunt. Praesent congue rhoncus ultrices. Vivamus id ornare erat. Integer et nisl lobortis, ullamcorper arcu vel, varius ex. Ut tempor ipsum vitae maximus mollis. Etiam nec tristique magna. Nulla facilisi. Mauris et urna pulvinar, semper purus ac, interdum lacus. In aliquet imperdiet eros, eu scelerisque neque ornare vitae. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Sed ultrices imperdiet venenatis. Integer finibus fringilla vehicula. Nunc et nibh vitae enim venenatis blandit. Mauris eu ante non justo molestie lobortis. Phasellus blandit turpis a dignissim finibus. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae. What if I break something? There's no undo button. If you want to remove this indent from a paragraph, your only choice is to copy the text, and paste it into a new line of its own. See any bugs? Post them here. 4
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now