Menu’s style doesn’t load (Joomla)


HTML error

You might have a large HTML error in your website. If you have Firefox browser downloaded, open your page and right click -> View page source. Look through the code, and if you see something marked with red, you have a HTML error, which you should fix.

It is possible, that you won't see any red codes, but you might still have HTML errors.

  1. Wrong page start

    Make sure that your website starts with something like:

    <!DOCTYPE html>

    If your page does not start with that, open up your header.php file, and make sure that you find that in the top of the page.

    It is possible that the theme developers inserted some comments to the page's header, so it is not a problem, if the page starts with something like this:
     * The Header template for our theme
  2. Basic HTML codes are missing

    Make sure that your website's source has these codes:


    in this order.

    If one of them is missing, check out the header.php (for the opening html, the head and the opening body tag) and the footer.php (for the closing body and html tag).

  3. PHP error caused by the theme

    If your theme's file are containing the codes above, yet your page source shows that the closing body and html tags are missing, open up your footer.php file, and search for the last HTML code you found in the page source. For example, if your site ends with this code:

    <div class="copyright">

    your footer.php file probably will have some PHP codes after it which might fail causing the file to stop before its end.

    <div class="copyright">
    <?php some_theme_function(); ?>

    You should simply comment it out:

    <div class="copyright">
    <?php //some_theme_function(); ?>
    For a faster result you could turn on the Error reporting like this.