July 8, 2012

Widgets

Customize LinkWithin Stylesheet - Add Some colors!


linkwithin stylesheetJust recently while redesigning a client's website, we figured that Linkwithin can completely be customized by overriding its default stylesheet. We used Google Chrome to identify the classes and IDs. This let us change the background colors of the thumbnail images, change the title text color and margining, add cool hover effects and most importantly remove the linkwithin credit link and logo link that appears towards the bottom-right corner of the plugin.  We have created a sample style with dark theme and we would like to share the stylesheet, using which you can add your creative new looks to it and blend it perfectly with your blog looks and feel. Both BlogSpot and wordpress users would find this tutorial useful because all you would need to do is to copy and paste a simple CSS code. Lets get to work!



Live Demo

Install LinkWithin

If you have not yet installed linkwithin widget on your blog then kindly first install it:

Linkwithin Custom Stylesheet

Note: Wordpress users will need to paste the stylesheet below by going to Appearance > Editor. 
I will be sharing steps for blogger blogs here.
  1. Go To blogger > Template
  2. Backup your template
  3. Click Edit HTML > Proceed
  4. Search for this style tag:
]]></b:skin>
     5.   Just above it paste the following:
/* -----Linkwithin Stylesheet by www.MybloggerTricks.com----- */

#linkwithin_logolink_0 {
display:none!important;
}
#linkwithin_logo_0 {display:none;}
#lws_0 {
clear: both!important;        margin: 0 0 20px 0!important;    
}

.linkwithin_outer{
margin: 0 0 20px 0!important;    
}
.linkwithin_text {
color:#FF683F!important;
font-size:16px!important;
padding-bottom:5px!important;
}
.linkwithin_posts a {
background:#333333 !important;
border-right:1px solid #404040!important;
}
.linkwithin_posts a:hover {
background:#666666 !important;
}
.linkwithin_img_0 {
border: 2px solid #dddddd !important; padding:2px !important;  width:100px!important; height:100px!important;
}
.linkwithin_img_0:hover {
border: 2px solid #333333 !important; padding:2px !important;
}

.linkwithin_title {
color:#ffffff !important;
font-family:'tahoma', sans-serif !important;
font-size:11px !important;
line-height:14px !important;
text-decoration: none;
border-top:1px solid  #ddd !important;
}
.linkwithin_title:hover {
border-top:1px solid  #333 !important;
}
Make these changes to change the colors. Tip: Use our Color Tool
  • To change the color of the text "You Might Also Like" simple change the hexadecimal color code value #FF683F
  • To change the font size edit 16px
  • To change the container background color in active mode edit #333333
  • To change the container background color in mouse hover mode edit #666666
  • To change the color of the separator between each thumbnail please edit #404040
  • To change the border across each thumbnail in active mode edit #dddddd image
  • To change the border in mouse hover mode edit #333333
  • To change the post title links colour edit #ffffff
       6.   Save your template and you are all done!
Visit your blog and see it blended just perfectly! :)

How it works?

To force the browser to ignore official stylesheet provided by linkWithin server link and except our custom one, I simple override all attributes with the addition of !important. It's a normal practice to override styles when duplicate properties exists on a webpage. 

How to change the text?

By default linkwithin displays "You may also like these stories:" If you want a custom text like "Related stories" or "You Might also like" or any text you like please add the following code inside the linkwithin widget that must be present in your layout.
<script>linkwithin_text='You Might Also Like:'</script>
Change the highlighted text into anything you like.
If you could not locate the widget then paste the above code inside your template just below the <head> tag

Increase Stories without re-installing the widget

When you first install this plugin, linkwithin would ask for your Email Id and blog URL and then control your settings using a unique user ID. This Id would remain the same no matter how many times you delete or reinstall the plugin on your blog.
If you want to increase the number of thumbnail images then simply go to Linkwithin  and submit the same Email address with which you created the plugin for the first time and also submit the blog URL. Platform is optional. Set width to the number of stories you want to display. Each story represents a Thumbnail image.
Hit get widget and all done!  Do not copy any code and go and refresh your blog to see the plugin updated automatically.

Need help?

If you need help with regard to the alignment and margining of the plugin or any other customization related query then do let me know. Create your artistic designs and share them with all of us. I really like the linkwithin plugin. It displays posts based on relevancy linked with the labels/categories you create. It also loads fast and consumes less kilobytes of transfer data when page is loaded.  I strongly prefer it over custom widgets that increase blog load time and does not look professional. I just hope you find this tutorial helpful. Peace and blessings buddies. :)



If you enjoyed this post and wish to be informed whenever a new post is published, then make sure you Subscribe to our regular Email Updates!

If you don't want to get yourself into Serious Technical Trouble while editing your Blog Template then just sit back and relax and let us do the Job for you at a fairly reasonable cost. Submit your order details by Clicking Here »

23 comments:

ahmed safwan on Jul 8, 2012, 12:23:00 AM said... #

Another great unique trick thanks a lot mohammed for this informative post.

Regards,
Ahmed Safwan
FOunder of ToStartBlogging.Com

Pulkit Juneja on Jul 8, 2012, 5:57:00 AM said... #

Superb Tutorial, Just Loved this :)
Proudly Owner of HackingSociety.in Tech blog

sunny v on Jul 8, 2012, 8:39:00 AM said... #

wow man, u did it again, waiting for this one, & the color absolutely suites my blog www.hot-gallery.in

thnx Mohammed :)

Vijay Prakash on Jul 8, 2012, 9:08:00 AM said... #

Very nice one pal. .I had never noticed this.


