Please don't click on these links yet.

Under construction: ? * # 0-9 |A |B |C |D |E |F |G |H |I |J |K |L |M |N |O |P |Q |R |S |T |U |V |W |X |Y |Z

Your opinion is needed with a new "FAQ" I'm thinking of writing up. Click on this "FAQ link" now and leave a comment if you can spare the time.
Tutorials : How I made it toolbars paginations buttons widgets tweeks mega tweeks everything else inspiration ideas FAQ problems Fixing problems

Changing a widget's background colour the quickest and easiest way ever!

Monday, September 10, 2012  at 3:31 PM
Live demo of this is the "Talking Avatar" widget on this blog in the left hand column.

From time to time we all have widget's that we want to add a background colour to and we don't want to spend even 5 minutes doing it. So much time is wasted editing one's template to add this or that to it that after a while even you will get sick of changing the way your blog looks because it takes up too much of your time. Or worse, a whole lot of code is needed to get the same effect as we want just for one widget.

This tutorial takes you less time to apply the code than it does to read the above first paragraph. Your main delay will be deciding what colour you want the background colour to be for a particular widget.

Instructions:
Click on the "Edit" link or spanner icon and open up a widget to edit it. This will only work on the widgets that actually display content within that edit section. On a new line above all the code for the widget's content copy and paste in:

<div style="background: black; padding: 5px;">

At the very bottom of the widget content's code copy and paste in:

</div>

Change the background colour "black" to whatever colour you want. You can change "black" to "#ff1199", for example, to display hex colour codes. You do not necessarily have to type in a word for the colour.

If the padding for your widgets is already perfect then delete this bit of code:

padding: 5px;

Once you have typed in the colour you want the background to be select "save".

You are done! Couldn't be easier if you tried.

1 comment:

  1. [video=http://www.youtube.com/watch?v=ypQxWe5QQJE&feature=plcp]

    ReplyDelete
Your Answer Thanks for contributing an answer to Blogger Tutorials for everyone! Please make sure your answer is NOT a SPAM comment, as such comments will be deleted. Provide details and share your research. Avoid statements based solely on opinion; only make statements you can back up with an appropriate reference, or personal experiences. Comment Options to add to the form below:
Of course, you can add various combinations of the above to your comment as long as you place the ending tags in the right locations.


Features:

To change your text to bold simply type in a left facing arrow then a UPPERCASE letter b then a right facing arrow. Then add your text, followed by typing in a left facing arrow, then type in /B and then a right facing arrow.

To change your text to italics simply type in a left facing arrow then a lowercase letter i then a right facing arrow. Then add your text, followed by typing in a left facing arrow, then type in /i and then a right facing arrow.

To change the colour of your text type in [co="red"]Add your text here[/co] You can change the colour of the text by either typing in the colour's word or by adding a hex colour code that includes the hash symbol.

Your text goes here. To add a marquee text type in [ma]Add your text here[/ma]

To add an image or gif type in [im]Add your image or gif URL here[/im]

Of course, you can add various combinations of the above to your comment as long as you place the ending tags in the right locations.

To add a Youtube video as a comment use either one of the two codes below and replace the video url with the one you want to add as a comment.
[video=ADD-ENTIRE-VIDEO-URL-THAT-YOU-VIEW-ON-THE-WATCH-PAGE-ON-YOUTUBE-HERE]
[video=ADD-ENTIRE-VIDEO-URL-THAT-YOU-VIEW-ON-THE-watch?feature=player_detailpage-HERE]

Scrollbox codes

<a target='_blank' title='DON'T TOUCH MY PHONE' href='ADDYOURURLHERE'><img src='https://lh4.googleusercontent.com/-qSyLJ0X94nk/T-_ekHbo_mI/AAAAAAAAHmY/qk0v-X5s32s/s320/58298-dont-touch-my-phone.png' border='0'/></a>

This free script provided by
JavaScript Kit

FAQ

YOUR OPINION COUNTS! A list of topics that I am thinking of writing about but need feedback from visitors before I go ahead with it.

Click to view more Pages
 

This site consists of tutorials that you would not normally see elsewhere. I am adding tutorials that I have either tweeked or created myself, using existing code already found on the Internet.

Back To Top Image by Cool Text: Logo and Button Generator - Create Your Own Logo

Scroll to Bottom Back to Top