hello,
I am using the Greenhouse theme - http://drupal.org/project/greenhouse.
I have made an views-view-fields--articles.tpl.php like this (here it will not show the div and the divID):
print $fields['field_image_fid']->content;
print $fields['title']->content . ' | '; print $fields['created']->content . '<br>';
print $fields['field_teaser_value']->content . '<br>';
print $fields['view_node']->content . '<br>';
the css for this page is:
#views-articles-page {clear: both;}
#articles-block {{background: #fff; border: 1px solid #cccc99;margin-top:0px;height:172px; width:606px; background-color:#deebde;}
#articles-content-block {width:380px; float:left; height:112px; margin-left:15px;}
#articles-image-block {float: right; padding: 5px;}
#title-articles-block {width:380px; float:left; height:30px; margin-left:15px; font-size:18px; font-weight:500;}
#link-articles-block {width:180px; float:left; height:30px; margin-left:-75px; font-size:15px; font-weight:500;}
the thing is that the same idea is working for me on a different page (homepage) but here nothing!
using the firefox I see this all over the node area:
#sidebar li.leaf, #sidebar li.collapsed, #sidebar li.expanded, .item-list ul li {style.css?I (line 368)
list-style-image:none;
list-style-type:none;
can sombody please help here!!!
Comments
Not sure I really understand your question...
...but I'll take a shot.
What you are seeing with Firebug is just the CSS from the theme's stylesheet. That sheet gets imported for every page.
Are you thinking that views-view-fields--articles.tpl.php is the template for the entire page? It's only the template for the views part of the page.
that i have got
but still, on that page pointing the views fields i can see the the tpl.php is wotking but the css is not efecting.
Managing Partner at Reasonat
admin/settings/performance
At admin/settings/performance, is Optimize CSS Files enabled? If so, your CSS is being cached. You would need to turn that off to see the results of the new CSS.
wasnt optimize
Still with the problem...
what it might be? first time happening to me...
Managing Partner at Reasonat
Where have you placed this CSS?
#views-articles-page {clear: both;}
#articles-block {{background: #fff; border: 1px solid #cccc99;margin-top:0px;height:172px; width:606px; background-color:#deebde;}
#articles-content-block {width:380px; float:left; height:112px; margin-left:15px;}
#articles-image-block {float: right; padding: 5px;}
#title-articles-block {width:380px; float:left; height:30px; margin-left:15px; font-size:18px; font-weight:500;}
#link-articles-block {width:180px; float:left; height:30px; margin-left:-75px; font-size:15px; font-weight:500;}
in the style.css
in the style.css
Managing Partner at Reasonat
Well, I dunno...
Going back to your original post: Is it possible that in the new template, you've inadvertently got an li wrapping your node area?