1

I have several exposed widgets in a view, they allow users to sort stories by date or by tag. However, I am trying to style the block and because each widget is only given a 'views-exposed-widget' class by default, I can't figure out a way to style each widget differently. Is there a simple way to give each widget a different css class or id? I need to set different widths to different divs, etc.

1 Answer 1

4

Drupal – Theme the Exposed Filter in Views. Basically make a custom views-exposed-form.tpl.php file at your theme level that is specific to each of the widgets you have setup. You can then adjust the markup in each of the template files to include a unique ID to allow styling specific to each widget.

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.