• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 218
  • Last Modified:

How to add class to view using Drupal preprocessor

I have a view created in drupal 7 and want to add a class to it via drupal's preprocessor.  Does anyone know how to accomplish this?
  • 2
1 Solution
brandon_walshAuthor Commented:
Hi  I saw this link, but it is adding it to the preprocessor, which has to be included in the deployment schedule which is pushed every week.  II wanted something that I could control from within the view.

I did find an option, using css and using sibling references.  I have the code-per-node module installed so I am able to add css as I need to
brandon_walshAuthor Commented:
solution provide did not solve my specific issue and i found a decent workaround
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now