Αλλαγή χρωματων στα label

Δευτέρα 25 Φεβρουαρίου 2013 0 σχόλια

Changing Blogger Pages Gadget Background and Text Color


I've been really tied up due to work and assignments. I've been replying all the contact-form questions though. Which brings me to this week's post. Blog reader Skaerf asked if there is a way to change the background or/and text color of the pages gadget. Yeap, there is. Let's cut to the chase shall we?



Solution:

If you're using the old Blogger interface: Go to Dashboard - Design - Template Designer - Advanced - Add CSS - paste the following code - Press enter after the last character of the last line } - Apply to Blog.If you're using the new Blogger interface: Go to Dashboard ('House' symbol) - Template - Customize - Advanced - Add CSS - paste the following code - Press enter after the last character of the last line } - Apply to Blog.

1
2
3
4
5
6
7
8
   
.tabs .widget ul, .tabs .widget ul a, .fauxborder-left.tabs-fauxborder-left{
background: black;
color: white;
}
.tabs-inner .widget li.selected a, .tabs-inner .widget li a:hover{
background: yellow;
color: red;
}
Change the words 'black' and 'yellow' to some other colors to change the background color of your pages gadget. And similarly, change 'white' and 'red' to some other colors to change the text color of your pages gadget. You're seeing four different colors defined in the code above because some template highlights the selected tab, that is the tab that contains the page which is being currently viewed in the browser. See the image below to see which color in the code above does what:




Bonus:

If you want a little bit more control, instead of going for basic colors (black, white, red, yellow, etc), you can choose a customised color using hex code. First, go to this useful website:
Hex Color Code Generator

And click on the color that you want, and copy the resulting hex code. All you have to do now is place the hex code in the code above. It will look something like this:


1
2
3
4
5
6
7
8
   
.tabs .widget ul, .tabs .widget ul a, .fauxborder-left.tabs-fauxborder-left{
background: #000000;
color: #1CE8F7;
}
.tabs-inner .widget li.selected a, .tabs-inner .widget li a:hover{
background: #E41619;
color: #FFEF16;
}




Πηγή : southernspeakers.net

0 σχόλια:

Δημοσίευση σχολίου

 

©Copyright 2011 CorfuSat | TNB