Making Left and Right Sidebar

A few weeks a go, I posted on how to make a new sidebar in minima template. I changed two sidebar template into three sidebar template. That posting has many comments from the readers. They gave the comments in shout box or in comment form. Their comments are variety. Some readers told their happiness because they could make their blogs into three column, congratulation readers. But, some of them are still curious and need more for that posting. Below is one of the comments from curious and unsatisfied readers;
Kang…How can I put the main column in the middle or between left and right sidebar??? Please help me …Thanks.
Djenggot : Hmmmmmmmmm…wanna know how to do that?...well that’s secret!
Reader : Huh..Djenggot is stingy
Djenggot : Just kidding
Reader : Please…
Djenggot : Ok…
To make a new sidebar isn’t difficult, you only need to place the float code in the left and add the padding-right isn’t so that the left column and the main column don’t touch each others. You are confused, aren’t you? Well, I make you confused ..Just kidding again?
For you who want to place the sidebar column in the left, please read article from my friends blogs this article first because the present article is the continuation of that article. I am afraid that if you directly read this article, you will get more confused.
Before I continue to tell you about this topic, I suggest you not to use your main blog to do this tutorial but the use the other or trial blog. Why? In order to anticipate the unexpected result. If this experiment doesn’t work well, it will not damage your main blog…right? But only damaging your trial blog.
Ok, my friends..let’s start. I assume that you have made or created a new column. First, never give a check for Expand widget Template box. If you do it, it will give you a very complicated and confusing widget code.
In my previous posting, I wrote this code;

I order to make different result with the previous posting. I mean that the column isn’t in the right but in the left, you should only change the code a little. Please, look at the red code below and change them into:

If you see the blue codes, you only need to change the two line code and don’t change the others code. After changing it, don’t forget to save the template.
Next, go to the bottom of your template and find body. In the previous posting, I suggested you to put the code like this ;

Now, if you want to place the new sidebar in the left side, then you have to move that sidebar code above the main code (posting). The whole codes will look like the following:

Remember to click save template after finishing it. Finally, view the result…..what do you think? do you like your new template? I think so.
It is easy, isn’t it? Hopefully you understand my explanation and if you want to see the sample blog with the sidebar in the left and right, you can see it here.

Artikel Terkait

By Djenggot with 0 comments


Leave a Reply