How To Change Widget Background Colour



How To Change Widget Background Colour,Change Widget Background Colour,How To Change Widget Background,Widget Background Colour,Tips To Change Widget Background Colour,Background Color,

In our article on Background Image for Blogger Template, we had explained how to have a background color or background image in the body, main posts, or sidebars. This will apply to most blog templates except templates like TicTac. Instead of having the entire sidebar in one color, you can also assign a different color to each of the widgets. This guide will let you know how you can change the background color of each individual widget.

Let us assume that you have created a Link List via Template -> Page Elements -> Add a Page Element. If your Link List has no title, temporarily assign to it a title. Next, go to Template -> Edit HTML and press Ctrl+F to search for that title.

For example, we have a Link List entitled “My Blogs”. We search for this title in the template and we see this:-
widget id='LinkList1'
 locked='false' title='My Blogs' type='LinkList'/>


What we want to know is the widget ID. In this case, it is called “LinkList1”. The next Link List will be “LinkList2” and so on. If you have a HTML/JavaScript page element, it will be “HTML1” and if it were a Label List, it will be named “Label1”.

We need to set a background color for this particular widget. Scroll back up to where we see all the # and insert the following code after a curly bracket }. For easy reference in the future, we have inserted it under /* Sidebar Content */ although it doesn't really matter where you insert it as long as it is between and and after a } character.

#LinkList1{
background: #FCDFFF;
}


We pulled off a color code from our Color Code Chart.

We can do the same for our LinkList2, Label1, Label2, HTML1, HTML2, etc. Just insert the relevant ID and color code.

#Label1{
background: #FCDFFF;
}

#HTML1{
background: #FCDFFF;
}


After that, Preview the template. This is what a colorful set of widgets can look like:


How To Change Widget Background Colour

With a wise choice of colors, you can customize the background color of each widget to something that you like and which suits the theme of the widget or Blog.

About Unknown

Hi there! I am Hung Duy and I am a true enthusiast in the areas of SEO and web design. In my personal life I spend time on photography, mountain climbing, snorkeling and dirt bike riding.
«
Next
Newer Post
»
Previous
Older Post

2 comments:

  1. Pakistani girls Mobile Numbers, Girls Mobile Number, Latest 2015 and 2016 Girl Mobile Number For Friendship, Girls Mobile Numbers


    Online chat rooms

    chat room

    Girls mobile Numbers

    Pakistani Girls Mobile Numbers

    ReplyDelete
  2. With a minimal amount, the mom or dad can set up areas where the mobile phone is allowed to roam without any problem. However, once the owner of the phone decides to leave the boundaries, a message will then be sent to the parent, informing him or her of the situation. Virginia Beach escorts

    ReplyDelete

.