Tag Info

Hot answers tagged

8

you can use sprite cow to generate your css http://www.spritecow.com/


3

try <SharePoint:CSSRegistration ID="CSSReg5" name="<%$SPUrl:~SiteCollection/Style Library/CSS/styles.css%>" After="corev4.css" runat="server"/> the part <%$SPUrl:~SiteCollection points to the root site collection, maybe your code is not pointing to that location! rather the site or sub site, method above explicitly says root site collection ...


1

I would say the style library is a good place to store css files. The reference itself depends on how to you want to have the scope of the changes. If you are okay with having a global site reference, use the masterpage or the alternatecss property in site settings, masterpage section. if you want to narrow down the scope, you can add it at the page ...


1

In SP2013 you can define a custom ccs file to be linked to your masterpage on your root site via Site Settings => Look and Feel => Masterpage => Alternate CCS URL => Specify a CSS file to be used by this site and all sites that inherit from it. Click 'Browse' to insert the path to your css file (best location to store it would be the list 'Style Library').


1

use CSS to alter appearances, that way it will affect all views. Manually editing the view is not the way to do this unless you want to be repeating yourself.


1

Try the following CSS, worked for me: <style> .ms-acal-rootdiv { margin-left: -8px; } .ms-acal-summary-dayrow > th { border-bottom: none; border-top: none; } </style>


1

The relationship between .html and .master is a bridge. It has been implemented so that developers who are not familiar with ASP.NET masterpages and SharePoint can use the .html file to do the changes in a "environment" they are more or less familiar with. I'm going to assume this is an on-premise solution, so yes, downloading and putting the .js file in ...


1

Give that you are not using a sandboxed solution, you can use a Delegate Control, specifically the AdditionalPageHeadDelegate: You nee to create an ASP.Net Control (ascx file) where you will add the script and css references to the markup Add a feature, and scope it to Web Application Add an empty Elements.xml file to the feature ("Empty element" in the ...


1

I'll weigh in on this as others have so just restating what some others have posted and why. For years I've been using the StyleLibrary. The reasons to me are obvious and simple: The StyleLibrary document library is there, out-of-the-box and in every site (except blank sites) It let's me create one per site collection so I can use different ...



Only top voted, non community-wiki answers of a minimum length are eligible