Upgraded to WP 2.8 now formatting is screwy

5 replies
Ok, so I've been upgrading to 2.8 with no problems until today.

After upgrading I saw the common "line 487 error message". After uninstalling all my plugins and only installing a few, all seemed ok.

However, the sidebar that should be on the right side of the page is now going below the main content section.

None of the dimensions had been changed but I tried changing one by one to see if I could get it to fit correctly.

After working on it all day I still can't see where the problem is. It looks like it should be a simple fix but its got the best of me.

Would anyone have any ideas? Best Home Treadmills | Treadmill Reviews | Treadmills on Sale
Thanks!
Patricia
#formatting #screwy #upgraded
  • Profile picture of the author mywebwork
    Hi Patricia

    If you view the source of your page you'll see the problem - there is either a <div> tag missing or an extra closing </div> tag has worked its way in (on line 503). This is affecting the right sidebar alignment.

    Perhaps when you removed a plugin a <div> was only partially removed.

    Hope this is of some help.

    Bill
    {{ DiscussionBoard.errors[905559].message }}
  • Profile picture of the author 4thstreet
    Bill,
    Thank you.
    I can see now the extra </div> tag & it looks like it may have been left from the Random Posts widget.
    I have tried to find the extra </div> in each of the sections in the editor, in addition to matching it up against another Revolution blog that I have but can't seem to be able to find it.

    Would you have an idea of which of the files it may be in? I thought it would be the home.php but I've combed it over and over again and don't see anything. So I've gone each file one by one.

    I know that I am probably staring at it, so I've also tried looking bottom to top but with no luck.

    Again-thank you
    {{ DiscussionBoard.errors[907172].message }}
  • Profile picture of the author mywebwork
    Hi Patricia

    Without knowing what theme you are using it is a bit hard to say. Problem is that a WordPress page is actually built up of several PHP fies, and often the opening <div> tag is in one file while the corresponding </div> ends up in another. As I guess I'd try the sidebar.php and well as the footer.php (if there is one).

    Do you have an original copy of the Theme before it was modified for your site? You may want to use it to compare or replace files to see if you can find the problem.

    If you get really stumped feel free to PM me - I may be able to assist.

    Bill
    {{ DiscussionBoard.errors[909452].message }}
  • Profile picture of the author mywebwork
    Boy I should really read these posts a bit more carefully - you said in it you were using the Revolution theme, didn't you?!



    I may have a copy of that somewhere , I'll see if I can look it over later tonight.

    Bill
    {{ DiscussionBoard.errors[909463].message }}
  • Profile picture of the author 4thstreet
    Bill,

    Got it to work correctly! Don't know why this happened but the home.php was missing a </div> right before
    <?php include(TEMPLATEPATH."/sidebar_home.php");?>

    I must have checked this a hundred times and couldn't find it but once you mentioned sidebar.php I tried adding </div> where ever I saw anything related to sidebar.

    Thank you so much for your help! I was getting so frustrated knowing that there was a simple fix but couldn't find it.

    Again- thank you so much!
    Patricia
    {{ DiscussionBoard.errors[910416].message }}

Trending Topics