How to add BuySellAds like 125×125 ad section in blogger blogs

Blogger blogs  are widely used by millions of users to promote what they like, love or at least care about. Opening a blog is pretty easy, you have themes within blogger, so if you like one of the defaults you can choose it, or change to a custom one that you have downloaded from somewhere else or made it yourself.

After some time your blog will become successful and you will get revenues in different ways, such as Google Ads and Chitika, but an other way to get some revenue is by placing 125×125 ad boxes to your site.  Usually they are places vertically in the right sidebar, but the place you will be placing them still remains a choice of yours. You can also charge differently for horizontal under the title, differently for vertical ones in the left or right sidebar. This one I have created to look exactly like the one BuySellAds has.

The widget looks like this:

To add this to your blogger blog first of all you will need to login to your blogger account and click on Design.

Blogger DesignUnder the Page Elements Section go to Add a Gadget.

From the given list find and choose HTML/JavaScript.

blogger-html-javascript

Paste the code in the new window and click Save. Go back to your blog and preview it.

The Code

Here is the code that you will need to enter:

  1. <style>
  2. .ads {
  3. display: block;
  4. width: 280px;
  5. }
  6. .ads a {
  7. width: 125px;
  8. }
  9. .ads a img {
  10. padding: 0;
  11. }
  12. .ads a em {
  13. font-style: normal;
  14. }
  15. .ads a {
  16. color: #888888;
  17. display: block;
  18. float: left;
  19. font-family: verdana,sans-serif;
  20. font-size: 11px;
  21. margin: 0 7px 7px 0;
  22. overflow: hidden;
  23. text-align: center;
  24. text-decoration: none;
  25. }
  26. .ads img {
  27. border: 0 none;
  28. clear: right;
  29. }
  30. .ads a.image {
  31. background: none repeat scroll 0 0 #E7E7E7;
  32. border: 1px solid #CCCCCC;
  33. color: #666666;
  34. font-size: 12px;
  35. font-weight: bold;
  36. text-align: center;
  37. }
  38. .ads a.image:hover {
  39. background: none repeat scroll 0 0 #DDDDDD;
  40. border: 1px solid #999999;
  41. color: #333333;
  42. }
  43. .ads a {
  44. line-height: 100%;
  45. }
  46. .ads a.image {
  47. height: 125px;
  48. line-height: 1000%;
  49. width: 125px;
  50. }
  51. html > body .ads a.image {
  52. height: 123px;
  53. width: 123px;
  54. }
  55. #credits {
  56. float: right;
  57. font-size: 10px;
  58. margin-right: 35px;
  59. margin-top: -10px;
  60. }
  61. </style>
  62. <div id="advert">
  63. <div class="ads">
  64.  
  65. <a href="location_of_link" class="image">Advertise here<img src="location_of_image" /></a>
  66. <a href="location_of_link" class="image">Advertise here<img src="location_of_image" /></a>
  67. <a href="location_of_link" class="image">Advertise here<img src="location_of_image" /></a>
  68. <a href="location_of_link" class="image">Advertise here<img src="location_of_image" /></a>
  69. </div>
  70. <div id="credits">
  71. <p>Widget by <a href="http://www.dipinit.com">Dip In IT</a></p>
  72. </div>
  73. </div>

 

Notice

You have noticed that lines 65 to 68 are highlighted. There you will need to change your links and locations of your images. You can leave them as this which will point to a bad page of your blog, or you can create a page on your blog where you tell the visitors how much are you charging for your ads and point those to the page you created by changing the location_of_link and also if someone bought your ads will give you a 125×125 image that you will upload to your site and put its link to location_of_image. Also you will want to delete the Advertise here text when you place an image and a link.

How to add in wordpress

But if you are a WordPress user, just login to your WordPress Dashboard, under Appearance section click on Widget. From the Widgets available find Text, click on it and drag and drop it on the sidebar, paste the code and save it.


Enjoy your BuySellAds like ad section!

One Comment

  1. Posted February 5, 2012 at 9:04 am | Permalink

    Thanks.I have successfully applied adslots on my one of blogger blog.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

  • Polls

    How do you like our new design ???

    View Results

    Loading ... Loading ...
Loading...
Like an article? Recieve more cool articles by mail