How To Add A Stylish Ribbon To Your Latest Post in Bloggers

Hi Friends, you might seen a side ribbon in many blogging template and many of you should have the wish to add this ribbon to your blogger template.So today i am here to tell you how you can add this stylish ribbon right to your blogger template.The main reasons behind using this type of ribbons is that these type of ribbons are more noticbale then anything else.This ribbon will be shown at the right top corner of your posts and will look awesome at your blog .To add this ribbon you just need to copy paste some codes into your blogger blogs template and then refresh your blog to see it live in action.It will work almost in all major browser without having any problem.

Steps to add ribbon in your blog

  • Go to Blogger Dashboard 
  • Click on DropDown Menu and select Template
  • Backup your Template before making any changes to your blog
  • Now Click on Edit HTML --> Proceed --> Expand Widget Templates
  • Press Ctrl + F and search the code shown below
<head>
  • Now paste the below code just after it.
 <script src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js' type='text/javascript'></script>
<script type='text/javascript'>

       $(document).ready(function() {

           $(&quot;.dropdown img.flag&quot;).addClass(&quot;flagvisibility&quot;);

           $(&quot;.dropdown dt a&quot;).click(function() {
               $(&quot;.dropdown dd ul&quot;).toggle();
           });
                       
           $(&quot;.dropdown dd ul li a&quot;).click(function() {
               var text = $(this).html();
               $(&quot;.dropdown dt a span&quot;).html(text);
               $(&quot;.dropdown dd ul&quot;).hide();
               $(&quot;#result&quot;).html(&quot;Selected value is: &quot; + getSelectedValue(&quot;sample&quot;));
           });
                       

$(&#39;.blog-posts&#39;).find($(&#39;.post&#39;)).first().prepend(&quot;<span class='new1'/>&quot;)
           $(&quot;#flagSwitcher&quot;).click(function() {
               $(&quot;.dropdown img.flag&quot;).toggleClass(&quot;flagvisibility&quot;);
           });
       });

   </script>

  • Now Look For  ]]></b:skin> and paste the below code just above it.
.new1 {
width: 56px;
height: 56px;
position: relative;
left: 20px;
top: -5px;
float: right;
background: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhE_yeTHWUgCEFBn7lXYoRaYO9pd3ZsqSwbnlJxvq4aRxPNdp7-L2rIPFSNnNcpiRdCwxNL0U0RNnB4WOGJ-svx5PMXvq2npdMuiMOagFejDtHF5MO4U_sDJDVF84DHhgTgMLsF1ocFLPw/s1600/New.png") no-repeat scroll 0% 0% transparent;
}
  • Now Save your template and go to your blogger blog to see it live in action.
Note: if u already have jquery/1.7.1/jquery.min.js in your template head don't add <script src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js' type='text/javascript'></script> 

That's it.please share this by click on below share buttons.If Any problems occurs Just leave comments below.

Like it? Share it.

No Comments

Click to Add a New Comment

  • If you're asking a question click on Subscribe By Email link, on the comment form, to be notified of replies.
  • Do NOT add links to the body of your comment as they will not be published.
  • Only the comments posted in ENGLISH will be approved.
  • If you have a problem check first the comments , maybe you will find the solution there.