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.

2
  • Please clarify - in title you are talking about themes, in body about CSS rules, so what's your real need?
    – Mołot
    Commented May 16, 2013 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
    Commented May 20, 2013 at 6:19

2 Answers 2

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.

1
  • 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
    Commented May 20, 2013 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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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