There are at to the lowest bird iv approaches to straight from if you lot lot wish to pose a divider betwixt your posts inwards Blogger. These days, I prefer the CSS-rule approach, because it's thus tedious as good flexible. But I've shown details of a few other methods too:
- Manually add together together a horizontal job organisation command to each post
- Use the post-footer color block as a job organisation (in Designer templates only)
- Add the HTML command for a job organisation to the principal subdivision of your template, inwards i of the post-footers
- Add a overstep or bottom-border to the CSS rule that formats the trunk of your posts.
Manually add together together a job organisation to each post
When you lot lot are editing a post, you lot lot tin pose a horizontal job organisation anywhere inwards the contents.If Compose Settings (under Post Options) is create to Interpret typed HTML, thus you lot lot tin but type <hr />, as good Blogger testament identify a job organisation similar this inwards your post.
If your Compose Settings (under Post Options) is create to Show HTML literally, thus you lot lot require to switch to the Edit HTML tab before you lot lot type <hr />.
Disadvantage: If your shipping service is create to display comments, or the weblog is create to exhibit the author, labels etc under the post, these items testament suffer underneath whatsoever job organisation that you lot lot add together together manually to a post.
Designer Template - shipping service footer colour
If your weblog has a designer template (ref, What multifariousness of template receive got I got), thus the Template Designer > Advanced tab may receive got an selection for setting the background color of the post-footer (depending on which template you lot lot are using).If you lot lot locomote a nighttime color (or receive got a nighttime background as good locomote a low-cal color), this makes the post-footer await similar a line.
Disadvantage: The "line" mightiness suffer a chip thicker than you lot lot like. And if your shipping service is create to display comments, or the weblog is create to exhibit the author, labels etc under the post, these items are shown right inside the footer line.
Add a line-command to your template
If you lot lot don't similar the other ii approaches, you lot lot tin alter your template to add together together a horizontal line. To do this:ane Edit your template:
In Sept-2011-Blogger (ie the new interface) instruct to Template > Edit HTML > Proceed
In pre-Sept-2011-Blogger (ie the quondam interface) instruct to Design > Edit HTML.
2 Download a full copy of your template, as good pose it somewhere condom (in representative things instruct wrong, as good you lot lot require to instruct dorsum to where you lot lot were).
3 Click on Expand Widget Templates.
4 Most templates receive got iii footer lines: what is inwards each i depends on the template, as good how you lot lot receive got arranged the items inwards the Layout > Blog Posts editor.
Look at the template for code similar the following,
<div class='post-footer-line post-footer-line-2'><span class='post-labels'>OR
<b:if cond='data:post.labels'>
<data:postLabelsLabel/>
<b:loop values='data:post.labels' var='label'>
<a expr:href='data:label.url' rel='tag'><data:label.name/></a><b:if cond='data:label.isLast != "true"'>,</b:if>
</b:loop>
</b:if>
</span> </div>
<div class='post-footer-line post-footer-line-3'/>
</div>
as good add together together the <hr /> command to which e'er i you lot lot want, for example
<div class='post-footer-line post-footer-line-3'/>
<hr />
</div>
Advantage: you tin easily identify the divider job organisation anywhere you lot lot wish it, relative to the other items inwards your post-footer.
Disadvantage: you lot lot require to modify your template, as good this does receive got some risks. And it does locomote the <hr /> tag which but almost people (CSS purists) advise is non a skillful idea.
Enhancements to the basic <hr /> command:
There are lots of ways you lot lot tin modify the <hr / > code. For example
<hr style="text-align: left;" /> - to left-align it
<hr style="color: red;" /> - to alter the color
<hr style="width: 50%;" /> - to instruct far narrower
See w3c.schools <hr /> tag for to a greater extent than information.
Add a border to the CSS govern that formats your posts
Quick option:
If you lot lot receive got a designer template, thus the quick way to build this alter is to add a CSS govern to your template. The govern code to add together together is:.post-body
{
border-bottom:1px dotted #666666;
}
or this i if you lot lot wish the border at the overstep of each post:
.post-body
{
border-top:1px dotted #666666;
}
In-depth
The specific CSS govern that controls how the "body" of your posts await is .post-body. To build changes to it:ane Go to Design > Edit HTML
ii Download a full copy of your template, as good pose it somewhere condom (in representative things instruct wrong, as good you lot lot require to instruct dorsum to where you lot lot were).
iii Look for .post-body inwards the rules subdivision of your template. It testament await something similar this, but the exact lines as good values may suffer different:
.post-body {4 If you lot lot can abide yesteryear a .post-body rule, thus add together together this line, but before the } character.
margin-top: 0;
margin-$endSide: 2px;
margin-bottom: 0;
margin-$startSide: 3px;
}
border-bottom:1px dotted #666666;5 If you lot lot cannot abide yesteryear a .post-body tilt inwards the rules subdivision of your template, thus you lot lot require to add it.
Put it somewhere:
After <b:skin><![CDATA[/*
Before ]]></b:skin>
But non inwards the middle of whatsoever other rules: await at how the balance of that subdivision of your template is laid upwards out for clues.
The tilt to add together together is something similar the following, though you lot lot may wish to examine out different values for parts of it.:
.post-body {
border-bottom:1px dotted #666666;
margin-top: 0;
margin-$endSide: 2px;
margin-bottom: 0;
margin-$startSide: 3px;
padding-top:10px;
margin-top:20px;
}
Alternative formats:
The #666666 way depict the job organisation inwards black - you lot lot may similar to locomote a different colour, or locomote the discussion "solid" instead of "dotted" to build a firmer looking line.As an alternative, you lot lot tin nation border-top:1px dotted #666666; - this puts a job organisation at the overstep of the trunk of each post, but underneath the title.
Related Articles:
What multifariousness of template receive got I got
Disadvantages of editing your blog's template.
Adding a new CSS rules to your template
Centering the Post-title or Page-title
Putting HTML from elsewhere into your blog.
