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

How to break content into two and three column in Blogger

Comments: 0
data:blog.title
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.

Speak Your Mind

Facebook Group Community Code ConverterHide Code Converter Show EmoticonHide Emoticon

If you Got questions? Ask ’em below! While we’re here, you might like to leave a comment and let me know if you have any stories or questions.

Make sure you tick the Notify Me box below the comment form to be notified of follow up comments and replies. Thank you for commenting

Contact Form

Name

Email *

Message *