• Resolved bkiehle

    (@bkiehle)


    Hi,

    I am trying to set up the following: https://theeventscalendar.com/knowledgebase/k/making-a-members-only-calendar/#using-css

    However, it does not work for me. My goal is that only logged in users can see the event. Both under list, monthly view and daily view. I have created the category “Members Only” and inserted both CSS blocks:

    
    .type-tribe_events.tribe-events-category-members-only {
      display: none;
    }
    body.logged-in .type-tribe_events.tribe-events-category-members-only {
      display: inline;
    }
    

    Can you help me?

    Best regards
    Björn

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support James Welbes

    (@highprrrr)

    Hi there!

    Can you share the URL of the website in question?

    Could you share some screenshots, I’d like to see where you added your custom CSS and what your Event Categories look like.

    Thread Starter bkiehle

    (@bkiehle)

    Hi!

    I have sent you the access data by e-mail to support@theeventscalendar.com.

    Best regards
    Björn

    Plugin Support Abz

    (@abzlevelup)

    Hi @bkiehle, thanks for contacting us via email. We’d get back to you as soon as we can.

    Hang tight for now.

    Best,
    Abz

    Thread Starter bkiehle

    (@bkiehle)

    It works.

    
    .type-tribe_events .tribe_events_cat-members-only {
      display: none !important;
    }
    
    body.logged-in .type-tribe_events .tribe_events_cat-members-only {
      display: inline !important;
    }
    
    .tribe_events.type-tribe_events.status-publish.hentry.tribe_events_cat-members-only.cat_members-only {
      display: none !important;
    }
    
    body.logged-in .tribe_events.type-tribe_events.status-publish.hentry.tribe_events_cat-members-only.cat_members-only {
      display: inline !important;
    }
    
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Members only calendar’ is closed to new replies.