Calendar vs. Event List: Use different template for each?

Home Forums Calendar Products Events Calendar PRO Calendar vs. Event List: Use different template for each?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #45763
    jeremypthompson
    Participant

    Would like Calendar view to use page template without sidebar since it needs more horizontal space.
    It there any way to do this?
    Thanks!

    #45856
    Jonah
    Participant

    Hi jeremypthompson,

    This is somewhat involved but not too bad. I would suggest first setting the Events Template in Events > Settings > Template to one of your theme’s templates with a sidebar. Then you just need to add some CSS to hide the sidebar on the calendar page and make everything full width. To help with this, you can specifically target the gridview page with the .events-gridview body class. So in your CSS you would use something like this to hide your sidebar:

    .events-gridview #sidebar {
    display: none;
    }

    Then, you just need to modify the container widths on the page in a similar way. I would need to look at your code with the chosen template in place to tell you for sure what to do. If you want to apply the template you’re going to use I can take a look and give you a better idea of the CSS to apply to get the page full width.

    Let me know if that helps.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Calendar vs. Event List: Use different template for each?’ is closed to new replies.