How can I change the css design for a block I created with views?

I want to change the specific design of a block I created in Drupal 7 with views. The problem is, that the CSS tags are the same as at rest of the website so that I can only change all in CSS. Is there a way to define a block specific CSS?

Codemaster's picture

In the advanced settings section

In the advanced settings section, you will find the CSS-class settings. There you can insert one or more CSS class names. If you insert there more than one CSS class name then you need separate each name by spaces. After this, you goto the theme CSS file and insert a CSS Snippet with your custom CSS code.

Vote the answer: 
0
No votes yet