Earcontra

Earcontra.com is a blog for everyone who's curious about Blogging Tips, SEO, Making Money Online. We share fresh and updated information related to Bogger Templates, Layouts, Blogger Widgets, HTML & CSS Tips, jQuery Tweaks, JavaScript Scripts, and other related keywords.

  • About
  • Contact Us
  • Disclaimer
  • Privacy Policy

How to Make Blogger Widget or Sideber Fixed, Sticky or Float

Posted by OG Superman in: Blog Design

Hi people! I was just sitting yesterday watching TV  when this thought occurred to me, and I thought there are some people out there trying to do something like this on their blog.

Okay, what happened was that in 2014 I actually wanted to get this done on my blog after seeing it on Lifehacker.com, it was awesome 🙀. They used it to make an AdSense ad unit fix to the screen for much more visibility and you know, increase CTR. That would actually have made them a good income from Adsense. 

The function can be implemented to your blog with just a simple CSS line of code. The thing is to make it look very professional, you need to make the widget the last in your widget list.

So here is how to do it, but first, you must note the ID of your widget. To get this ID number, you need to click on the edit link in the Layout tab of your dashboard. 

Layman explanation ⇉ Login to Blogger⤤ ⥤ Layout ⥤ Your widget that you are working on ⥤ Click on the edit link ⥤ Click on the address bar of the pop-up window ⥤ go to the end of the address ⥤ The Lable name with a number at the front is what you are looking for.

Well, I feel responsible because I have already started writing this post, so I'll add a screenshot 😕.


That's what you have to do to know your widget ID. To the next step;


Go to Template ⥤ Customise ⥤ Advanced ⥤ CSS ⥤ Paste the below code according to preference.

For Widget


.WidgetID { position: fixed; }

For Sidebar


.column-right-inner { position: fixed; }

Customising

Replace the widgetID with yours.

Change .column-right-inner to left if you have your sidebar on the left.

That's it guys. Let me see your thanks in the comment, and if you have any issues also, that's why I have the comment box there. 




0 comments:

Post a Comment

Note: only a member of this blog may post a comment.

Newer Post Older Post Home
Earcontra

Popular Posts

  • How To Create A separate Label or Tag page In blogger
    Sometimes ago, I thought that it would be nice to have a standalone or separate page where you can display the labels, then add the page t...
  • How To Create Related Posts Widget With Thumbnails In Blogger
      Having related posts displaying at the bottom of every post on your blog is very good for SEO purposes. They can have an effect on your...

ABOUT EARCONTRA

Earcontra.com is a blog for everyone who's curious about Blogging Tips. We share fresh and updated information related to Bogger Templates, Layouts, Blogger Widgets, HTML & CSS Tips, jQuery Tweaks, Javascript scripts, and other related keywords.

QUICK NAVIGATION

  • About Us
  • Contact Us
  • Disclaimer
  • Privacy Policy

FEATURED CONTENT

  • Adding Related Posts Widget In Your Blog
  • Automatic Date Counter Widget
  • Setup Blogger With a Custom Domain Name
  • How to Create a Demo Page

© Copyright 2016 Earcontra · All Rights Reserved · And Our Sitemap · All Logos & Trademark Belongs To Their Respective Owners·
Template Developed By Blogging Recipes.