WordPress.org

Ready to get started?Download WordPress

Forums

Calendar not adhering to CSS settings (3 posts)

  1. ardklg
    Member
    Posted 10 years ago #

    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.

  2. NuclearMoose
    Member
    Posted 10 years ago #

    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.
    HTH.
    Craig.

  3. ardklg
    Member
    Posted 10 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags