Support

Home Forums Event Espresso Premium single event template

single event template

Posted: January 20, 2018 at 5:53 pm

Viewing 3 reply threads


bluelink

January 20, 2018 at 5:53 pm

Hello, I’m trying to edit single event template, I have copied “page.php” to my child theme and did everything as in your documentation and now my event appear like this: http://jordantrail.org/thru-hike/demo/
how can I change the template to display as following:
feature image——–description———–ticket-selector
now each one of them appears on different section and the feature image isn’t showing at all


Tony

  • Support Staff

January 22, 2018 at 8:55 am

Hi there,

The order of the details can be changed within EE without needing to create a custom template.

Before going forward, can I ask why you’ve created a custom template? Is it just to change the order?

Also why page.php and not single.php?


bluelink

January 22, 2018 at 3:37 pm

Hello Tony,
First I don’t asked to just reorder details, but I want to arrange them on the same line, this is why I created custom template and I choose page.php because I wanted to use same website page layout not the blog layout.


Tony

  • Support Staff

January 23, 2018 at 5:22 am

First I don’t asked to just reorder details, but I want to arrange them on the same line

Oh, my apologies. That wasn’t clear in the above so I thought you wanted to change the order rather than display the details on a single line.

how can I change the template to display as following:
feature image——–description———–ticket-selector
now each one of them appears on different section and the feature image isn’t showing at all

The output of the feature image is controlled by your theme, is there a call for the_post_thumbnail(); or similar in your template file?

You will need that to be called before the_content().

To force the other sections onto a single line you’ll need to either float them left or set them to display: inline-block; using CSS and then set a max width of 33%.

Viewing 3 reply threads

The support post ‘single event 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