How to Insert a Border into a WordPress Blog Post
Because the WordPress post editor allows you to work with HTML, you can easily insert custom HTML codes into WordPress posts. One design change you may want to make to a post is to wrap a border around the post body. You can do this using basic Cascading Style Sheets. You can also customize the size, style and color of the post border.
Instructions
-
-
1
Sign into WordPress, and click "Posts." Click the post you want to add a border to.
-
2
Click "HTML" inside the post editor. Move your cursor to the beginning of the document.
-
-
3
Type the following code:
<div style="border 1px solid black;">
-
4
Change the thickness of the border, if desired, by increasing the "px" value. For example, you could make a thicker border by replacing "1px" with "3px." It's best to experiment to find the ideal size.
-
5
Replace the border style with your desired style. For example, you could replace "solid" with "dotted," or you could replace "black" with "blue."
-
6
Move your cursor to end of the WordPress post to type the div closing tag:
</div>
-
7
Click "Update" to save the changes. The border is now visible around the WordPress post.
-
1