I have multiple themes under one installation and using SwitchTheme http://drupal.org/project/Switchtheme to switch between themes as selected by the user. My problem is I have a view displaying thumbnails that need to change color depending on current theme selected.

Anyone have any suggestions or know of a module out there to handle this?


  • you can use views tpl and put it in each theme folder for this view. – Sibiraj PR Mar 14 '13 at 17:09
  • thanks Sibiraj, I guess I may need to create a custom module using image_style_url() and hook_views_pre_render(), is this the best way? or is it all done in the tpl file? not too sure where to start – Jean Mar 14 '13 at 17:27
  • What do you mean with image styles? In drupal7 image styles may be the old d6 image cache. If you want to change the color it looks like a css issue. Give us more information please. – Tyler Durden Mar 14 '13 at 17:28
  • D7 images styles is a part of core.. cheers – Jean Mar 14 '13 at 17:32

Your Answer

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

Browse other questions tagged or ask your own question.