Customizing Search Widget

Blogger has introduced its Search Widget so that we can search for terms that are not included in Labels but could be present in the posts. Just like any other widget, you may drag and drop this at any position at the Template – page elements section. Here I shall giving you some self-help instructions so that you can customize the appearance of the widget and the result to suit your blog’s color schema. Before I get into the widget-code and details of style sheet… let see which part related to which section of the code. Its possible to customize everything that appears here… however… I am going to emphasis mainly on the Tabs & Results pane

  1. THE SEARCH FORM

Once you add a search widget to the blog form the page elemets.. and see the HTML of the widget you will notice that
<div class=’widget-content’ style=’width:95%’>
<div expr:id=’data:widget.instanceId + “_form”‘>
<span class=’cse-status’><data:loadingMsg/></span>
</div>

<div class=’widget-content’ style=’width:95%’> Width =95 % determines that the search box occupied the 95% space of the area where you are placing this widget. Lets say you are keeping this widget in the sidebar .. then the search box & the search button together will occupy the 95% of the sidebar. Play around with this number .. you will see the search box decrease and increase in length accordingly

<div expr:id=’data:widget.instanceId + “_form”‘> Here you will notice “form” which means that the search box and the search button are put togather in a form when this widget was created… and the developer has deiced to make them appear in the same line. So If you feel like putting the search button below the search box.. then I am afraid.. it doesn’t seem to be possible now. However.. we can always play with the width and decide on the optimum width that suits your blog

<data:loadingMsg/>This is something that shows the “LOADING…..” message when the page is being downloaded in the browser… you can delete this tag and add you own custom message as …” Wait..” or something else

  1. TABS ( OPTIONS YOU CHOOSE WHILE CONFIGURING THIS WIDGET)

If you remember… while configuring the search widget in the Page Elements Section.. you have the options to allow search to be performed amongst the posts / texts in Your Blog – Links that you have given in your blog – The Entire Web. Now the results for these options appear as Tabs ( see pic). Blogger has provided us with the default style sheets for the search widget so that we can modify the appearance of the Tabs & Results ( after all this is what the reader sees after hitting the search button)

The Edit-HTML of your template ( Check the Expand widgets box) will have the following. You can give the color codes of your choice and see the difference it makes in the appearance of the tabs

For ..ACTIVE Title -TAB For…INACTIVE Title-TABS

#uds-searchControl .gsc-tabhActive
{
border-color:<data:borderColor/>;
border-top-color:<data:activeBorderColor/>;
background-color:transparent;
color:<data:textColor/>;
}

#uds-searchControl .gsc-tabhInactive
{
border-color:<data:borderColor/>;
background-color:transparent;
color:<data:linkColor/>;
}

  1. DISPLAY RESULTS

The Results pane is always displayed above all of your blog posts. You will see the following in your template which is responsible for the appearance of the Results in your blog . You may see that I have changed the background color to the value of the pale turquoise color

#uds-searchControl .gsc-results
{
border-color:#cccccc;
background-color:#D7FDFC;
color:black;
}

With a little customization.. the dull looking ( but very effective) search box can be given a total makeover so that it begins to look like a part of your blog.If this post has been helpful you… pass the word and dont forget to link back
Your appreciation is my motivation

Personalising Blogs with Fonts of your choice

The first thing that comes to a blogger’s mind when he is setting up the visual space of this blog is to give his own personal style to the look of the blog.This is much before he even thinks about posting.

Fair amount of personalisation can be done without getting involved in too many technical stuff … simply put – by changing the font style , color , font size etc etc

A more generalised way to do this will be to locate this your TEMPLATE – FONTS AND COLORS

  1. Scroll down the list
  2. Slect the item whose font (type & color) you wish to modify..
  3. Slect the fontype listed and the color prefered
  4. Save and repeat the process for another one from the list

If the list of fonts provided by the bloger does not satisfy you,, and you desperately wish that blogger has provided more choice in font names.. then acomplising this is not great feat

However, To do this you need to identify certains areas in your template taht represent the following
DONOT FORGET TO SAVE A BACKUP COPY OF YOUR TEMPLATE

  1. Blog title
  2. Blog description
  3. Post Title
  4. Post body
  5. Post footer
  6. Comment author
  7. Comment body
  8. Comment Footer
To these sections in your Templates (Style sheets) you may add any / all of the following
( FONT NAME ) font-family:Monotype Corsiva;
( FONT SIZE ) font-size:20px;
(FONT COLOR ) color:green;

If you are not sure of what font names to give.. Open a word document – change the font of the texts – this will help you visualise and experiment with different font styles. Then you may copy paste the font name . Save and see the result

If you feel that this post has helped you in anyway.. do leave a note
Your appreciation is my motivation

Manipulating the Post-Footer

The post-footer is a very personal space for Bloggers..Many would like to have their custom-logo ; picture ; links etc to appear right after every post. Blogger gives us “comments – Quick edit – Email link ..and many more that we find in the Edit of Blog posts (TEMPLATE – Pagelements )..”

Post footer is that small space that you see below every post in yor blog-main page. In addition to all the standard ones given to us by blogger, we can give our own signature touch to the post-footer.

Before we try our hands on editing the post-footer contents in the template..lets get to know how its organised

  1. SAVE AND BACK UP YOUR TEMPLATE
  2. Locate
    <div class=’post-footer’>
    <p class=’post-footer-line post-footer-line-1′>

Now here is what you need to understand

<div class=’post-footer’>
<p class=’post-footer-line post-footer-line-1′>
CODE TO SHOW AUTHOR NAME
CODE TO SHOW TIME-STAMP OF THE POST
CODE TO SHOW THE NUMBER OF COMMENTS
CODE TO LINK TO THE BACKLINKS TO THE INDIVIDUAL POSTS

<span class=’post-icons’>
CODE TO SHOW EMAIL ICONS
CODE TO SHOW QUICK EDIT ICON

</p>
<p class=’post-footer-line post-footer-line-2′>
CODE TO SHOW LABLES
AND ANY OTHER THINGS THAT YOU MAY HAVE CHOSEN TO SHOW FROM THE BLOG-EDIT (template-pageelemts)

</p>
<p class=’post-footer-line post-footer-line-3’/>
</div>
  1. It is advisable that you dont mess with the codes in line-1 and line 2..Unless you are very much sure of wat you are doing
  2. So..You can add your customised links-pics etc in the line-3 of the post footer..after you have made this slight change in the footer code
  3. Change the
    <p class=’post-footer-line post-footer-line-3’/>
    to
    <p class=’post-footer-line post-footer-line-3′>
    You may add the code for your links – pictures here
    </p>

If this post had been helpful to you.. kindly drop a word and link back to me as a gesture of appreciation for the effort taken.
Your appreciation is my motivation

Mystery of the dropping sidebar :-SS

