Default Template

Home Forums Calendar Products Events Calendar PRO Default Template

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #32963
    dave
    Participant

    At the moment I have the event calendar pro using the “default page template” which is fine. I just want to know if there is a way to have the calendar use a different template then the event description page. As I would like the SideBar’s on the description pages and leave the calendar full size. At the moment it seems that they both use “Tribe Events” template.

    Also the theme I am using for WP is Pagelines framework.

    #32973
    Jonah
    Participant

    Hi Dave,

    If you’re using the “Default Page Template”, then for single events they will use your theme’s single.php template. For the calendar, it will use your theme’s page.php template. In order to remove the sidebar on the calendar page and make it full width you’ll need to edit your theme’s page.php and add some conditional code to detect that you are on the calendar page and not call the sidebar however that is called in page.php in your theme. These should help you: https://gist.github.com/jonahcoyote/2992392 – then, you’ll also need to modify the CSS a bit to target the calendar page to make it full width. The calendar page is identified with the .events-gridview body class so you can use that to specifically style elements on the calendar page.

    I hope that helps!

    – Jonah

    #33043
    dave
    Participant

    Thank you Jonah for the quick reply. Let me make the changes and get back to you.
    Dave.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Default Template’ is closed to new replies.