Closed (fixed)
Project:
Framework
Version:
7.x-3.6
Component:
CSS/HTML markup
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
4 May 2012 at 07:34 UTC
Updated:
4 May 2012 at 08:08 UTC
I've been using framework for a months on Drupal 6, but now on Drupal 7 and Framework 3.6 I have problem with styling the full node. The only way I can see to style it is by using classes .main or .content, however these classes also style the front page and make the teasers appear as one whole and not seperated. So how can I style just the full node with CSS without effecting the teasers on the front page?
Previously I've been using Framework 1.5 and never had a problem with styling.
Comments
Comment #1
satvision83 commentedI followed this post http://drupal.org/node/1311412#comment-5952846 and its working great. :)
I'm posting the fix here from "nevets"and I hope can help someone.
That is a "feature" of the theme you are using. In node.tpl.php, it starts with
Many/most themes output that div all the time, framework does not.
You could copy the node.tpl.php to your subtheme and change those lines to
<article id="node-<?php print $node->nid; ?>" class="<?php print $classes; ?> clearfix"<?php print $attributes; ?>>Note if you do this, you need to change
at the end to
</article> <!-- /.node -->Comment #1.0
satvision83 commentedupdating info