Support

Home Forums Event Espresso Premium Updated to new Thrive Theme and EE conflicts with menu and spacing

Updated to new Thrive Theme and EE conflicts with menu and spacing

Posted: September 24, 2017 at 3:20 pm


Bob Randklev

September 24, 2017 at 3:20 pm

Finally the client gave the go ahead to update the theme on:

https://streetsmartsdriversed.com

You’ll notice on the home page the menu is pushed down to the bottom and there’s extra spacing below some of the widget areas… here’s a video to show more of what I’m talking about:
https://v.usetapes.com/Yi5HX0DhvU

Any ideas what would be causing a formatting problem when the plugin is turned on?

Thanks


Tony

  • Support Staff

September 25, 2017 at 4:34 am

Hi Bob,

Looing at the site, the majority of the sits scripts/styles are loading within the body tag rather than head – http://take.ms/zO22Z

Can you temporarily disable EE4 so I can view the page source with the plugin deactivated? I think the theme may be doing something unexpected and then its getting tripped up by EE.

In fact, can you send me a copy of the theme so I can look locally? If so you’ll need to host the zip and post a link we can use to download it.


Bob Randklev

September 25, 2017 at 6:27 am

This is an active site taking registrations during the week so I cannot disable but here’s a link to download the theme and do some testing:
https://www.dropbox.com/s/m8vd92jwsvl5gd7/pressive-1.300.00.zip?dl=0


Josh

  • Support Staff

September 25, 2017 at 11:55 am

Hi Bob,

From looking at the code it’s evident the theme is doing it wrong but it’s a fairly simple fix to remove the errant code. If you open up the theme’s fullwidth-page.php template you’ll find this code on on lines 12-19:

// conflict with The Events Calendar plugin - post content appearing twice
if ( have_posts() ) {
	while ( have_posts() ) {
		the_post();
		get_header();
	}
}
wp_reset_query();

The above should be removed and replaced with:
get_header();

I can recommend reaching out to the theme developer and ask them to address this in their theme because there will be other issues for their customers because the main WordPress loop should never be run before the call to get_header(), and the loop shouldn’t be running twice like that either.


Bob Randklev

September 25, 2017 at 5:12 pm

Thanks Josh that fixed it so we can finish the design updates!

I’ve cross posted at Thrive Themes to get a permanent fix.

The support post ‘Updated to new Thrive Theme and EE conflicts with menu and spacing’ 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