WordPress.org

Ready to get started?Download WordPress

Forums

Myt Site Just Lost Its Style (7 posts)

  1. trep
    Member
    Posted 9 years ago #

    Odd stuff.
    I posted a regular post, no pictures, nothing special and BLAM, my CSS formatting dissappears. My whole page appears vertically, with my former right hand sidebar vertically at the bottom. It gets wierder; I cannot login. I try, and it takes the password and returns the login screen, as though I had clicked the login button on my homepage.
    Take a look; it is truly bizarre: http://www.trekball.com
    My recent changes: not much. I installed coppermine gallery to photos.trekball.com about a week ago. I'm in the middle of finals, so I have not done squat with it as of yet. The missing photo in my second post is my fault, BTW, not a symptom of this problem.
    What I have tried: I removed all my plugins from the plugins folder. I tried restoring my origional wp-layout file. I removed coppermine, and the restored it when it made no difference.
    Now I have given up. Please help...

  2. Valerie
    Member
    Posted 9 years ago #

    For the layout problem: Did you check to make sure the link to the stylesheet was correct in index.php? Did you rename the stylesheet or change it? That is what I would look at first.
    As for the login problem, check right above the text boxes and make sure when you login it doesn't say "wrong login." It's kind of hard to notice if you're just glancing at it. If it does, that narrows the problem a bit.

  3. trep
    Member
    Posted 9 years ago #

    I dropped into index.php, and found this entry:
    <style type="text/css" media="screen">
    @import url( <?php echo get_settings('siteurl'); ?>/wp-layout.css );
    </style>
    Seeing as my stylesheet is called wp-layout.css, I assume this is right.
    I also typed a nonexistant login in, and recieved the message "Wrong Login". Because my site seems to keep all it's fonts at the same, rather large size, it was very noticeable. When I type in the correct admin password it just brings me to another login screen, with no trace of a "Wrong Login" message.
    Thank you for the tips, though!
    Trep

  4. Anonymous
    Unregistered
    Posted 9 years ago #

    just looking at your source code, without knowing what might have possibly caused it, the path to your CSS is really really long. So unless you have 20 or so "wp-admin" folders inside one another, that's your culprit.
    Finding out what caused it to do that might be a stickier problem, but I'd fix that and keep your eye on it.

  5. Anonymous
    Unregistered
    Posted 9 years ago #

    Fixed it for ya. ;)
    Haven't figured out what causes it yet. But the fix is to go to the login screen, notice that the url is really long and messed, delete all the extra junk and load that url. That fixes everything, no need to actually login or anything.
    Brian

  6. trep
    Member
    Posted 9 years ago #

    Wow... Just Wow...
    So as I understand it, you just typed in the correct url for the login screen, and wordpress did the rest?
    It almost seems too easy, like I need to read the fine print or something. ;)
    If this does happen again, is there some kind of debugger or log that might give me a clue as to it's cause?
    Oh, and Brian, a heartfelt Thank You. I just loaded my custom stylesheet, and it looks exactly as it did.
    Trep

  7. Valerie
    Member
    Posted 9 years ago #

    Nice look, very simple and clean.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.