Support

Home Forums Event Espresso Premium Center All Content

Center All Content

Posted: August 5, 2018 at 2:49 pm

Viewing 3 reply threads


jlnewell

August 5, 2018 at 2:49 pm

We have some events using a Site Origin Template. The event page seems to be trying centering things on a template with a sidebar. Even though the sidebar is not there. I have chosen some other templates, there are only 4, to fix this, but every template is the same. I have tried the inspect element but it shows nothing. Is there a way to see how EE is choosing the template to use. Or to modify the live template to center the content on the page?

You can see one here – http://foml.org/events/foml-trustee-alliance-fall-workshop/


Tony

  • Support Staff

August 6, 2018 at 3:38 am

Hi there,

EE doesn’t actually select a template to display the event, your theme does, however looking at the content of the link you posted it looks like all of your text has been set to center align, is that expected?

Currently the reason the content is loading in a content arear that is smaller than full width is due to some CSS from optimizepress:

#primary {
    width: 71.287%;
    float: left;
}

You can override that specifically for EE events if you prefer using:

.single-espresso_events #primary {
    width: 100%;
}

Add that to your site in Appearance -> Customize -> Additional CSS


jlnewell

August 6, 2018 at 3:36 pm

Thanks, i contacted SiteOrigin and they were able to also see something similar.


Tony

  • Support Staff

August 7, 2018 at 3:56 am

Great, please do let us know if you run into any further problems.

Viewing 3 reply threads

The support post ‘Center All Content’ 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