Showing posts with label Blogger Tricks. Show all posts
Showing posts with label Blogger Tricks. Show all posts

How to Add Floating Ads in Blog Footer



Have you ever seen a banner ad hovering under the webpage? Now we will learn to create ads float or drift in the footer of the blog. When an open blog, banner ads will immediately appear in footer of the blog and continue to follow the current discroll down. There is a close button or exit to eliminate those who do not want ads.

Blog is a blog that potential visitors can advertise crowded, because the potential to be clicked and generate dollars. Ads in the footer of this drift can maximize revenue from the blog. How to create an ad floating in the footer of the blog is also easy, no need to edit the blog template. Interested to try it?

How to Make Floating Ads in Blog Footer


How to Make Floating Ads in Blog Footer
1. Log into blog account
2. Select Layout and then Add a Gadget
3. Choose HTML / JavaScript
4. Enter the following HTML code:


<!-- FOOTER ADS -->
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js' type='text/javascript'>
</script><br />
<script type='text/javascript'>
$(document).ready(function() {
$('img#closed').click(function(){
$('#btm_banner').hide(90);
});
});
</script>
<style type='text/css'>
div#btm_banner {
bottom: 0;
position: fixed;
width: 100%;
opacity: 0.9;
left: 0;
}
div#btm_banner img{
border:0;
cursor:pointer;
}
</style>
<div style='height: 0px;'></div>
<div align='center' id='btm_banner' style='height: 100px; z-index: 9999;'>
<div style='text-align: right; width: 983px; height: 15px;'>
<img id='closed' src='http://3.bp.blogspot.com/-FJbBxXlFzSM/UChDqaGbcMI/AAAAAAAACPA/Lc4uhFU639c
/s320/exit.png'/></div>
<div style='clear: both;'></div>
<p>
<p><center>
<!-- ADVERTISING CODE -->

ADVERTISING CODE HERE

<!-- ADVERTISING CODE -->
</center></p>
</p>
</div>
<!-- FOOTER ADS -->


5. Save

You can edit it yourself to adjust to the size of the banner and advertising code, the color red is the code that you can replace. Once installed, the banner ads will appear in the footer of the blog, do not worry, this ad is close or exit option so not overly disturb readers.

Infinite Scrolling Load More Post for Blogger in 19 Cool Styling

19 Stylish Infinite Scrolling Load More Post for Blogger

Infinite Scroll is not just latest trend but a best way to make visitor view posts of second page in current page itself. This hack simply includes the posts below the posts in same page. 
This makes the visitor to view huge posts without switching the pages. Popular sites like Facebook, Twitter, Google+ and many other sites use the same concept.

Such that one can easily add the Infinite Scrolling to their blogger just by adding few codes to the HTML widget of blogger. He has used one default simple style for the Load More Post link.
I created some 19 different styles that can make the Load More Post link more attractive.
Using the code is very simple.

Step1:

Select your desired style from list of Styles defined below and click Get Codelink and copy the code from the external link.

Step 2:

Goto Layout page. Click Add Gadget Select HTML/JavaScript then paste the code as content and Save.


Different Styles


Style 1Get Code


Style 2Get Code


Style 3Get Code


Style 4Get Code


Style 5Get Code


Style 6Get Code


Style 7Get Code


Style 8Get Code


Style 9Get Code


Style 10Get Code


Style 11Get Code


Style 12Get Code


Style 13Get Code


Style 14Get Code


Style 15Get Code


Style 16Get Code


Style 17Get Code


Style 18Get Code


Style 19Get Code

How to Add Facebook Comment Box to Blogger (Responsive)

How to Add Facebook Comment Box to Blogger (Responsive)

Recently some of my themeforest buyers requested me to give a solution how they can add a Facebook comment box in their blogger site. So i have decided to write a post in my site about this regarding issue. In 2009 Facebook developer released their best social plugin called "Facebook Comment Box". This comment box helps your readers to comment on your site using their Facebook,Yahoo,AOL or Hotmail  profile. I will share my own method which i apply to my own blogger templatesSo follow my simple tutorial to add this on your site.  

LIVE DEMO

