How to break content into two and three column in Blogger?

How to break content into two and three column in Blogger
column break

In Blogger platform there is not any direct code for breaking content column inside Blog post. Though there has a line break option but by using that we can only break the paragraph not column. Generally those who are willing to create and maintain news blog they may like to write content in newspaper style. We see in news papers that news appear in column basis so in News Blogger we can write our content in column style.


In this tutorial I will show you to breaking your content or post into two and three column. And by the help of CSS and HTML we can do this.  
Step 1 Log in to your Blogger Account and Go to your Blogger Dashboard

Step 2 Click on  -> Template -> Edit HTML->

Step 3
 Now find the </b:skin> by pressing Ctrl+F (Windows) or CMD+F (Mac)

Step 4 Copy and Paste below code above/before </b:skin>


.columnbreak{
   -webkit-column-count: 2;
    -moz-column-count: 2;
    column-count: 2;
}
.columnbreak2
{
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
}
.columnbreak3
{
    -webkit-column-count: 3;
    -moz-column-count: 3;
    column-count: 3;
    -webkit-column-gap: 40px;
    -moz-column-gap: 40px; 
    column-gap: 40px;
    -webkit-column-rule: 4px outset #BCB5B5;
    -moz-column-rule: 4px outset #BCB5B5;
    column-rule: 4px outset #BCB5B5;
}

Customization

  • To increase the number of Column please change  -webkit-column-count: 2;  -moz-column-count: 2; column-count: 2; with -webkit-column-count: 4;  -moz-column-count: 4; column-count: 4; (This will make the post into 4 column)
  • To alter the column barer alter #BCB5B5 with different color code.

How to make it work?

Don’t think this column will appear in all of your posts. While you wrap your content’s paragraph inside HTML code only then column will be visible. To make it work in Blogger Blog post you have to add selective paragraph first on HTML view from post editor and after that wrap paragraph with HTML code. After that switch to Compose view from HTML view and copy any code from the below code and paste it there.


post editor

 
<div class='columnbreak'> For 2 Column Posts - ADD YOUR TEXT HERE</div>

<div class='columnbreak2'> For 3 Column Posts - ADD YOUR TEXT HERE</div>

<div class='columnbreak3'> For 3 Column Posts with color barrier - ADD YOUR TEXT HERE.</div>

That’s it now check your Post and see your content than break into several columns. Just like newspaper Blog. Thank You.
Go Up