Sunday, June 26, 2011

Sliding sidebar title text area to the Center

Note the title text on each blog sidebar. The location of the text of the title is usually right, left, and Center. In fact, this is not a special case. But in general the location of the sidebar text title always side to the left, according to the element template.

If you are satisfied on the position of caption text sidebar. You can move it to the center.

His pace as follows:

(1) the blogger login. After the entry, click design. Click on Edit html.

2. Click on the links to download full template. When you are done (download). Then enter a small check box next to the to expand widget templates.

3. find similar code as follows:


. Sidebar h2 {color: # 000;} Font-size: 14px; Font-family: Arial, Tahoma, Verdana; Font-weight: bold; margin: 0px 0px 10px 0px; padding: 4px 4px 5px 10px; Border-bottom: solid # C0C0C0 "1px"; Letter-spacing: 0em; Text-transform: capitalize; {background: # 87CEFA;}

You don't be surprised if the code is not exactly the same. See the source code of . Sidebar h2

4. After you run the code, add text-align: center; in the sequence of code (No. 3).

(5) to more or less the result as follows:

the sidebar h2 {...} Color: # 000; Font-size: 14px; Font-family: Arial, Tahoma, Verdana; Font-weight: bold; margin-: 0px 0px 10px 0px; padding: 4px 4px 5px 10px; Border-bottom: solid # C0C0C0 "1px"; Letter-spacing: 0em; Text-transform: capitalize; background: # 87CEFA; {Text-align: center;}

The writing Center is to set the position of the sidebar are to the center. If you want to replace correct links to sidebar. And right to left.

6. Once completed, Save the templatein the last step, click.

7. Stop and see the result.

If the increment is correct. Automatic text title in the sidebar would be in the middle.

Good luck!


Related Post :


0 komentar:

Post a Comment