The difference is from the way your WordPress theme wraps html around each post. In order to get the two to look the same, you’ll need to apply the html markup from the Event Espresso short code template to the theme’s single.php template.
Let me know if I am doing this incorrectly, but I copied the code from content-espresso-event.php to single.php, but the content still looks the same as before.
It looks like you have <pre> tags wrapped around the [ESPRESSO_EVENTS] short code. You can switch the page editor mode to “Text” and remove those pre tags and everything will look much better.
As an aside, copying code from content-espresso-event.php to single.php would not be the correct way to make the short code output look more like your theme. You might find that removing those pre tags is sufficient, along with a bit of CSS to change the styles a bit.
Viewing 4 reply threads
The support post ‘ESPRESSO_EVENTS looks odd on mobile’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.