0

I have created 1 view for displaying Category on home page using Ubercart module.

but i want to apply custom css changes to my Category view fields like image and title

can any knows how to apply css change to DRUPAL views.

Thanks in advance.

  • Please clarify - in title you are talking about themes, in body about CSS rules, so what's your real need? – Mołot May 16 '13 at 10:57
  • hi, i have created 1 view for Product Category . so i want to apply css like <div> tag and class etc to my view which displays Category Image and name. – megi May 20 '13 at 6:19
2

Go to your view display and look at the bottom of the "advanced" column. You'll see something like "Theme : Information". Try to locate your template name and click on it to get it's base code.

| improve this answer | |
  • yes, i have seen it , but if i want to add my <div> tag or class in that file then where to place that file , can you tell me ? – megi May 20 '13 at 7:11
0

Block Class module allows you to assign arbitrary classes to your blocks. You can use it in CSS selectors without manually rewriting tpl.php files.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.