WordPress.org

Ready to get started?Download WordPress

Forums

WP Calendar
Strange column style (4 posts)

  1. chinghanyu
    Member
    Posted 3 years ago #

    I helped someone establish a website using Arras theme with a calendar and I appreciated your work very much. But the column style seems strange. Here is the website "http://bcclib.ee.nchu.edu.tw:81/calendar/". Can you help me remove those strange border line at the header of the calendar?

    Thanks in advance.

    http://wordpress.org/extend/plugins/wp-calendar/

  2. faebu
    Member
    Plugin Author

    Posted 3 years ago #

    this is not a WP Calendar Problem. Check your theme's css (default.css) where you find the following style definition:

    table { border-collapse: collapse; border-spacing: 0; border: 1px solid #CCC; }
    th, td { padding: 5px; border: 1px solid #CCC; border-width: 1px; }
    th, thead th { font-weight: 700; color: #333; background: #DDD; }
    td, tbody td { background: #F0F0F0; }

    make sure you overwrite these rules for the calendar like this:

    .fc table { border: none; } /* Disabled Borders of whole tables */
    .fc-header td, .fc-header th { border: none; background-color: white; } /*Disabled borders of cells*/

    Cheers

  3. chinghanyu
    Member
    Posted 3 years ago #

    Thanks for your help. One more question: it is possible to alternate the calendar style and make it look like this one - http://arshaw.com/fullcalendar/ ?

  4. faebu
    Member
    Plugin Author

    Posted 3 years ago #

    i don't understand your questing? it is all about the stylesheet. i think this is the default style and my calendar looks excatly alike. you should check your stylesheet and not apply styles to tags (e.g. table, td) but to classes and/or ideas instead or you should cascade your styles using other selectors.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic