Search This Blog

Monday, November 7, 2016

How to add custom CSS to SP2010 site?

FYI, to avoid an issue with Ribbon loosing the focus aftert adding Webpart to a standard list view page - AllItems.aspx as example, use the following method instead of adding CEWP CSS code. 

As example I wanted to avoid file name wrapping (if it contains spaces) and I added stype definition in CEWP

but then user will have to select list webpart in order to see tabs Documents and Library. So we would add it into header instead.

No comments: