-

22 July 2015

Metro Style Search Bar for Blogger

VM | 9:47 am | Be the first to comment!
As Microsoft has enrolled the new Windows 8 Metro Style OS, a lot of change in the designing section of the blogging community has been seen. Now a days people are changing their template/theme and giving them a Metro look. If you are one of those people here is a fabulous widget for you - A Metro Style Blogger Search Bar.

Its CSS has been compressed to make it load faster. The bar looks very cool and I personally like it. Well there is no need to demo for this search bar, you can see how this search bar looks in the above image.

If you think that you need to make some changes in the code or the above button is not working for you then you may use this method.
Go to Blog Title → Layout → Add Widget → HTML/JavaScript. Paste the below code.

<style>
#abt-search-btn {
background: none repeat scroll 0 0 #359BED;
border: 0 none;
border-radius: 0 0 0 0;
color: #FFFFFF;
font-weight: 700;
padding: 10px 20px;
}
#abt-search-box {
background: none repeat scroll 0 0 #EEEEEE;
border: 0 none;
padding: 10px;
width: 160px;
}
</style>
<form id="searchthis" action="/search" style="display:inline;" method="get">
<input id="abt-search-box" name="q" size="40" type="text" placeholder=" Type! :D "/>
<input id="abt-search-btn" value="Search" type="submit"/>
</form>

Now save the widget and save the template. If you want to increase/decrease the text box width change 160px with your desired width.

You are done now. Now you and your visitors can see this awesome Metro style Search bar in your blog.
Read More »

15 April 2013

Create a Pressed Button Effect with CSS

VM | 10:15 am | Be the first to comment!

The HTML

Simply add a class to your link.

<a href="#" class="readmore">Click Here</a>
The CSS

This is where the fun stuff happens.
First just give the button it’s visual styling. In this case I’m duplicating the grey button effect from my home page slider.
Note the box shadow style. The y-axis distance is set to 3px, which gives the box element a 3px drop shadow on the bottom.

The Rollover

Now, on hover, you will want to again style the visual portion of the button. Then you will need to do two things:
  • Position the link “relative” and assign the top to have 3 extra pixels.
  • Define the box shadow again, only now set the value to “none”.
This removes the distance of the drop shadow and moves the button down to that equal distance.
 
.readmore {
background: #2f2f2f;
text-align: center;
display: block;
width: 120px;
border-radius:8px;
-moz-border-radius:8px;
-webkit-border-radius:8px;
box-shadow: 0px 3px 5px #000;
-moz-box-shadow: 0px 3px 5px #000;
-webkit-box-shadow: 0px 3px 5px #000;
}
.readmore:hover {
position:relative;
top:3px;
color: #fqq;
box-shadow:none;
-moz-box-shadow:none;
-webkit-box-shadow:none;
}


OR TRY THIS 

a.readmore {
 background: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiamS6X_jR97hrEjEXCCWITiwGSBIoHlvxxEfa8SvccQItatnORMptuCjP7Kwj08XvNGV9Zp_QJH9yRFTLjA9_5PbFhhLjC0XwHp0RPWJ8TLoi1LJFXuY2sXA7MtffS7a2b15CZnZagIGw/s1600/readmore_bg.jpg")
 no-repeat scroll right center transparent;
 border: medium none;
 border-radius: 8px 8px 8px 8px;
 box-shadow: 0 3px 3px #000000;
 width: 120px;
 color: #5DBA82;
 font-size: 16px;
 font-weight: bold;
 line-height: 16px;
 margin: 5px auto;
 padding: 5px 55px 5px 15px;
 text-align: center;
}
a.readmore:hover {
 box-shadow: none;
 color: #FFFFFF;
 position: relative;
 top: 3px;
}

In Action


Click Here
Read More »

1 April 2013

How to remove attribution powered by blogger

VM | 6:47 pm | Be the first to comment!
It can be removed by three methods.

Using edit HTML method


Step 1: Go to Template > Edit HTML > Proceed

Step 2: Search for attribution, We can find the following code.


 <b:widget id='Attribution1' locked='true' title='' type='Attribution'/>

Step 3: Delete or comment out the above code.

Sometime, this method will work. If it is not working use the following method.


Using Unlock method


For this method, up to step 2 everything is same. After searching and finding the above code, change the red coloured true to false.

 <b:widget id='Attribution1' locked='true' title='' type='Attribution'/>

So the code will be like this.


<b:widget id='Attribution1' locked='false' title='' type='Attribution'/>



