adsense

How to Insert a Line After Each Blog Post on WordPress





1. Log into the dashboard of your WordPress blog. Select 'Editor' under 'Appearance' from the icons on the left. Select 'Stylesheet' under 'Styles' on the far right side (if necessary; style.css is usually open by default in the editor).
2. Scroll through style.css until you locate .post. Depending upon your theme, the Cascading Style Sheet class may have a slightly different name. You can also use your browser's 'Find' function to find each instance of the word 'post' used in the style sheet. Press 'Ctrl' 'F' to open 'Find.'

3. Add code similar to the following:margin-bottom: 15px;border-bottom: 1px solid #000000;The first line indicates how much space to place between the bottom line of your post's text and the horizontal line. The second line specifies the width, style and color of the line.
4. Click 'Update File.' Click the name of your blog at the top of the page to open your website's home page. If you are using the default configuration, you will see your 10 most recent blog posts separated from each other by thin black lines.

Comments

0 Responses to "How to Insert a Line After Each Blog Post on WordPress"

Post a Comment

Popular Posts

About