• Resolved martinez

    (@martinez)


    While playing around with different themes, all of a sudden the front page on my wordpress installation at https://81.172.148.192/ broke. The body of the front page has the wrong style (see the background on my website), the sidebar is not aligned properly. It looks weird no matter which theme I use.

    This is my WordPress test blog, so I don’t mind that much, but it would be valuable to know what went wrong, and/or how to fix it.

    Now using default theme, all plugins disabled.Thanks for any help..

    EDIT: Only the index page is broken, other pages seem fine

Viewing 6 replies - 1 through 6 (of 6 total)
  • In footer.php, find this tag
    </body>
    immediately above it, put this tag
    </div>
    That will produce a change and we’ll be closer to the solution ??

    Thread Starter martinez

    (@martinez)

    No change I’m afraid. Since the problem seems to be there regardless of theme, Something other than the theme files must be broken, right? But thanks for the reply, I’m glad to test anything else you might come up with!

    The page I see is probably from the cache – try deleting the contents of wp-content/cache

    As this is the default theme, you could just nuke it and upload a new default? (but you still need to clear the cache)

    Thread Starter martinez

    (@martinez)

    I added a </div> in the near end of index.php, which seems to have done the trick. Forgive my ignorance, but do plugins alter the actual index.php? Otherwise I don’t understand why this would happen..

    END OF INDEX.PHP:

    <?php endif; ?>

    </div>
    </div> <-ADDED THIS

    <?php get_sidebar(); ?>

    <?php get_footer(); ?>

    Plugins don’t alter the structure of a page.
    Congrats on getting it going ??

    Thread Starter martinez

    (@martinez)

    Me again..

    Seems like I have to do this for every theme I have. Although I guess I could edit every themes index.php and add a </div>, it feels like I’m only dealing with the symptom.. Any ideas would be welcome anyway..

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Index page style broken; please help troubleshoot!’ is closed to new replies.