How to Add  
  • First login your blogger site>Then go to Theme>Click on Edit HTML>Click on CTRL+F from keyboard.
  • Then search following code.
<body>
or 
<body expr:class='&quot;loading&quot; + data:blog.mobileClass'>
  • After finding any of one on these code, just paste following code after it
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_GB/sdk.js#xfbml=1&amp;version=v2.0";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
  • Then again search following code
<b:includable id='comment-form' var='post'>
  • Just after it paste the below code
<div class="fb-comments" expr:data-href="data:post.url" 
data-width="100%" data-numposts="5" data-colorscheme="light"/>
  • You can change number of value 5 as your wish
  • You can change light color scheme with dark

After done everything, save your template and you are done. If you face any problem, tell me by comment. I will try to solve your problem with my best consideration. Thanks you to read this tutorial.

Solved Method 2: If above code not working after paste <b:includable id='comment-form' var='post'> then search <b:includable id='threaded_comments' var='post'> and paste above code after it. 

How to Create a Static Home Page in Blogger

When it comes to home pages, most websites can be divided into two: static and non-static. As their name implies, static home pages stay permanent no matter how many times the website is updated, while non-static home pages reflect the changes that are made to the site and show the latest posts first.

The latter has become well-known nowadays due to the rising popularity of personal and even corporate blogs. However, there are still many people who prefer static home pages because it makes their websites look more organized and professional. It also gives them more control over the readers' experience on their site and helps them create stronger brand awareness through the uniform message that their home page presents.

Fortunately, if you own a Blogger site and want to make your home page static, you'll find that creating one isn't as difficult as it seems. You can create a static home page in Blogger by taking these steps:

static pages in Blogger

1. Create your static home page

The first thing you should do is to create a new page for your blog. This will serve as your static home page but, for now, it will look and act like any other page in your site.

To make this page, you'll need to go to the main menu of the Blogger dashboard and click on the "Pages" option on the left side on the screen. Doing this will lead you to the "All Pages" menu window. Here, click on the "New Page" button and you'll enter an editor that looks similar to the Blogger Post editor that you use when publishing a new blog post. 

static home page

At the top box, enter the title that you want for this page - in this case, let's call it the "Welcome" page. In the larger text box, type the content that you want to appear on your home page; this can be a paragraph, or two about yourself or your business and what your site is all about.


Once you're done, click "Publish". The window will return to the main "All Pages" menu, and you'll see the new "Welcome" page you've created. Copy the URL of the "Welcome" page since you'll need it later on. To do this, right click on the 'View' link and select 'Copy Link Location' from the menu.



2. Redirect the default home page to the static one

Once your "Welcome" page is up, the next thing you should do is to change Blogger's default homepage. This involves redirecting from your site's original home page to the static homepage that you've created so it would be the first thing that people see when they visit your website.


To do this, you'll need to go to main Blogger editor menu, click on "Settings" on the left side of the screen, and choose "Search Preferences". Under the "Errors and redirections" section, you'll see the "Custom Redirects" option with an "Edit" link beside it. Click on the "Edit" link to open another window, where you'll see two boxes named "From" (with your blog's URL beside it) and "To".


In the "From" box, enter only a forward slash symbol "/". In the "To" box, paste the URL that you copied earlier and add the latter part of the URL of the "Welcome" page. For instance, the page's URL of our demo blog is static-home-page.blogspot.com/welcome.html, so we'll remove the "http://static-home-page.blogspot.com" address and add only "/p/welcome.html" in the "To:" box. The "/p" signifies that it's a static page.


Next, check the little box beside "Permanent", click on the "Save" text link, and press the "Save changes" button. Doing these will redirect your site's main URL to its new static home page. Access your blog on a separate browser to see if it works.


3. Make tabs for your site

If you're not planning to make tabs visible in your blog, you can stop at Step #2. But, if you want your site to have tabs that indicate the home page, the main blog page, and other pages you may have (such as the FAQs and Contact Us pages), you'll need to take another step.

Why is this important? Basically, when visible tabs are enabled in your site, they will show that you have two existing pages: the default home page and the new "Welcome" page you've created - both of which redirect to the same static page. This can be confusing for your readers and may even affect your search engine rankings.

