How To Add CSS style in drupal views ?

  0 comments
Share

Sometime we need to add CSS style in drupal views. But Due to unawareness of it. They can't do. So In this blog, i'll show you how to do it in simple way.

Adding own CSS class in Title

Step 1:

Click on title

css styleImg1

Click on Style Settings

css style Img2

Check the checkbox of Customize field HTML, and then Create a CSS class and give CSS class.

css style Img3

Click on Apply (all display) button.

Now Save the view. It has added CSS class on title.

You can check it also through enspect element. It has added CSS class or not.

css style Img4

Now you can add style in your stylesheet through this CSS class and give look and feel as you want.

Add new comment