How To Get Paypal Verified

Dragon-hunter95 on Jul 8, 2012, 10:53:00 AM said... #

nice trick friend, I am also using link within to show my relaed posts in my both blogs (blog tricks plus, medical clinic) but could not let my mind to think such one...... However If it is appropiate you can use some templates provided by blogger as they contain related post width in original template.

Linto Codes on Jul 8, 2012, 12:18:00 PM said... #

Good post bro.

Why My Actual Meta Description Is Not Showing In Search??

techgod8 on Jul 8, 2012, 4:56:00 PM said... #

Usefull For Linkwithin users Thanks Mohammad

Resently Posted CSS : Google Style Blue Search Button Hover & acti...

Ali on Jul 8, 2012, 5:01:00 PM said... #

Very usefull tutorial ... thanks a lot :D

Admin on Jul 8, 2012, 9:12:00 PM said... #

Working but My home ,older ,newer page links changes position.How to solve it.
Not working on Fansofapk |Works on Azadfunclub

Levis Raju on Jul 9, 2012, 4:33:00 PM said... #

The widget is good.

But what is its use.....

Already thumbail based version of related posts are available. They are 100% customizable also .....

NetInfoz Blog Tips|Tricks Blogger

Rabindra Sankar Das on Jul 10, 2012, 6:38:00 PM said... #

nice article Mr Ahmedzai...i am a novice and just do it for the love of it...no money or fame...i cud not bring the thumbnails and "linkwithin" is still there...but thanks to u

Admin on Jul 13, 2012, 2:30:00 PM said... #

wow nice I was searching for this
FACEBOOK TRICKS

Hammad Baig on Jul 13, 2012, 7:04:00 PM said... #

Usefull For Linkwithin users Thanks Mohammad
Dropbox Hosting-Host Blog Scripts,Files, Backup & Images Online

Martin Gajurel on Jul 14, 2012, 8:19:00 AM said... #

Nice post buddy..
Please check my blog too.
http://bloggingsentral.cc.cc
and say me what should i do to improve like yours..

JamaiCan HerO on Jul 19, 2012, 10:35:00 AM said... #

Very nice men, thumbs up. then, how can i change the size of the image. because too long for me?

Hamxa Wasim on Aug 2, 2012, 8:40:00 PM said... #

Simply Nice

My Cyber Tricks

ARAVIND BALAJI on Sep 2, 2012, 9:28:00 AM said... #

nice job

Danielle on Sep 18, 2012, 8:08:00 AM said... #

Loved! Worked!


daniellewu.com

Danielle on Sep 19, 2012, 11:32:00 PM said... #

Hello,

this worked really well, however I was wondering if you could help me with the image hovering. I'm trying to have it less opaque until you hover. For some reason, the change in code only worked for the first posts on a page. Please visit my website (my email address is under the 'contact' section): http://daniellewu.com

Nine Red on Oct 18, 2012, 6:21:00 AM said... #

Regarding linkwithin, I have it - (http://NineRed.blogspot.com) but I can't seem to get an answer from them. I selected for it to recomend 5 posts, all I get is 3..... any idea how to fix that?? Also, do you have a donation spot? I owe you some cash after all the help I've gotten here!

estoyenlondres on Oct 31, 2012, 6:24:00 AM said... #

Hi Mohamad. How can I make it appear vertical and floating like your share buttons? Cheers!

LM on Feb 5, 2013, 2:41:00 AM said... #

Thankyou!!!! for the 'increase stories without re-installing the widget' piece. I have been searching and trying to change code with no results. Found you and walla, done in two seconds flat. Feel like such a fool now, it was so easy LOL!! Thanks again :)

ABDUL SAMAD ESSANI on Apr 5, 2013, 5:20:00 AM said... #

Another great unique trick thanks a lot mohammed for this informative post.
I ALSO ADD THIS
Regards,
Abdul Samad Essani
Hack The Hackers Idea

Click Here To add Comment

Confused? Feel free to ask

Your feedback is always appreciated. We will try to reply to your queries as soon as time allows.

Note:
1. To add HTML CODE in comments then please use our HTML Encoder
2. You can always Test the tutorial on our HTML Editor
3. No cheesy/spam Comments tolerated Spam comments will be deleted immediately upon our review.

Regards,
Mohammad

Support Us

If our Tutorials have helped you a little, then kindly spread our voice using the badge below:-

or try a Beautiful Banner


Widgets

 
  • MBT Icons and buttons

    Icons and Buttons

    Our resources have been successfully downloaded over 10K times and found almost every where. Get yours!

  • choosing webhost for a blog

    Why HostGator?

    Learn Why we chose HostGator as our Web Host and find discount coupons to kick start your blog today!

  • SEO Settings for blogger

    ALL IN ONE SEO PACK 2012

    Learn every single SEO tip that will boost your blog's ranking and organic traffic. We got them all!

  • Blogger widgets and plugins

    Visit MBT's Blogger LAB

    Why not take a tour of all great Blogger widgets published so far? You Name it we have it!

  • become a six figure blogger!

    Become a SIX FIGURE BLOGGER

    Learn what it takes to become a successful entrepreneur and build a living online!

About The Author

Hi! I am Mohammad, a certified SEO Consultant, Pro Blogger, Computer Engineer and an addicted Web Developer. Read More..

Recipes

SEO Affiliate Marketing Social Media

Make Money Online Web hosting

Blogging Tips Web Designing

Plugins and Widgets Blogging Ethics

Recent Comments

Popular Series

Powered by:

My Blogger Tricks © 2013. All Rights Reserved | Contact |