Tag Info

New answers tagged

0

I've had this problem before and never explored a solution until now. Don't use the script editor, instead just open the view aspx within SharePoint Designer and in 'PlaceHolderAdditionalPageHead' you can add your script without loosing the ribbon. Tested in SP 2013 on AllItems.aspx <asp:content contentplaceholderid="PlaceHolderAdditionalPageHead" ...


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'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 ...


0

Once I upgraded to SharePoint 2013, I saw the same issue occuring with a SINGLE Web Part Zone. My solution should probably work with SharePont 2010 as well. To reproduce the problem in SharePoint 2013: Create a page. Add a list to the page. Edit the web part and change the view. The list is displayed, but there is a small amount of space above the list. ...


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').


0

We solved this by using an HTTP module scanning the DOM for anchor tags and using a regular expression to check if they are external or not (I think our comparison was something like, if the link contains HTTP then we assumed external). The http module would then apply a class to the anchor tag. Not sure if there is a way to do this with plain CSS. ...


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>


0

You can add a Content Editor WebPart and design your Title from Scratch. Click here for how to add Content Editor WebPart You can also Give a title to Search Results WebPart. For this just Edit the WebPart Under Title section give a new Title and Choose Title in Chrome type property of WebPart. For your Second Question: Their is no OOB way to achieve ...


0

Applying the CSS class s4-notdlg to all HTML elements of your custom masterpage you want to hide should do the trick.


0

Sorry I can't post code right now, but if you are still having a problem next week, I'll post back. I created a plugin awhile back to do this: make elements sticky. It supports sharepoint and I'm currently using it in SP2013 (o365) with a few small apps. The plugin is: http://purtuga.github.io/jquery.stickOnScroll/ You will need to use the set the ...


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 ...



Top 50 recent answers are included