Support

Home Forums Event Espresso Premium Remove sidebar from single event page and registration page on Enfold Theme

Remove sidebar from single event page and registration page on Enfold Theme

Posted: July 6, 2017 at 3:19 am

Viewing 3 reply threads


Peter

July 6, 2017 at 3:19 am

Hello,

I am trying to remove the sidebar from displaying on single event and registration pages on Enfold theme. I think you’ve been able to help others before.

https://www.societyinmotion.com/events/


Tony

  • Support Staff

July 6, 2017 at 6:59 am

Hi Peter,

For the registration pages, Enfold allows you to set if a sidebar should display.

Go to Pages -> Registration Checkout.

Edit the page and in the sidebar you can set if a siderbar should display – http://take.ms/JOcNe

Likley want to do the same on the thank you page.

For single event pages it’s a little more involved, what version of Enfold theme are you using? I have an older version but I’m wondering if there are any changes since then, can you send me a copy of the latest version before I go down the wrong path?

If so just send a link we can use to download the theme to support[at]eventespresso.com and I’ll take a look.


Peter

July 6, 2017 at 1:07 pm

Hi Tony,

I’ve had our COO send you the Enfold them to the support email.


Tony

  • Support Staff

July 7, 2017 at 10:19 am

OK, so turns out the version I had wasn’t actually that old.

Enfold has an options screen that allows you to set the ‘layout’ to be used by various sections within your site and if the sidebar should be shown.

For example, you can set Enfold not to display the sidebar on single posts within

Dashboard -> Enfold -> Sidebar settings -> Sidebar on Single Post Entries

Setting that to no sidebar will remove the sidebar from single posts across your site…

(Note that’s ANY single post, not just Event Espresso posts, so that may not be what you need)

If you only want the sidebar to be removed from EE posts, you can try this snippet:

https://gist.github.com/Pebblo/8ad4d5109d26689c67e7b972b4bf030f

Add that to a Custom Functions Plugin on your site to force EE single posts to show full screen.

Note: I don’t use Enfold and the above should be considered unsupported and untested (although I did some minimal testing to confirm it works) There may be a ‘better’ method to setting the layout on specific post types that I haven’t found. I would recommend contacting Enfold support to see if they can provide any additional information on a native method to achieve the same result.

Viewing 3 reply threads

The support post ‘Remove sidebar from single event page and registration page on Enfold Theme’ 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