{"id":5620,"date":"2019-08-17T23:06:32","date_gmt":"2019-08-18T04:06:32","guid":{"rendered":"https:\/\/stephenpickering.com\/?p=5620"},"modified":"2019-08-19T20:43:52","modified_gmt":"2019-08-20T01:43:52","slug":"how-to-indent-new-paragraphs-and-line-breaks-in-twentyeleven-theme","status":"publish","type":"post","link":"https:\/\/stephenpickering.com\/wordpress\/2019\/08\/17\/how-to-indent-new-paragraphs-and-line-breaks-in-twentyeleven-theme\/","title":{"rendered":"How to Indent New Paragraphs and Line Breaks in TwentyEleven Theme."},"content":{"rendered":"\n<p>From Dashboard go down to appearance&gt;Customize&gt;Additional CSS, and within that box put:<\/p><br>\n\n\n\n<pre class=\"wp-block-code\"><code>p {\ntext-indent: 2em;\nmargin: 0;\n}<\/code><\/pre>\n\n\n\n<p>Ok, I cheated a little bit. There&#8217;s apparently no CSS for automatically creating indentions for the <strong>&lt;br&gt;<\/strong> so instead, since there is code for the p tag, what I did was search for code to <strong><em>eliminate the gap between Paragraphs. <\/em><\/strong><\/p>\n\n\n\n<p>I&#8217;m realizing now that this solution might not be optimal. Strike that. It&#8217;s not. Because when you are using the visual editor within WordPress its discombobulating and seems to screw up finding the + for creating a new paragraph. <\/p>\n\n\n\n<p>But the code for the P is a gem. So for now just do it like so:<\/p>\n<br>\n\n\n\n<pre class=\"wp-block-code\"><code>p {\n  text-indent: 2em;\n } <\/code><\/pre>\n\n\n\n<p>This will automatically indent all your new paragraphs, but not line breaks. Still it&#8217;s a great start and relief if you are using <strong>Twentyeleven<\/strong> and the lack of indention drives you crazy.  I&#8217;ll keep searching for that other answer though. The above code is totally taken from <a href=\"https:\/\/www.lifewire.com\/how-to-indent-paragraphs-with-css-3467086\">this post on Lifewire.com. Give them all the credit. <\/a><\/p>\n\n\n\n<p>It&#8217;s also cool to know that there is a sort of &#8220;in-built&#8221; on the fly version of child themes with Appearance&gt;&gt;Customize. Or at least I&#8217;m assuming it is. I would hate to think that if there was an update to Twentyeleven for example that those customizations would disappear. But at this point nothing would surprise me. <\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>From Dashboard go down to appearance&gt;Customize&gt;Additional CSS, and within that box put: Ok, I cheated a little bit. There&#8217;s apparently no CSS for automatically creating indentions for the &lt;br&gt; so instead, since there is code for the p tag, what &hellip; <a href=\"https:\/\/stephenpickering.com\/wordpress\/2019\/08\/17\/how-to-indent-new-paragraphs-and-line-breaks-in-twentyeleven-theme\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5620","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/stephenpickering.com\/wordpress\/wp-json\/wp\/v2\/posts\/5620","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/stephenpickering.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/stephenpickering.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/stephenpickering.com\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/stephenpickering.com\/wordpress\/wp-json\/wp\/v2\/comments?post=5620"}],"version-history":[{"count":0,"href":"https:\/\/stephenpickering.com\/wordpress\/wp-json\/wp\/v2\/posts\/5620\/revisions"}],"wp:attachment":[{"href":"https:\/\/stephenpickering.com\/wordpress\/wp-json\/wp\/v2\/media?parent=5620"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/stephenpickering.com\/wordpress\/wp-json\/wp\/v2\/categories?post=5620"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/stephenpickering.com\/wordpress\/wp-json\/wp\/v2\/tags?post=5620"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}