Now close Edit HTML. Go to Layout. Find widget named Attribution. Click edit. Click on the Remove button. Gone..

Removing Attribution

Hide using CSS Method

For this method, up to step 2 everything is same. Add following code inside your style sheet. i.e., above

]]></b:skin> 
tag. Search for this tag and add following just above it.

  #Attribution1 {display: none;}

Then save..
Read More »

How to remove subscribe to posts(atom) on blogger

VM | 6:10 pm | Be the first to comment!


Under every post on Blogger, there is a Subscribe to posts(atom) link. This link is a RSS feed subscription link. The default postion of the link is under the page navigation. Blogger has only the default text on their template.
In order to remove this link, we can use two methods. First method is the removal method and second one is the hiding method. Hiding one link in a page has effect on your search engine optimization. If a search engine finds a hided link on your blog, it will count you as a spammer. So avoid that method. Any way I am mentioning both methods.

Remove the link

As I mentioned before, this is the best method. Go to Edit HTML of your blog template, tick Expand Widget .


<b:include name='feedLinks'/>


Delete the code from the template and save. Now check your blog.


Hide the link

This method has some effect on search engine optimization. If the above method is not working, use this method. We can hide any blocks using display:none. This method also using this technique.

Take Edit HTML and locate 

]]></b:skin>

Add the following code just before to the above code.


.feed-links{display:none !important;}


Now save the template and check your blog.



Under every post on Blogger, there is a Subscribe to posts(atom) link. This link is a RSS feed subscription link. The default postion of the link is under the page navigation. Blogger has only the default text on their template.
In order to remove this link, we can use two methods. First method is the removal method and second one is the hiding method. Hiding one link in a page has effect on your search engine optimization. If a search engine finds a hided link on your blog, it will count you as a spammer. So avoid that method. Any way I am mentioning both methods.

Remove the link

As I mentioned before, this is the best method. Go to Edit HTML of your blog template, tick Expand Widget Templates and then find following code.(#)
- See more at: http://www.bloggerhow.com/2012/04/how-to-remove-subscribe-to-postsatom-on.html#sthash.kJPr9JKX.dpuf
Read More »

9 March 2013

CSS gradient buttons

VM | 3:04 pm | | Be the first to comment!
R
ecently I talked about CSS cross-browser gradients and last week I wrote again about CSS3 gradients. So what I’m going to do today? I will show you how to put the CSS gradient feature in practical use.
In this article you will see how you can create a set of gradient buttons just with CSS (no images).





1. Log in to blogger account and Click drop down.




2. Now select "Template" Like Below.



3. Now you can see Live on blog, Click EDIT HTML Button"

4. Now click Proceed button.
   
5. Find this tag by using Ctrl+F    ]]></b:skin>

6. Paste below code Before ]]></b:skin> tag

/*----------------------------*/              
 .button        {           
 margin: 10px;          
 text-decoration: none; 
 font: bold 1.5em 'Trebuchet MS',Arial, Helvetica;

 /*Change the em value to scale the button*/        
 display: inline-block;           
 text-align: center;          
 color: #fff;                      
 border: 1px solid #9c9c9c;

 /* Fallback style */       
 border: 1px solid rgba(0, 0, 0, 0.3);   
 text-shadow: 0 1px 0 rgba(0,0,0,0.4);       
 box-shadow: 0 0 .05em rgba(0,0,0,0.4);         
 -moz-box-shadow: 0 0 .05em rgba(0,0,0,0.4);   
 -webkit-box-shadow: 0 0 .05em rgba(0,0,0,0.4);                 
 }             
 .button, .button span       
 {           
 -moz-border-radius: .3em;      
 border-radius: .3em;     
 }              
 .button span      
 {           
 border-top: 1px solid #fff;
 /* Fallback style */          
 border-top: 1px solid rgba(255, 255, 255, 0.5);        
 display: block;            padding: 0.5em 2.5em;        
 /* The background pattern */                      
 background-image: -webkit-gradient(linear, 0 0, 100% 100%, color-stop(.25, rgba(0, 0, 0, 0.05)), color-stop(.25, transparent), to(transparent)),     
 -webkit-gradient(linear, 0 100%, 100% 0, color-stop(.25, rgba(0, 0, 0, 0.05)), color-stop(.25, transparent), to(transparent)),                           
 -webkit-gradient(linear, 0 0, 100% 100%, color-stop(.75, transparent), color-stop(.75, rgba(0, 0, 0, 0.05))),                            
 -webkit-gradient(linear, 0 100%, 100% 0, color-stop(.75, transparent), color-stop(.75, rgba(0, 0, 0, 0.05)));          
 background-image: -moz-linear-gradient(45deg, rgba(0, 0, 0, 0.05) 25%, transparent 25%, transparent),                     
 -moz-linear-gradient(-45deg, rgba(0, 0, 0, 0.05) 25%, transparent 25%, transparent),                            
 -moz-linear-gradient(45deg, transparent 75%, rgba(0, 0, 0, 0.05) 75%),                           
 -moz-linear-gradient(-45deg, transparent 75%, rgba(0, 0, 0, 0.05) 75%);         

 /* Pattern settings */                     
 -moz-background-size: 3px 3px;      
 -webkit-background-size: 3px 3px;    
 background-size: 3px 3px;               
 }       

 .button:hover    
 {          
 box-shadow: 0 0 .1em rgba(0,0,0,0.4);    
 -moz-box-shadow: 0 0 .1em rgba(0,0,0,0.4); 
 -webkit-box-shadow: 0 0 .1em rgba(0,0,0,0.4);    
 }              

 .button:active      
 {          
 /* When pressed, move it down 1px */   
 position: relative;        
 top: 1px;     
 }
              
 /*----------------------------*/    
 .button-khaki     
 {          
 background: #A2B598;      
 background: -webkit-gradient(linear, left top, left bottom, from(#BDD1B4), to(#A2B598) );       
 background:-moz-linear-gradient(-90deg, #BDD1B4, #A2B598);         
 filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#BDD1B4', EndColorStr='#A2B598');             
 }               
 .button-khaki:hover   
 {                  
 background: #BDD1B4;  
 background: -webkit-gradient(linear, left top, left bottom, from(#A2B598), to(#BDD1B4) );   
 background: -moz-linear-gradient(-90deg, #A2B598, #BDD1B4);          
 filter:progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#A2B598', EndColorStr='#BDD1B4');    
 }             
 .button-khaki:active      
 {          
 background: #A2B598;   
 }    

 /*----------------------------*/         
 .button-blue      
 {          
 background: #4477a1; 
 background: -webkit-gradient(linear, left top, left bottom, from(#81a8cb), to(#4477a1) );  
 background: -moz-linear-gradient(-90deg, #81a8cb, #4477a1);         
 filter:  progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#81a8cb', endColorstr='#4477a1');      
 }              
 .button-blue:hover     
 {           
 background: #81a8cb; 
 background: -webkit-gradient(linear, left top, left bottom, from(#4477a1), to(#81a8cb) );      
 background: -moz-linear-gradient(-90deg, #4477a1, #81a8cb);      
 filter:  progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr='#4477a1', endColorstr='#81a8cb');     
 }               
 .button-blue:active     
 {         
 background: #4477a1;  
 }
              
 /*----------------------------*/   
 .button-brown    
 {        
 background: #8f3714;       
 background: -webkit-gradient(linear, left top, left bottom, from(#bf6f50), to(#8f3714) );      
 background: -moz-linear-gradient(-90deg, #bf6f50, #8f3714);          
 filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#bf6f50', EndColorStr='#8f3714');    
 }              
 .button-brown:hover 
 {           
 background: #bf6f50;         
 background: -webkit-gradient(linear, left top, left bottom, from(#8f3714), to(#bf6f50) );       
 background: -moz-linear-gradient(-90deg, #8f3714, #bf6f50);         
 filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#8f3714', EndColorStr='#bf6f50');      
 }       
 .button-brown:active 
 {       
 background: #8f3714;      
 }
            
 /*----------------------------*/      
 .button-green 
 {         
 background: #428739;      
 background: -webkit-gradient(linear, left top, left bottom, from(#c8dd95), to(#428739) );  
 background: -moz-linear-gradient(-90deg, #c8dd95, #428739);         
 filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#c8dd95', EndColorStr='#428739');   
 }             
 .button-green:hover     
 {          
 background: #c8dd95;        
 background: -webkit-gradient(linear, left top, left bottom, from(#428739), to(#c8dd95) );  
 background: -moz-linear-gradient(-90deg, #428739, #c8dd95);     
 filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#428739', EndColorStr='#c8dd95');    
 }               
 .button-green:active     
 {          
 background: #428739;      
 }
             
 /*----------------------------*/        
 .button-red      
 {          
 background: #D82741;   
 background: -webkit-gradient(linear, left top, left bottom, from(#E84B6E), to(#D82741) );        
 background: -moz-linear-gradient(-90deg, #E84B6E, #D82741);         
 filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#E84B6E', EndColorStr='#D82741');   
 }      
 .button-red:hover   
 {          
 background: #E84B6E;       
 background: -webkit-gradient(linear, left top, left bottom, from(#D82741), to(#E84B6E) ); 
 background: -moz-linear-gradient(-90deg, #D82741, #E84B6E);        
 filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#D82741', EndColorStr='#E84B6E');  
 }              
 .button-red:active    
 {          
 background: #D82741;     
 }
    
 /*----------------------------*/       
 .button-purple      
 {        
 background: #6F50E7;      
 background: -webkit-gradient(linear, left top, left bottom, from(#B8A9F3), to(#6F50E7) );    
 background: -moz-linear-gradient(-90deg, #B8A9F3, #6F50E7);        
 filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#B8A9F3', EndColorStr='#6F50E7'); 
 }        
 .button-purple:hover   
 {         
 background: #B8A9F3;       
 background: -webkit-gradient(linear, left top, left bottom, from(#6F50E7), to(#B8A9F3) );    
 background: -moz-linear-gradient(-90deg, #6F50E7, #B8A9F3);        
 filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#6F50E7', EndColorStr='#B8A9F3');   
 }               
 .button-purple:active     
 {          
 background: #6F50E7;    
 }
     
 /*----------------------------*/        
 .button-black  
 {         
 background: #141414;     
 background: -webkit-gradient(linear, left top, left bottom, from(#656565), to(#141414) );  
 background: -moz-linear-gradient(-90deg, #656565, #141414);        
 filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#656565', EndColorStr='#141414');  
 }             
 .button-black:hover    
 {         
 background: #656565;       
 background: -webkit-gradient(linear, left top, left bottom, from(#141414), to(#656565) );    
 background: -moz-linear-gradient(-90deg, #141414, #656565);      
 filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#141414', EndColorStr='#656565');    
 }               
 .button-black:active   
 {         
 background: #141414;       
 }    
      
 /*----------------------------*/       
 .button-orange    
 {        
 background: #f09c15;   
 background: -webkit-gradient(linear, left top, left bottom, from(#f8c939), to(#f09c15) ); 
 background: -moz-linear-gradient(-90deg, #f8c939, #f09c15);    
 filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#f8c939', EndColorStr='#f09c15');  
 }            
 .button-orange:hover    
 {            background: #f8c939;
 background: -webkit-gradient(linear, left top, left bottom, from(#f09c15), to(#f8c939) );         
 background: -moz-linear-gradient(-90deg, #f09c15, #f8c939);       
 filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#f09c15', EndColorStr='#f8c939');     
 }               
 .button-orange:active       
 {         
 background: #f09c15;   
 }   
       
 /*----------------------------*/       
 .button-silver     
 {        
 background: #c5c5c5;      
 background: -webkit-gradient(linear, left top, left bottom, from(#eaeaea), to(#c5c5c5) ); 
 background: -moz-linear-gradient(-90deg, #eaeaea, #c5c5c5);    
 filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#eaeaea', EndColorStr='#c5c5c5');     
 }              
 .button-silver:hover      
 {           
 background: #eaeaea;     
 background: -webkit-gradient(linear, left top, left bottom, from(#c5c5c5), to(#eaeaea) );         
 background: -moz-linear-gradient(-90deg, #c5c5c5, #eaeaea);          
 filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr='#c5c5c5', EndColorStr='#eaeaea');     
 }             
 .button-silver:active    
 {        
 background: #c5c5c5;    
 }         

 7. HTML structure

Let’s see how the HTML looks for the blue button for example:




<a class="button button-khaki" href="#">
<span>Button</span>
</a>
<a class="button button-blue" href="#">
<span>Button</span>
</a>
<a class="button button-brown" href="#">
<span>Button</span>
</a>
<br>
<a class="button button-red" href="#">
<span>Button</span>
</a>
<a class="button button-purple" href="#">
<span>Button</span>
</a>
<a class="button button-green" href="#">
<span>Button</span>
</a>
<br>
<a class="button button-black" href="#">
<span>Button</span>
</a>
<a class="button button-orange" href="#">
<span>Button</span>
</a>
<a class="button button-silver" href="#">
<span>Button</span>
</a>


 Replace # with your link

  8.Now save post your Document.

    You are done... 
Read More »
Related Posts Plugin for WordPress, Blogger...

Subscribe Updates, Its FREE!