Subscribe and/or follow
Recent Entries
- My new Mac Mini
- Guest Post: How To Display Ad Blocks In Specific Posts In WordPress
- USB Sound Blaster Live! 24-bit on Windows 7
- Google has ajaxed their search engine
- Opera 10 equal to FireFox 3 or even better ?
- Save your code snippets with Snippely
- Re-inserting ads on the blog and using a free theme
- Always-on-top solution for Windows OS
- Bots following me on Twitter ?
- Best way to inspect dead links using your 404 page
Popular Entries
- phpbb3 should have native support for quick edit and quick reply
- Latest posts standalone script for phpbb3 and phpbb2
- Integrate RSS and ATOM into a phpbb3 based forum
- Top 10 phpbb3 styles
- Integrate AdSense into phpbb3
- Remove ads from Yahoo! Messenger 9
- K2 RC6 is now available and compatible with WP 2.5
- Google's PageRank Update outcome
- RSS awareness day
- Care to read some reviews about web hosting ?
Style your MyBlogLog Recent Readers Widget
If you prefer the old version of the Recent Readers widget and you are not happy with the default customization options offered by MyBlogLog, you can take it further and style your widget as you please. Unfortunately no matter what colors you choose if someone that isn’t logged in his MyBlogLog account views your page that person will see the text “You! Join Our Community” on a white background and if your widget is not positioned in an area that has a white background
it looks very nasty. On top of that you may want to customise your text link decoration, size of the images, borders, etc.
Instead of overwriting the declarations in the js generated by MyBlogLog i advise you to strip the code by deleting the variables related to colors:
I’m not going to explain which variable does what because that’s irrelevant and anyway we will remove them from the js. It’s not a secret that you can do very little customization with them. Below you can see the original code and the stripped one:
You can see that my c_heading_text variable is empty as i don’t have a header text for my widget. Now here comes the actual customization process. I tried to make it as simple to understand as i possibly could and made a few comments on the code so that you can figure out which class is for what. There are a few declarations that i left out because they don’t really help much as their properties are inherited from the really important declarations that are listed below. The following code must be added in your style.css
That all. Refresh the page and voila ! You can see the outcome in my footer. Of course i used colors to best fit my blog design but feel free to play with the code until you get what you want.