Its common to hear from your blogging friends to say “Hey your sidebar slipped to the bottom.. fixing it will make your blog look great”.. However when you see the blog in the browser everything appears just fine..This will drive you nuts ~x( trying to figure out wahat could be happening.There are two possiblities
POSSIBILITY – 1:-
The problem could be in the visitors screen width and resolution.Not all will be viewing at the same screen widht and resolution.For Eg: A sees with a monitor with 21 inch and B with say 17 inches… so When A sees the blog all the colums are in place (Good.. ok) but when B sees its.. its only natural that the screen cannot accomodate the contents so it drops few items to the bottom.

POSSIBLITY : – 2.
May be you have posted a link that is sooo looong that in an attempt to dispaly in a single line, the rest of the elements are dropped to the bottom.When the link in the main post is loooong, the sidebar is dropped and when vice versa

Take a close look at your template (provided you are able to identify which section represents which colum)This is with refrence to my template

#main-wrapper /*—————Center colum——————-*/
{
color: #666666;
padding: 0px 0px 0px 0px;
border-right: 1px solid maroon;
border-left: 1px solid maroon;
margin-left: 0px;
margin-bottom: 0px;
width: 59%;/* Earlier this used to be 430px*/
float: left;
word-wrap: break-word;/* fix for long text breaking sidebar float in IE */
}

#sidebar-wrapper /*————Right side colum—————–*/
{
font-family: Georgia;
text-decoration: none;
font-weight: regular;
font-size:11px;
margin-top:0px
margin-right: 0px;
text-transform: capitalize;
width: 20%;/* Earlier this used to 160px*/
float: right;
text-align: center;
word-wrap: break-word; /* fix for long text breaking sidebar float in IE */
}

#newsidebar-wrapper /*—————-Left side colum————-*/
{
font-family: Georgia;
text-decoration: none;
font-weight: regular;
font-size:11px;
margin-right: 0px;
width: 20%;/* Earlier this used to 160px*/
float: left;
text-align:left;
word-wrap: break-word; /* fix for long text breaking sidebar float in IE */
}

If you are trying to convert the width of the colums from pixels to percentage, i suggest that you have a test-blog with exactly the same template and modify the width , once you are satisfied with the look of the colums, then change the appropriate values.If you are not sure, which block represents which colum,:-? its always wise to color-code them for easy recognition.

Color-coding means you give diffrent backgound color for each cloum so that it get easy on you to identify the cencerned block of code in thetemplate.just add
background-color: pink; for one
background-color: green; for one
background-color: yellow; for one

Now when u see in the browser, you know what is happening to exactly which colum.Remeber do this only in the test blog.>:/

Modifying your Date-Header

The Date Header is something that appears right above each post.Depending on the template chosen..the date-headers will be dispalyed in a certain font-size-color.
However its possible to give an entirely different look to your date header

  1. SAVE AND BACK UP YOUR TEMPLATE
  2. Locate……
    <Variable name=”dateheadercolor” description=”Date Header Color” type=”color” default=”#4F5052″>

    This determines the color in which the date header is displayed.You can Give the color of your choice by modifying the default=”#4F5052″.In order to know the Hexadecimal Value of the color that you would like to use..refer to
    Hexa-decimal Color chart
  3. Locate……
    .date-header {
    margin: 0 0 0 0;
    margin-right: 10px;
    margin-left:10px;
    border-bottom: 1px solid #942d08;
    text-decoration: none;
    font-family: Georgia, “Times New Roman”, serif;
    color: #940f04;
    font-size: 11px;
    text-align: right;
    }
  4. Here you may modify the font-family , font-size , color ie..The Color in which you want the date to appear ..eg:-My date header appears in maroon color
  5. Perform the required changes
  6. Save and View

Hope you were able to follow the instructions and arrive at the look you always wanted for your blog.Drop in your comments to let us know how you feel after making these changes.And..dont forget to backlink to this post so that you may guide a fellow blogger who would like to have the same changes made.

Have a Static Background

How about a picture that stays in its place as a background for your blog.. and the rest of the blog contents moves over it..Something that you can see here.Instructions to do this to your blog is as follows.Read on..

  1. SAVE AND BACK UP YOUR TEMPLATE< /span>
  2. Its my personal experience that uplaoding the pic to blogger and then using that URL to act as background does not work quite the way we want it to.So its best to use some file hosting service that allows backlinking.I have used Fileden.
  3. In your Template-Edit HTML Locate the
    body {
    margin:0;
    text-align:center;
    line-height: 1.5em;
    font: x-small Trebuchet MS, Verdana, Arial, Sans-serif;
    }
  4. To that add the following
    background-image: url(“URL of the background picture“);
    background-repeat: no-repeat;
    background-attachment:fixed;
    background-position: center top;
  5. Now your final code might look like this
    body
    {
    background-image: url(“(“URL of the background picture“);
    background-repeat: no-repeat;
    background-attachment:fixed;
    background-position: center top;

    margin:0;
    text-align:center;
    line-height: 1.5em;
    font: x-small Trebuchet MS, Verdana, Arial, Sans-serif;
    }
  6. Save and View

hope you were able to include this in your blog.Do drop a word at the comments page..And it will make me extra happy if you included this link in the CREDITS list.Tell us how you liked this…

Understand your Beta-Template

I have come across many bloggers who have great ideas but are scared to even try them on their template for the fear of messing it up and ruining several days labour. So i have compiled a small note on getting to know your temmplate as individual sections.the Links are to a text file and they will open in a new window. If the links donot open or if you are not able to see the text file kindly let me know

Color Chart Variable Defenition Hyperlinks
Header 3-Colum-body Date-header
Post Body SideBar appearence Footer
Post Footer Post Template

Do let me know if your opinion.There are many who may have the same doubhts as you.So Share your views and help us all.

Using Icons – Images for Bulleted lists in posts & sidebar

When we make a list, we want them to appear a little diffrenly than our regular post content.This is our way of emphasising certain things. For long I have been using the the following tags for list
Appearence of Lists in Posts

Ordered lists
Unordered Lists
<ol>
<li>List Item 1</li>
<li>List Item 2</li>
<li>List Item3</li>
</ol>
<ul>
<li>List Item 1</li>
<li>List Item 2</li>
<li>List Item 3</li>
</ul>
  1. List Item 1
  2. List Item 2
  3. List Item 3
  • List Item 1
  • List Item 2
  • List Item 3

Arrow Shaped bullets for Unorderd Lists
Earlier I used to get a “dot” in place of the arrows that you now see in the unordered list.I was getting bored by that look. So i did this in my template

  1. SAVE AND BACKUP the template
  2. Locate the .post{}
  3. Add
    .post ul
    {list-style-image: url(http://h1.ripway.com/Deepa/bullet.ico );}
  4. Save and View

Bullet numbers in a diffrent color in Ordered Lists

  1. SAVE AND BACKUP the template
  2. Locate the .post{}
  3. Add
    .post ol.coloredNumbers
    { color:maroon;
    }

    .post ol.coloredNumbers li span
    {
    font-weight: regular;
    color:#375267;
    }

  4. Add following to your post template
    Use this for ordered lists only
    <ol class=”coloredNumbers”>
    <li><span>First </span></li>
    <li><span>Second </span></li>
    </ol>
  5. So that anytime you use ordered list..place the list items between the following tags
    <ol class=”coloredNumbers”>
    <li><span>
    —List Item -1— </span></li>
    <li><span> —List Item -2— </span></li>
    <li><span> —List Item -3— </span></li>
    </ol>

Appearence of list in sidebars
The lists in my sidebar have diamond shaped icons as bullets

  1. Locate
    .sidebar li {
    margin-left: -10px;
    padding: 0 0 .03em 0px;
    text-indent: -15px;
    line-height: 15px;
    }
  2. Add
    list-style-image: url(http://h1.ripway.com/Deepa/bullet2.ico );
  3. Here you can substitute the URL with the icon-image that you want to use with the bullets…Till then feel free toshare my link to the bullet icon.
  4. When ever you want a bulleted list in the sidebar..use only
    <ol>
    <li>
    —List Item -1— </li>
    <li> —List Item -2— </li>
    <li> —List Item -3— </li>
    <ol/>

I undersntad that this is too much to grasp in one reading..So just take your time…trythis in a test blog. I am sure that withlittle time and perseverance you too can give your posts a cool look with customised bullets.Do drop a word if you are facing any difficulty.I shall be Glad to help

To have Background picture for your header

Many custom templates offered by blogger beta either does not have a Background picture.. or the picture presented by default may not suit our taste. You too can have a custom looking header to your blog.Just follow the instructions closely

  1. SAVE YOUR TEMPLATE
  2. in TEMPLTE -EDIT HTML LOOK FOR
    #header-wrapper
    {
    width:700px;
    margin:0 auto 10px;
    border:1px solid $bordercolor;
    }
  3. Add the background-image: url(THE URL OF YOUR PICTURE); to your header-wrapper
  4. So that your final code should look something like this
    #header-wrapper
    {
    width:700px;
    margin:0 auto 10px;
    border:1px solid $bordercolor;
    background-image: url(THE URL OF YOUR PICTURE);
    }
    • If the picture of your choice is in the web.. then give the webURL
    • IF the Picture is in your hard disc then
      1. Then have a new post and insert that picture
      2. Go to edit html page…. You will see the html code for that picture
      3. Copy paste that code into a notepad
      4. Publish this new post (don’t worry u can delele later)

    • Use the URL u got from the previous step to get that picture on the header
    • IF you are satisfied with the new look of the header then you can delete the post having the picture. Don’t worry.. this will not affect the header…as the picture is stored in blogger
  5. SAVE and view your blog

You make me happy by comming and reading this post.You can make me feel little more happier by dropping in your comments.Good luck to have your customised header picture