Website Alignment

Hi all

I have been running zenphoto on my website for a while now and still for the life of me cannot work out how I get the site to align in the centre of the browser and not on the left of the browser.

Please, could anyone point me in the right direction to remedy this? You can see my issue at http://www.danielyates.info/photo

Many thanks for any help

Daniel

Comments

  • Hi,
    i'm not familar with this theme, but alignment of the site is control by the css file. Look for a file call screen.css or main.css in the css directory.

    Hava à look at this site for example :
    `http://www.barelyfitz.com/screencast/html-training/css/positioning/`

    By
    Laurent
  • Hi!

    I think I have found the solution.

    There few changes to do.
    First thing is to modify your CSS file: main.css . It is in "/zenphoto/themes/zpfocus13/css/main.css".

    Then
    - line 58: #nav . You modify "width: 980px; and add "margin: auto;"
    - line 78: di.#wrap . You delete "float: left;". Modify "width: 100%;" to "width: 980px;", and "margin: 0;" to "margin: auto;"
    - line 82: div.footerwrap . You delete "float: left;". Modify "width: 100%;" to "width: 980px;", and "margin: 0;" to "margin: auto;"

    Normally, you should have what you wished. I hope I was useful. Have a nice day.

    Bye.

    theWholeLifeToLearn
Sign In or Register to comment.