WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] WHY does one Page Look Different Than The Others?? (11 posts)

  1. Kermit
    Member
    Posted 1 year ago #

    Website: http://www.indigeneart.com 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.

  2. Andrew Nevins
    Spam zapper & Volunteer Moderator
    Posted 1 year ago #

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

  3. Kermit
    Member
    Posted 1 year ago #

    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.

  4. Kermit
    Member
    Posted 1 year ago #

    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.

  5. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    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: http://indigeneart.com/style.css )

    and another one, referencend properly (possibly using the WordPress functions):
    <link rel="stylesheet" href="http://indigeneart.com/wp-content/themes/Art Journal/style.css" type="text/css" media="screen" />

    (seems to be loacated in the theme's folder; http://indigeneart.com/wp-content/themes/Art%20Journal/style.css )

  6. Kermit
    Member
    Posted 1 year ago #

    Alchymyth!

    You are the best! That fixed it!

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

    Thank you.

  7. Kermit
    Member
    Posted 1 year ago #

    But...wait.

    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.

  8. Kermit
    Member
    Posted 1 year ago #

    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.

  9. alchymyth
    The Sweeper & Moderator
    Posted 1 year ago #

    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 ;-)

  10. Kermit
    Member
    Posted 1 year ago #

    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.

  11. Kermit
    Member
    Posted 1 year ago #

    Forgot to resolve this.

Topic Closed

This topic has been closed to new replies.

About this Topic