{"id":1691,"date":"2025-02-25T11:57:51","date_gmt":"2025-02-25T02:57:51","guid":{"rendered":"https:\/\/cooss.net\/wordpress-paragraph-title-styles\/"},"modified":"2025-03-14T10:05:10","modified_gmt":"2025-03-14T01:05:10","slug":"wordpress-paragraph-title-styles","status":"publish","type":"post","link":"https:\/\/cooss.net\/en\/wordpress-paragraph-title-styles\/","title":{"rendered":"WordPress Paragraph Title Styles"},"content":{"rendered":"\n<p>If you want to style your writing beautifully, you can use &#8216;Elementor&#8217; or other editor plugins, but doesn&#8217;t it take too much time and effort to style everything individually?<\/p>\n\n\n\n<p>I have installed &#8216;Elementor&#8217;, but I think it\u2019s also good to use the default WordPress editor when writing posts.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Styling by Paragraph Title Tags<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Tag Selection<\/h3>\n\n\n\n<p>Write your content by simply selecting the heading tag H3 as shown below.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1024\" height=\"430\" src=\"https:\/\/cooss.net\/wp-content\/uploads\/2025\/02\/image-1024x430.png\" alt=\"\" class=\"wp-image-662\" title=\"\" srcset=\"https:\/\/cooss.net\/wp-content\/uploads\/2025\/02\/image-1024x430.png 1024w, https:\/\/cooss.net\/wp-content\/uploads\/2025\/02\/image-300x126.png 300w, https:\/\/cooss.net\/wp-content\/uploads\/2025\/02\/image-768x322.png 768w, https:\/\/cooss.net\/wp-content\/uploads\/2025\/02\/image-600x252.png 600w, https:\/\/cooss.net\/wp-content\/uploads\/2025\/02\/image.png 1218w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Title Styles such as Font and Size<\/h3>\n\n\n\n<p>The styles for the H3 tag can be specified in [Customize Your Theme]. Of course, there may be themes that do not support this feature, but here we assume we are using the Kava child theme, and you can check it in the menu below.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"447\" src=\"https:\/\/cooss.net\/wp-content\/uploads\/2025\/02\/image-1-1024x447.png\" alt=\"\" class=\"wp-image-663\" title=\"\" srcset=\"https:\/\/cooss.net\/wp-content\/uploads\/2025\/02\/image-1-1024x447.png 1024w, https:\/\/cooss.net\/wp-content\/uploads\/2025\/02\/image-1-300x131.png 300w, https:\/\/cooss.net\/wp-content\/uploads\/2025\/02\/image-1-768x336.png 768w, https:\/\/cooss.net\/wp-content\/uploads\/2025\/02\/image-1-600x262.png 600w, https:\/\/cooss.net\/wp-content\/uploads\/2025\/02\/image-1.png 1062w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Spacing Between Paragraphs<\/h3>\n\n\n\n<p>It\u2019s good to leave some space between paragraphs, so we define the style as below.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>h3 {\n    padding-top: 100px; \/* Add space between the previous paragraph *\/\n}<\/code><\/pre>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Adding Icons to Paragraph Titles<\/h3>\n\n\n\n<p>Adding something like an icon before the title text is convenient to define as a style, and below is an example of creating a purple bar.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>h3::before {\n    padding-top: 50px; \/* Adjust appropriately with the font size and height specified for h3 so that the text is centered *\/\n    content: \"\";\n    display: inline-block;\n    width: 8px;  \/* Bar width *\/\n    height: 1.2em; \/* Bar height (adjusted to font size) *\/\n    background-color: purple; \/* Bar color *\/\n    margin-right: 15px; \/* Add wider spacing than before *\/\n    vertical-align: middle;\n}<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Applying Styles<\/h3>\n\n\n\n<p>Styles can be recorded in the style.css file in the theme folder and uploaded to the server.<\/p>\n\n\n\n<p>In the case of the Kava child theme, it provides a dialog to define additional CSS as shown below, so you can write it here.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"801\" height=\"575\" src=\"https:\/\/cooss.net\/wp-content\/uploads\/2025\/02\/image-2.png\" alt=\"\" class=\"wp-image-664\" title=\"\" srcset=\"https:\/\/cooss.net\/wp-content\/uploads\/2025\/02\/image-2.png 801w, https:\/\/cooss.net\/wp-content\/uploads\/2025\/02\/image-2-300x215.png 300w, https:\/\/cooss.net\/wp-content\/uploads\/2025\/02\/image-2-768x551.png 768w, https:\/\/cooss.net\/wp-content\/uploads\/2025\/02\/image-2-370x265.png 370w, https:\/\/cooss.net\/wp-content\/uploads\/2025\/02\/image-2-600x431.png 600w\" sizes=\"(max-width: 801px) 100vw, 801px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Checking Style Results<\/h2>\n\n\n\n<p>From now on, if you use the H3 tag to write titles, the paragraph spacing and title styles will be applied, and the text will be displayed as shown below.<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"841\" height=\"457\" src=\"https:\/\/cooss.net\/wp-content\/uploads\/2025\/02\/image-3.png\" alt=\"\" class=\"wp-image-665\" title=\"\" srcset=\"https:\/\/cooss.net\/wp-content\/uploads\/2025\/02\/image-3.png 841w, https:\/\/cooss.net\/wp-content\/uploads\/2025\/02\/image-3-300x163.png 300w, https:\/\/cooss.net\/wp-content\/uploads\/2025\/02\/image-3-768x417.png 768w, https:\/\/cooss.net\/wp-content\/uploads\/2025\/02\/image-3-600x326.png 600w\" sizes=\"(max-width: 841px) 100vw, 841px\" \/><figcaption class=\"wp-element-caption\">Example Image of Style Application<\/figcaption><\/figure>\n<\/div>\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">References<\/h2>\n\n\n\n<p>Sometimes, even after changing styles, they may not be applied immediately on the screen.<\/p>\n\n\n\n<p>This is usually because the browser is caching the previous styles and displaying them, but if you refresh forcefully with Ctrl+Shift+R, the changed styles will be applied.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you want to style your writing beautifully, you can use &#8216;Elementor&#8217; or other editor plugins, but doesn&#8217;t it take too much time and effort to style everything individually? I have installed &#8216;Elementor&#8217;, but I think it\u2019s also good to use the default WordPress editor when writing posts. Styling by Paragraph Title Tags Tag Selection [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[78,86],"tags":[],"class_list":["post-1691","post","type-post","status-publish","format-standard","hentry","category-marketing-m-en","category-wordpress-en"],"_links":{"self":[{"href":"https:\/\/cooss.net\/en\/wp-json\/wp\/v2\/posts\/1691","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cooss.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cooss.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cooss.net\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cooss.net\/en\/wp-json\/wp\/v2\/comments?post=1691"}],"version-history":[{"count":0,"href":"https:\/\/cooss.net\/en\/wp-json\/wp\/v2\/posts\/1691\/revisions"}],"wp:attachment":[{"href":"https:\/\/cooss.net\/en\/wp-json\/wp\/v2\/media?parent=1691"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cooss.net\/en\/wp-json\/wp\/v2\/categories?post=1691"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cooss.net\/en\/wp-json\/wp\/v2\/tags?post=1691"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}