I've been trying to solve this problem for about 10 hours now and it's driving me nuts. I've googled and I've googled some more.

My problem is I'm trying to append a CSS doc and it works...but only for a couple pages. I did it the way I'm supposed to. I went to my master page section and added an alternate CSS URL. Then I go to my home page it looks fine but then as soon as I go to a page with a path like /my/name/ it stops appending my CSS doc to the head section.

All I'm trying to do is hide a couple links on the left navigation.

Here are some screen caps to show my prob.


Not working

  • Are you sure the paths are in the same site? Did you try to use the checkbox to apply it to this site and all subsites? Commented Mar 23, 2016 at 18:12
  • Ya I checked the paths. And this is the main site with no subsites. Thanks though.
    – degys
    Commented Mar 23, 2016 at 18:33
  • What strikes me about your screenshots is that in one of them you seem to have different permissions as you are missing the edit buttons on one. I would think your issue could be related to that. Also, are you sure this is not an issue in the CSS? Sometimes SP applies weird classes in certain states of pages that require specific CSS rules. Commented Mar 23, 2016 at 18:43
  • Ya the edit button is one the things I was hiding. So it worked on the one but not the other. I also just double checked the class names and they seem to be the same. li.static:nth-child(3) and etc. Thanks again though. This is just making me want to pull my hair out lol.
    – degys
    Commented Mar 23, 2016 at 18:49
  • 2
    Also it appears you are on different site collections, the alternate CSS link does not break site collection boundaries. It has to be configured on each site. Commented Mar 23, 2016 at 18:50

1 Answer 1


It seems like you applied the css to the My Site Host. Your second screen shot is a Personal MySite, which is a different site collection. In fact, every user get their own personal my site (a site collection where they are site collection admin).

To apply consistent branding and stylesheet, you should look for branding my site host and personal my site. Since you're on on-prem this should be doable. Use feature stapling together with powershell to apply alternate css or custom master page. To better understand the difference, look up some architecture diagram.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.