• Hi, I made a mistake today uploading the wrong index.php. Instead of uploading the file in the theme folder I put it in the WordPress files. I corrected this. As far as I know I didn’t change anything else.. However, my site looks weird now. The text is centred and the header changed. I changed the logo but it’s not visible anymore on my site (www.csrinpractice.com). Anyone there who can help me? Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • My guess is that you’ve overwritten your style.css, however I cannot be sure.

    The center text is done by text-align: center; in your body, which is a IE hack to make the layout center. What’s missing is the text-align: left; in #page.

    But your whole layout is messed up.

    Peter

    Thread Starter Sandra van der Lingen

    (@svanderlingen)

    Hi Peter, I replaced the style.css with the original one but the site still looks the same… So weird.. Any other suggestions?

    In what directory did you upload that style.css?

    I can see that you use this theme: Cordobo Green Park 2
    and it’s in the newtheme/ directory. Is this the directory you’re working on? (just to be sure).

    Peter

    Thread Starter Sandra van der Lingen

    (@svanderlingen)

    Yep. That’s correct. The thing is that I only changed a few things in index.php so I don’t understand why the entrie lay out is different now.

    did you alter some of the div’s?
    For instance, I can see a div with id headerimg, however I cannot find that id in your stylesheet.

    Peter

    Thread Starter Sandra van der Lingen

    (@svanderlingen)

    I now activated the standard WordPress theme and deactivated Cordobo Green Park. I don’t know what I need to repair to get the cordobo lay out right again. Perhaps I should upload the theme again…

    Perhaps I should upload the theme again…

    Probably a good idea.

    Peter

    Thread Starter Sandra van der Lingen

    (@svanderlingen)

    I uploaded again but the problem is still there.. Don’t have time now to solve this… I opted for the quick fix.. Thanks for your help Peter!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Everything is centred’ is closed to new replies.