Archived topic
Right sidebar moved down in IE
11 replies · Started by Dave on March 21, 2018
The site I'm working on displays fine in Chrome, Safari and Firefox but in IE it moves the right sidebar down. Check out the site on Internet Explorer and you'll see for yourself. How do I fix that?
Hi there,
I would assume one of the widgets in the sidebar is causing this.
Can you try #1 here first? https://docs.generatepress.com/article/debugging-tips/
Hey Leo, I did that and the issue is still there. I think it may have to do with the the following code I have in Code Snippets:
add_filter( 'generate_sections_sidebars','generate_enable_sections_sidebars' );
function generate_enable_sections_sidebars()
{
return true;
}
This code allows me to have a sidebar while using Sections in the page editor.
Run your site through this: https://validator.w3.org
Check out #23 there - looks like a div element not properly closed.
Yah I see that error in the validator but I'm not finding it in my code. Where should I be looking?
It's this inside the third section: <div class="charcoal-bar"</div>
That's wierd, I'm on the Home page in the third section and my HTML is this:
<div class="charcoal-bar"></div>
However, when I check source code - it shows the code error on line 175. But I can't find the code anywhere in the editor to fix it...
It's still showing this:
<div class="charcoal-bar" <="" div="">
</div>
caching plugin perhaps?
Maybe? Any ideas how to fix it?
Might be worth deleting and re-typing the HTML. Something may be corrupted.
Boom, that fixed it. So weird, I've never seen that happen like that.
Thanks guys!
Glad we could help!