Disabling the Month Separators in List View

Home Forums Ticket Products Event Tickets Plus Disabling the Month Separators in List View

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1138047
    James
    Participant

    The month seperator is getting in the way of my nth child CSS styles which define what background colour the event has. Please note this is in the list view showing all events (not a single one).

    Example of it is shown below…

    <span class="tribe-events-list-separator-month"><span>August 2016</span></span>

    To see an example of what I mean, follow the link to my site below… You will see two backgrounds next to each other the same. I have got the month separator set by CSS to not display, but of course the nth child seems to reset itself or stay on the same number after the seperator.

    http://ssstsuk.co.uk/courses/

    #1138405
    Cliff
    Member

    Hi James.

    tribe-events-list-separator-month gets created via https://github.com/moderntribe/the-events-calendar/blob/4.2.2/src/functions/template-tags/loop.php#L339

    You could potentially use the tribe_events_list_the_date_headers filter and run str_replace or strip_tags.

    I hope this helps. If not, please let me know how I can be of further assistance to you.

    #1146647
    Support Droid
    Keymaster

    This topic has not been active for quite some time and will now be closed.

    If you still need assistance please simply open a new topic (linking to this one if necessary)
    and one of the team will be only too happy to help.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Disabling the Month Separators in List View’ is closed to new replies.