Posted: March 2, 2014 at 10:28 pm
|
WP version 3.8.1 When Event Espresso 4 is activated, the menu items for my theme interfere with my slider image on my homepage. Everything else seems to be fine, but on the homepage, there is some kind of interference. Please let me know what ideas you have. Thanks. |
|
I am deactivating the plugin so that our homepage isn’t distorted while I wait for a response. Thanks. |
|
Also, I recently updated to PHP version 5.3, but my site does not seem to be picking up the update yet. |
|
Hi, Is it possible to re-enable the plugin? It’s hard to troubleshoot the issue without seeing the issue first hand. |
|
The plugin has been activated. Please let me know when you’re done troubleshooting since the plugin distorts the homepage currently. Thanks. |
Hi Carrie, I took a look at this and it is actually a setting from the sites theme causing it. I’m unsure why this only becomes evident whilst EE4 is activated currently. But looking at the site using Chrome Dev Tools we can see this http://take.ms/xcswi This CSS is causing it .clear { clear: none!important; } If we disable that rule the image displays correctly. http://take.ms/ApnyA An element with class ‘clear’ is generally set to clear the element both sides, using something like clear: both; It does not seem correct to use the current rule and causes more issues as it is set using !important so can not be easily overridden. So depending on why that rule has been set you could just remove it from the sites theme in data/css/base.min.css. Or you could override the rule, however, due to the current rule using ‘!important’ we are starting to get into ‘specificity wars’ between the rule-sets so I would recommend against doing so. Placing something like this into a plugin such as My Custom CSS should override the theme. #banners.clear { clear: both!important; } |
|
|
Thank you. I have disabled the rule. I checked with the theme’s author, and he said that disabling the rule shouldn’t have a significant effect. However, he did say that unique class names in the Event Espresso plugin should help to prevent the problem. |
|
Hi Carrie, Thanks for the feedback and glad you got it fixed! |
The support post ‘Homepage slider image conflicts with menu items when EE plugin activated’ 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.