Support » Fixing WordPress » Calendar not adhering to CSS settings

  • My second problem with my new WordPress install is that the calendar isn’t obeying the settings in the style sheet. The CSS specifies a style called h6 as a 10px sans-serif font, and every other section on the blog page which uses the h6 style diplays properly EXCEPT the calendar section, which oddly enough displays at about a 12 pt font on my work PC’s browser and at about 30 pt. on my home PC’s browser. The index.php has the line
    <h6><?php get_calendar(); ?></h6>
    but the display of the calendar isn’t obeying the style.
    Any ideas would be greatly appeciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Ardklg,
    You are applying a style to a function call, not to the calendar itself. You need to go into the WP-LAYOUT.CSS file and apply the style changes to all of the #wp-calendar selectors.

    Thanks! I’m actually using a style sheet called style3.css, but I modified and pasted the #wp-calendar entries from the wp-layout.css file, and it worked like a champ.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Calendar not adhering to CSS settings’ is closed to new replies.