Where to find Page-Id on /events page

Home Forums Calendar Products Events Calendar PRO Where to find Page-Id on /events page

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1221274
    Brenda
    Participant

    Hello, I need to hide my header and footer on the calendar page for now. I was able to add a piece of code to the css that seems to work on pages and posts.

    Here is the code:

    .page-id-3143 .site-header
    {
    display: none;
    }

    .page-id-3143 .site-footer
    {
    display: none;
    }

    It works on this page: http://378.ff2.myftpupload.com/meet-the-staff/

    Where do I find the page id for my events main page? http://378.ff2.myftpupload.com/events/

    #1221363
    Cliff
    Member

    Hi, Brenda.

    The Events page is actually a WordPress archive view, so there is no Page or Post ID there.

    You could do this though:

    body.post-type-archive-tribe_events .site-header,
    body.post-type-archive-tribe_events .site-footer {
    display: none;
    }

    Please let me know if you have any follow-up questions on this topic.

    #1221470
    Brenda
    Participant

    THAT WORKED!!!! THANK YOU!

    I need to header and remove individual pages where events appear, like this one: http://378.ff2.myftpupload.com/event/aiken-center-for-the-arts-gallery-presents-tis-the-season-26/. Any idea how to do that?

    #1221629
    Cliff
    Member

    Single events do have post IDs, but you could target all of them via body.single-tribe_events

    Please let me know how this goes for you.

    #1233355
    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 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Where to find Page-Id on /events page’ is closed to new replies.