To fix this, you first need to enable tabs by going to the "Layout" menu item and click on the "Add a Gadget" link. You can choose to add it below your blog header or sidebar. In many cases, it's advisable to add it below blog's header since they're more visible and give your website a sleek, professional look.


Once the pop-up window opens, scroll down and click on the 'Pages' link:


This will open another window named "Configure Page List". Here, under the "Pages to show" section, you'll see the default home page and your new static homepage with small boxes beside them. Uncheck the box beside the default home page to hide it from view, check the pages that you want to display in the menu and then click on the "Save" button to save the changes.


You can stop at this point but, if you want, you can also create a specific tab that will lead to your main blog post page. To do this, edit the "Pages" gadget that you just saved and click "+ Add external link".


On the new window that would open, enter the title you'd like for the page (such as "Blog") along with /index.html web address, then hit "Save Link" and click the "Save" button on the "Configure Page List" window. 


Now, view your site and you will see the pages menu containing the "Welcome" page and "Blog" tabs. To see how this works, you can also visit our demo blog. Enjoy!

Final Note

Having a static home page can be beneficial for your blog. Follow the steps above now to create a static home page in Blogger!

CSS Rollover Image Effect - Change Image on Hover

Rollover image is a design feature where an image changes when your mouse hovers over it. Think of a light bulb that turns on and off when you move your mouse cursor into that area of a page. When a page is loading, rollover images are preloaded into it to ensure that the rollover effect is displayed quickly.

This used to be implemented using JavaScript, which is fairly easy with just a small amount of script involved. To make rollover images functional, onmouseover and onmouseout attributes are used to a link tag. The code is then added to a blog gadget or into a new post. It proved to have a number of disadvantages, however, which is why many web developers are using a CSS-only method.

css rollover image

How to create a rollover image using CSS

Here is how to implement a rollover image using CSS. Before getting started, we need to have two images ready, one in its initial/static state as well as its rollover state.

The Image

Place both the static and rollover image in one file and make sure that the rollover image is placed on top of the static one. To achieve the rollover effect, we'll write a code to display the static image and crop the hover image, so that only one image state is displayed at a time.

For this tutorial, we'll use the following as a CSS rollover image.

html rollover image

Creating an HTML Anchor Element for our Image

Instead of adding the image file in a <img> tag, we'll display it as a background image of an </a> (anchor) tag. Here's the HTML that we need to add:
<a class="rolloverimage" href="#URL">Rollover Image</a>
Note: if you want to make the image clickable, replace #URL with the url of the webpage where you want the link to point to.

Using CSS to Set a Background Image

To create the mouseover image effect, we'll use the :hover CSS pseudo-class. Then, we'll use the background-position property and set the values to 0 0 to move the background image to the upper left corner which will create the rollover effect. 
<style type="text/css">
.rolloverimage{
display: block;
width: 56px;
height: 90px;
background: url('https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhwLCIlLZWC02PHK3IOaF4SIl41kcsJa3GsZtH5bXRnWx4TVYU2IBfUJpw_bJ01Nh-ZoFhAtL0pP-6PqzonGGSS-3TAl4m7fIu-bJ6408bhMAPStsNQ9ZjKsQnO_Gr-qE5xOyoDwcFdzAZD/s180/rollover-image-light-bulb-on-off.png') bottom;
text-indent: -99999px;
}
.rolloverimage:hover{
background-position: 0 0;
}
</style>
Note: Replace the text in blue with the url of your image file. Please pay attention on the width and height values marked in red, these should be different depending on your file, where the height value is for only one image and not the entire image file!

The result

Hover your mouse cursor over the light bulb to see the rollover image effect in action:

Rollover Image

Adding Rollover Image to Blogger

To add the rollover image as a gadget: copy both the HTML/CSS codes and go to 'Layout', click on the 'Add a Gadget' link > select HTML/JavaScript, then paste the codes in the 'Content' box.

Or, if you want to add it inside one of your posts, when you create a New Post, switch to the 'HTML' tab and paste the codes inside the empty box.

And this is how you make images swap on mouseover using CSS. Enjoy!

