WordPress.org

Ready to get started?Download WordPress

Forums

Calendar: dates posts appear...disappear (3 posts)

  1. KJ
    Member
    Posted 9 years ago #

    I've searched. I've been through the (excellent) CSS guide. I can't figure out where to change the color of the dates in the calendar that I've posted, and whatever color they are now completely disappears in my menu.
    Any help?
    I'm thinking of getting rid of the calendar altogether. Have not searched that yet, but I know it can be done, so if anyone wants to point me in the right direction, that would be fab, too.

  2. Kafkaesqui

    Posted 9 years ago #

    CSS: There are a number of calendar property declarations to be found in the default stylesheet (wp-layout.css), but you're not limited to what you see there. For example, if you want to change the date link text to bright red, you can go into:

    #wp-calendar a {
    display: block;
    text-decoration: none;
    }

    And add a color property:

    #wp-calendar a {
    color: #ff0000;
    display: block;
    text-decoration: none;

    }

    For color to all (non-link) text in the calendar, add a color property to just #wp-calendar.

    Calendar:

    If you want to remove the calendar, look for the

    <?php get_calendar(); ?>

    tag in your page template.

  3. KJ
    Member
    Posted 9 years ago #

    Thanks; removed it. (should have been clearer that it was ONLY the dates on which I'd posted (while not hovered) whose color I couldn't find, but moot point now. Really appreciate your pointing me to the tag.

Topic Closed

This topic has been closed to new replies.

About this Topic