Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #880271
    weareobeo
    Participant

    Hi,

    X and WP are up to date. Link is here http://weareobeo.com/wordpress/news/

    On the blog index you’ll see the sidebar on the right, at the top (under header). But on some post’s (and not others) it has shot down to the bottom right corner? Example: http://weareobeo.com/wordpress/lillys-eco-clean/

    Not sure why it’s happening for some and not others?

    Any ideas?

    #881184
    Friech
    Moderator

    Hi There,

    Thanks for writing in! Is there a chance that you’re using a modified template on your single posts? The x-sidebar is outside the main container which should not be the case. And can you check one of your post that have the issue, and see if you have an unclosed <div> tag?

    In the meantime you can add the Custom JavaScript below on your Customizer.

    (function($) {
       $(".single-post .x-sidebar.right").insertAfter(".single-post .x-main.left");
    })(jQuery);

    Cheers!

    #881715
    weareobeo
    Participant

    Yep. Looks like I did a sloppy job copying over the posts from our old platform. I tried one post and there was indeed a closing div tag that was never opened. Deleted and all is well.

    Did copy the JS in yet. Will that script force the layout in place?

    Thanks for the help. Great work!

    #882072
    Paul R
    Moderator

    Hi,

    No need to add the js code as you have found the extra div in your post.

    Thanks

  • <script> jQuery(function($){ $("#no-reply-880271 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>