Top 10 Killer Tips to Improve Page Rank

Page rank is based on an algorithm that determines how close your link is to the query that was put into a search engine such as Google. The more important your link is shown to be, the higher it will be ranked on search results pages. The result is that web traffic increases to the links that are ranked at or near the top.

How the Page Rank is Calculated?

The calculations used by the algorithm that determines page rank includes the number of links that are connected to your site. That includes inbound, internal, external, do-follow, and no-follow links along with backlinks. To increase your web traffic, you need to improve page rank so that it pulls in more people who are likely to purchase the products or services that you offer.

Here are 10 killer ways to improve page ranking so that more people will start visiting your website.

How to Improve Page Rank?


improve page rank

Submit Site to Web Directories

A simple, but very effective way to increase web traffic is adding more high quality backlinks. This can be done simply by submitting the content to respected web or article directories. They provide a great way for more people to see your content. Some good directories include the following:
By finding the right articles and web directories, you can quickly improve your page rank for your content.

Post Regularly

Google like sites that post on a regular basis, so set up a schedule where you have new, fresh content for your site on a daily or weekly basis. Be sure to post on the same day or days each week which will help improve your overall ranking.

Improve Content

If the content is well written, informative, and unique, this will help increase the chance that readers will share it with others. The better the content is presented, the more likely it is to be shared and that will improve its page ranking.

Link Exchange

This is a well-known technique, but it still works. To get a higher page rank, you will need to get other sites that are ranked higher to link to your site. Therefore, you will automatically have good links that will help boost the ranking of your content. This means that you will need to appeal to those with higher ranked sites to agree to share their link with you.

Post on Other Sites

This is also called guest posting, it is another tried-and-true technique that helps you improve page rank. Find blogs that allow for guests to post so that you can receive two or three backlinks in return for what you have submitted. The key is to post on blogs that are in your industry or niche so that you can attract readers to your site.

Add Comments to Other Sites

In addition to posting articles, you should also comment regularly on articles posted on other sites. You will need to set up a schedule so that you can comment on a consistent basis on posts that are in your niche or industry. The more you post, the more active you are in the community which means that more your site will grow in status. While most sites today have Disqus installed which means that a link to your site is automatically posted, others still use the Do-Follow which means you will need to include the link.

Increase Uptime

Be sure that you choose a web host that offers 99.9% uptime so that your website is available to anyone who wants to visit. Long downtimes can significantly cut into your web traffic, so be sure to choose a provider that is reliable and provides guarantees about uptime.

Social Bookmark

The social network is a great way to help increase the visibility of your content and improve page rank as well. By sharing your content on the best social sites, you will get more traffic thanks to the free backlink. Naturally, you’ll want to choose sites that are quite popular like the following;
  • Facebook
  • Google Plus
  • Pinterest
  • Reddit
  • Stumble Upon
  • Digg
  • Delicious
By sharing with good social media sites, you can increase page rank considerably. Plus, it will work for you over time to help bolster your site. Plus, be sure to be active on your social media sites by responding to questions so that potential customers will stay close to your efforts.

Multiple Pages

This is another old, but useful technique that can improve your page rank thanks to internal linking. Basically, you will need multiple pages that you link together for articles or content that is similar in nature. It takes a little work, but it is well worth it to see the results over time.

Research Popular Keywords

Focus on keywords that are the most common which means using words that people are most likely to use as queries on search engine sites. By using the most commonly searched keywords, you can help boost your page ranking significantly over time. This means having more visitors and better results when it comes to your sales.

In addition to these ten proven ways to improve page rank, you should also consider the power of advertising. By creating a simple banner and advertising with it on other sites, you can generate a lot of good backlinks which in turn creates more traffic for your page. Keep in mind that you should be active daily when it comes to blogs and forums that are in your niche as well.

Another small trick is to add a link to your signature in forums and emails, although you’ll want to avoid any illegal tactics that will put your website into trouble. By using proper techniques, you can improve page rank naturally which builds for your long-term success. After all, your goal is to be successful by increasing the ranking of your content. So, you should put in the time and effort to do things right to succeed.

Which methods do you use to improve page rank? Share with us in a comment below.

Gadget