Support

Home Forums Event Espresso Premium Event Espresso is creating a conflict with the Header in the Impreza Theme

Event Espresso is creating a conflict with the Header in the Impreza Theme

Posted: October 2, 2018 at 11:34 am


118Group

October 2, 2018 at 11:34 am

The Header is covering the top part of the page. Instead of showing the page content under the header it is hidden behind the header.
I activated all plugins and deactivated Event Espresso and the conflict was fixed

Just an FYI:
WordPress is Updated
Theme is Updated
Event Espresso is Updated

I can attach/email screenshots if you want to see the issue.
Meredith


Josh

  • Support Staff

October 2, 2018 at 11:56 am

Hi Meredith,

If there’s a way you can upload a copy of the Impreza theme and provide a link to download that copy we can investigate further.


118Group

October 2, 2018 at 12:21 pm

This reply has been marked as private.


Josh

  • Support Staff

October 2, 2018 at 7:30 pm

Hi,

Thanks for sending.

I loaded up the theme locally and could spot the issue. The issue with the header is actually caused by a mistake in the way the Impreza theme does its CSS selectors for sizing the header, and Event Espresso just exposes that mistake.

Here’s how to fix:
1) You the config/header.css.php
change line 87, which reads:
.sidebar_none .l-header.pos_fixed + .l-main .l-section:first-child,
to
.sidebar_none .l-header.pos_fixed + .l-main .l-section:first-of-type,
then repeat the same change for lines 327 and 473.
2) Since this change will get overwritten on a theme update you could contact the theme developer and ask them to apply the same fix and include it with the next update. If they want to know why this change was needed, this article will help explain:
https://css-tricks.com/the-difference-between-nth-child-and-nth-of-type/


118Group

October 3, 2018 at 7:18 am

Thank you, I have applied the code and it works. I have contacted the theme to see what they say. Thanks!

The support post ‘Event Espresso is creating a conflict with the Header in the Impreza 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  118Group 2 months, 1 week ago ago

Topic Tags

Notifications

This topic is:
pending
Do NOT follow this link or you will be banned from the site!