In the views module, there is now a CSS Class option under Basic Settings.

This class is not appearing on my Fusion sub-theme output. Guessing something needs adding to Fusion Core's views-view--page.tpl.php.

Comments

bkno’s picture

Line 28 of above file just needs this inserting after class=".

<?php print $css_class; ?>

Followed by a space.

jeremycaldwell’s picture

Assigned: Unassigned » sociotech
sociotech’s picture

I've added <?php print $classes; ?> instead, since that includes all the classes, both system and user-added. It will be in the next release.

sociotech’s picture

Status: Active » Needs review

bkno,

The the $class variable has been added to views-view--page.tpl.php in the latest dev release of Fusion (dated July 3). Could you try it out and let me know if it works as expected for you?

sociotech’s picture

Status: Needs review » Fixed

Fixed in 6.x-1.0 release.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

maclore’s picture

Assigned: sociotech » maclore
Category: bug » support
Status: Closed (fixed) » Closed (won't fix)

I have created a view to display a block containing the latest of the stories I will promote to the frontpage. The heading appears small. How do I apply a CSS style in the views basic settings to make the headline as big as it will be when the story fully opens?

jeremycaldwell’s picture

@maclore, you'll need to find the class your title outputs and the class your view outputs and write some CSS to change the styling applied to it. These custom CSS changes would go in your theme's local.css file. For more information about the local.css file have a look at your theme's local-sample.css file located in your theme's /css directory.