How can i add background color to a block? (something like the appearance of blocks in www.drupal.org main page)
Pls guide.

Comments

nevets’s picture

Background color can be set with css use the 'background-color' attribute. So for eample to make the background color of all blocks blue you could add this to the theme's style.css file

.block {
  background-color: blue;
}

Each block as an id so you even set the color of each block indivually.