locked
Customize layout person.aspx RRS feed

  • Question

  • Hi,

    I need to customize the myprofile page (person.aspx) but I have two questions:

    1. Where can i find the css-page that person.aspx is using? Which one is it?
    2. I opened person.aspx, but there i'm not able to edit the top of the page, where can i change the whole page/layout?

    Tuesday, August 10, 2010 9:33 AM

Answers

  • Open up your My site with SPD 2010.

    Click on the Master Pages site object (left hand nav)

    Modify the mysite.master there (it has versioning on). It will un ghost the file and you can change it at will without worry.

    No need to modify the one in the _layouts directory.

    vr,
    Michael

    • Proposed as answer by SharePointNinja Wednesday, August 18, 2010 10:11 PM
    • Marked as answer by Wayne Fan Friday, August 27, 2010 6:26 AM
    Wednesday, August 18, 2010 10:11 PM

All replies

  • i think i found the .css, mysitelayout.css...
    (in Program Files/Common Files/Microsoft Shared/Web Server Extensions/14/TEMPLATE/LAYOUTS/1033/STYLES)

    but it's better that i don't change the original css and that i create a custom css?

    Tuesday, August 10, 2010 10:03 AM
  • It's always better to create a custom css and refer to that one...

    If you want to edit the top of the page, you will have to go to advanced mode in SPD or change the master page (depending on what you mean by "top").

    Wednesday, August 18, 2010 11:15 AM
  • Remember you can always use the IE developer toolbar (F12) to click elements in the page to see where the CSS is coming from.
    Wednesday, August 18, 2010 5:31 PM
  • Open up your My site with SPD 2010.

    Click on the Master Pages site object (left hand nav)

    Modify the mysite.master there (it has versioning on). It will un ghost the file and you can change it at will without worry.

    No need to modify the one in the _layouts directory.

    vr,
    Michael

    • Proposed as answer by SharePointNinja Wednesday, August 18, 2010 10:11 PM
    • Marked as answer by Wayne Fan Friday, August 27, 2010 6:26 AM
    Wednesday, August 18, 2010 10:11 PM