Page ID for CSS?

Home Forums Calendar Products Events Calendar PRO Page ID for CSS?

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1150647
    Merav
    Participant

    Hi,

    I’m adding custom backgrounds to some specific pages on my site. To make it possible I’m using page-id class. But I don’t know how to make it possible events and event’s category pages.

    Could you help me with that?

    Thanks!

    #1150665
    Nico
    Member

    Hi Merav,

    Thanks for getting in touch with us! I’ll help you here…

    Best way is to actually inspect the body element and check which classes are assigned for each page → https://zapier.com/blog/inspect-element-tutorial/

    For main event pages you’ll see the post-type-archive-tribe_events class, and for event category pages the following classes are also added events-category and events-category-slug (slug will be the actual slug of the event category).

    Please let me know if that helps you out,
    Best,
    Nico

    #1159336
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Page ID for CSS?’ is closed to new replies.