Posted by Sigal on September 1, 2008 at 12:04pm
Hi all,
T's me again ;)
I need help with styling my custom home page.
I have a block-view that I display on the page, but I want to style one of it's fields, for example, I want it to have blue background.
When I look at the views/theming information, I see this line: $data = $row->{$field->field_alias} but I'm not sure what does it mean.
My view is based on taxonomy terms and I want the term_name to be White text on Blue background.
I created a views-view--homecats.tpl.php file and I think I need to change this code section:
<?php
print $rows;
?>But I can't figure out what to change it to.
print $row-> ????
Can someone please help?
Thanks and god bless,
Sigal

Comments
theme files
Sigal
Send me your tpl file, so that I can have a look. In fact, send me your whole theme folder.
Quentin
Quentin
Thanks
Thanks Quentin,
After a lot of tossing and turning, I found the view_theme_wizard module and managed to do what I want.
Thanks again for always trying to help, you are a star.
Sigal