Support

Home Forums Event Espresso Premium Full Width Page Template

Full Width Page Template

Posted: April 22, 2015 at 7:00 am


KarenC

April 22, 2015 at 7:00 am

I would like the events to display without the sidebar so I’ve chosen the template to be Full Width. However, it doesn’t have any effect. Please see the events page here.

http://www.professionalwomenslunches.com/events/

I’ve also tried another suggestion I’ve found on the forum which is to add custom CSS like such

.single-espresso_events .content-area {
width: 100%;
}
.single-espresso_events .widget-area {
display: none;
}

but no effect either. Please help!

Thanks,
Karen


Tony

  • Support Staff

April 23, 2015 at 4:04 am

Hi Karen,

Event Espresso uses your site theme to output the events.

The event list is actually an archive of the EE posts, so is using your themes archive.php template file. You could copy your themes archive.php file, rename the copy to archive-espresso_events.php then remove the sidebar calls within that template file, they will look something like this:

get_sidebar( 'content' );
get_sidebar();

Or, you can use some CSS. The CSS you posted above is for a single event post, for example:

http://www.professionalwomenslunches.com/events/melbourne-lunches/

Is a single event, however your theme uses slightly different classes to the ones above, so you’ll need to use:

/* Event List */
.post-type-archive-espresso_events #sidebar {
  display: none;
}
.post-type-archive-espresso_events #content {
  width: 100%;
}

/* Single Event */
.single-espresso_events #sidebar {
  display: none;
}
.single-espresso_events #content {
  width: 100%;
}

We recommend using either the My Custom CSS or Reaktiv CSS Builder plugins to add custom styles such as these.


KarenC

April 23, 2015 at 5:14 am

Thanks, Tony. I’ve used the CSS option and it works well.

The support post ‘Full Width Page Template’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso