Support » Themes and Templates » WHY does one Page Look Different Than The Others??

  • Resolved Kermit


    Website: using my own custom theme.

    The Problem:

    All of the “Pages (Gallery, About, Home/Index) should look identical, since they’re all drawn from the page template and use the same stylesheet.

    Gallery is how it should look.

    Home and About are having some serious formatting problems.

    Why in the world would they be different from one another?? They are both using the Default Template.

    One thing I noticed is that if I remove one of my divs, the one called “container”, then About and Home are fixed, but Gallery breaks.

    Thanks in advance for any help you can offer.

Viewing 10 replies - 1 through 10 (of 10 total)
  • Moderator Andrew Nevins


    Forum moderator

    Validating your broken pages through W3C’s Validator should resolve your issues.



    Unfortunately, this did not resolve the problem. All of the validation errors I had were things like “Shorttag” discrepancies or other minor things. None of these things changed between the time the site was working and now.

    My CSS validates.



    Right now the “About” page is working just fine. I didn’t change anything about it. I just copied the HTML from it, placed it in a new page, deleted the old one, and renamed the new one to the old name. Everything is the same, and yet now it works.

    However, whichever page I assign as the “Front” page has the same formatting problem. It’s so odd, because if I go into Settings and change which page IS the front page, THAT page starts having the error, while the former front page is fixed!

    Maybe I should’ve mentioned it before, but previously I used an index.html file as the front page when I couldn’t get this to work, then changed it back to pure WordPress. The problem seems to be with WordPress even recognizing which page is the Front.

    your site is using two style.css;

    one referenced with a relative path, which only gets active on the front page:
    <link rel="stylesheet" href="style.css" type="text/css" media="screen" />

    (seems to be located here: )

    and another one, referencend properly (possibly using the WordPress functions):
    <link rel="stylesheet" href=" Journal/style.css" type="text/css" media="screen" />

    (seems to be loacated in the theme’s folder; )




    You are the best! That fixed it!

    I just deleted the css files in my home directory and boom.

    Thank you.




    Doing that created a new problem.

    The “Blog” page, which was working fine, now has an odd problem with the first entry. You’ll see it right away. The last image in the post is doing something strange, and it wasn’t before. Also the “back to top” element is aligned strangely.



    Ok, nevermind that. I went in and removed a float element from my CSS and that fixed the problem. Not even sure why that was there.

    Thanks again for your help.

    simply sort your stylesheets

    – I don’t see how totally removing the <link rel="stylesheet" href="style.css" type="text/css" media="screen" /> should cause any new problem in the ‘blog’ page, as it would not have been called in the first place.

    ps: ignore this reply; you seem to have it sorted.

    if this is all, please mark the topic as ‘resolved’ – thanks 😉



    Oh. I didn’t remove the link. I removed the stylesheet itself.

    And why that LINK was even there in the first place is because I copied the code from the index.html page that I had been using previously, and didn’t remove it when I switched back to a pure WordPress site.



    Forgot to resolve this.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘WHY does one Page Look Different Than The Others??’ is closed to new replies.