• Resolved Kit Marsden

    (@manek43509)


    Hi, I want to display the calendar page on my site without the standard WordPress sidebar (so the month view calendar will be full-width in the body of the page). Is there a simple way to do this, given that my calendar is not a WordPress ‘page’ per se?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi there,

    Thanks for using The Events Calendar.

    A couple options for you to consider.

    1) This is a question that would be best directed to your theme author because the “content-sidebar” layout comes from that end.

    They may have an option to switch to a “full width” layout on post type archive pages.

    For reference, according to the stylesheet of your active theme, this is the author: https://wp-eventmanager.com/the-team/

    2) A quick solution would be a dash of Custom CSS that I just whipped up for you:

    .post-type-archive-tribe_events .primary-content-area {
        max-width: 100%;
        flex: 0 0 100%;
    }
    
    .post-type-archive-tribe_events .secondary-content-area {
        display: none;
    }

    Here’s a guide on adding Custom CSS to your site if you’re not familiar: https://theeventscalendar.com/knowledgebase/k/customizing-css/

    Hope this helps point you in the right direction.

    Let us know how it goes.

    Best regards,
    Leland

    Thread Starter Kit Marsden

    (@manek43509)

    Thank you. That CSS has worked perfectly!

    While we are here… Why is there so much padding at the top of the calendar, above the name of the month? Is there a simple way to close that up at all, in CSS?

    Plugin Support Jaime

    (@jaimemarchwinski)

    Hi @manek43509

    So glad to hear that worked for you!

    Try adding the following CSS to remove that padding:

    div.tribe-common-l-container.tribe-events-l-container {
      padding-top: 0px;
    }

    I hope that helps!

    Thanks,
    Jaime

    Plugin Support masoodak

    (@masoodak)

    Hi there,

    This thread has been pretty quiet for a while, so we’re going to go ahead and close it. 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.

    Have a great day.

    Kind regards,
    Masood

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘No Sidebar on Calendar Page’ is closed to new replies.