Changing font size using style.css

tanyi - January 15, 2009 - 03:27
Project:Pixture
Version:5.x-1.1
Component:Code
Category:task
Priority:normal
Assigned:Unassigned
Status:active
Description

I am trying to change the font-size or font-family of class valam in style.css but it doesn't work for some reason.

In style.css I have

.valam {

font-weight: bold;
font-size: 1.3em;
font-family: Arial;

}

And in the panels I have this

<?php
  $vid
= 4; /* <---- put correct vocabulary ID here */
 
$class = "valam";
 
$items = array();
 
$terms = taxonomy_get_tree($vid);
  foreach (
$terms as $term ) {
   
$count = taxonomy_term_count_nodes($term->tid);
   
     
$items[] = l($term->name,'taxonomy/term/'.$term->tid)." (".$count.")  ".$term->description;
  
  }
/* end foreach */
 
print '' . theme('item_list', $items, NULL, 'ul', array('class' => $class)) . '';
?>

#1

tbals - January 15, 2009 - 15:14

You need to save theme settings again after editing style.css.

Regards
Thomas

#2

tanyi - January 17, 2009 - 15:25

I tried that but it is still not working.

 
 

Drupal is a registered trademark of Dries Buytaert.