[Resolved] Right sidebar moved down in IE

Home Forums Support [Resolved] Right sidebar moved down in IE

Home Forums Support Right sidebar moved down in IE

  • This topic has 11 replies, 3 voices, and was last updated 6 years ago by Leo.
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #525683
    Dave

    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?

    #525849
    Leo
    Staff
    Customer Support

    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/

    #525863
    Dave

    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.

    #525979
    Tom
    Lead Developer
    Lead Developer

    Run your site through this: https://validator.w3.org

    Check out #23 there – looks like a div element not properly closed.

    #525984
    Dave

    Yah I see that error in the validator but I’m not finding it in my code. Where should I be looking?

    #526462
    Leo
    Staff
    Customer Support

    It’s this inside the third section: <div class="charcoal-bar"</div>

    #526547
    Dave

    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…

    #527040
    Leo
    Staff
    Customer Support

    It’s still showing this:

    <div class="charcoal-bar" <="" div="">
    </div>

    caching plugin perhaps?

    #527067
    Dave

    Maybe? Any ideas how to fix it?

    #527245
    Tom
    Lead Developer
    Lead Developer

    Might be worth deleting and re-typing the HTML. Something may be corrupted.

    #527311
    Dave

    Boom, that fixed it. So weird, I’ve never seen that happen like that.

    Thanks guys!

    #527893
    Leo
    Staff
    Customer Support

    Glad we could help!

Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.