Custom CSS doesn't work when viewing next/previous months

Home Forums Calendar Products Events Calendar PRO Custom CSS doesn't work when viewing next/previous months

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1063474
    Steve
    Participant

    Basically, I’m having trouble with CSS rules on subsequent months. I’ll set them and they will work for the current page, but will not load properly when I click the next month.

    Thanks for any insight on how to ensure CSS rules work on these AJAX page loads.

    #1063887
    Brian
    Member

    Hi,

    Sorry for the issues you are having. I can help troubleshoot this with you.

    Can you provide the css you are using to change the links and where you have placed it and I will see about getting it to work on my test site.

    Thanks

    #1063894
    Steve
    Participant

    Here’s the specific rule:

    .tribe-events-calendar .tribe_events:not(.tribe-recurring-event) {
    background: #f4d575 none repeat scroll 0 0;
    }

    • This reply was modified 10 years, 2 months ago by Steve.
    #1064093
    Brian
    Member

    So not sure why this is the case, but the tribe_events class is not included in the events class after the ajax call so that is why the css is not working there.

    I got this to work instead:

    .tribe-events-calendar .type-tribe_events:not(.tribe-recurring-event) {
    background: #f4d575 none repeat scroll 0 0;
    }

    Does that work for you as well?

    #1066708
    Steve
    Participant

    looks like it worked! would love to know more about why that class doesn’t repeat, though I expect that’s something to take up with the developers. Thanks.

    #1066768
    Brian
    Member

    Great, glad it helps, I am going to go ahead and close this ticket, but if you need help on this or something else please post a new ticket.

    Thanks!

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Custom CSS doesn't work when viewing next/previous months’ is closed to new replies.