2/15/2023 0 Comments Non breaking space code wordpressIf you are using bulleted lists in WordPress, you’ll see that by default, the bulleted items are stacked without any space between them. Wrapping your text with a paragraph tag will give you a line break after your paragraph. , – Creating a paragraph space (similar to the annoying paragraph spacing that comes default with Microsoft Word) is pretty easy. So while this might show correctly when you insert a and toggle between text and visual composer, but when you Update the page it will remove those breaks and put you right back where you started. However, a lot of WordPress themes have an HTML filter that removes empty or open tags. – line break – this serves as a traditional carriage return. – non-breaking space – typically used to create a wrap or to move text to the next line. Code to Know: Standard WordPress Spacing HTML To edit code for specific spacing, start by clicking the Text Editor when in a new post text area. Shift+Enter – Use the Shift Key and Enter Key for a single space between lines and avoid a paragraph (double line spacing). The Enter key is used as a way of saying “new paragraph.” The Shift– Enter combination is used in WordPress as a way of saying “new line, not new paragraph. Quick Fix for Double Space on Enter in WordPress: Single Line Return I’m not super good at HTML coding and it seems like the standard spacing insert code doesn’t always work. If you’re like me, getting a blog to space correctly without using elements in Visual Composer or a blog template can be difficult.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
May 2023
Categories |