Greater than sign in the CSS–is this an error?

Home Forums Calendar Products Events Calendar PRO Greater than sign in the CSS–is this an error?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #49562
    Cynthia Lockley
    Participant

    In the events.css at the end of lines 203 and 207, there is a greater than sign. Is this a typo or should it be there?
    `.tribe-events-calendar td.tribe-events-present .daynum, .tribe-events-calendar td.tribe-events-present .daynum > a {
    background-color: #666;
    color: #fff;
    }
    .tribe-events-calendar td.tribe-events-past .daynum, .tribe-events-calendar td.tribe-events-past .daynum > a {
    color: #999;
    }`

    #49625
    Barry
    Member

    The greater than symbol in CSS is used to denote direct descendants.

    #outer .inner would refer to any element with the class inner so long as one of its parent elements (including “grandparents”, etc) has the ID outer – whereas #outer > .inner would only select elements with the class inner where the immediate parent has ID outer.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Greater than sign in the CSS–is this an error?’ is closed to new replies.