1
vote
1answer
20 views

CSSRegistration

I am making an aspx page and need to link some css pages. From the root of the site collection the css pages are located in Style Library/CSS/files_here.css My aspx page is located at ...
1
vote
3answers
87 views

how to register a custom css with v4.master without editing the actual file

I would like to add a custom css with v4.master however do not want to edit the actual master page itself. the idea is to load the custom css on the wiki page. do we have any way of doing it?
1
vote
0answers
41 views

What is the best practice to change the default font from a masterpage in a MySite webb application?

I have a mysite web application. In this webapplication there is the my site host site collection. In this site collection I have my custom masterpage with my custom css file registration. This css ...
0
votes
3answers
2k views

Styling divs and other css styles to HTML elements in SharePoint 2013

I am following this SharePoint 2010 tutorial where the author is adding styles directly in the html mark-up of the page. When I edit the mark-up in SharePoint 2013 and click OK initially the styles ...
10
votes
2answers
6k views

CssRegistration with $SPUrl doesn't work

I'm using SharePoint 2013 and I have created master page file (as .html) and converted it to .master file. As I have read, I should only modify html file, because all changes will be also registered ...
3
votes
2answers
786 views

Sharepoint site using corev4 AND custom CSS File?

I'm using a custom Masterpage which references a custom CSS File in the header like so: <Sharepoint:CssRegistration Name="CUSTOM/Custom.css" runat="server"/> My custom CSS file is simply a ...
0
votes
1answer
268 views

Detect only ie8 document mode , give users IE8.css file

I'm having problem with document mode. In workspaces we force to document mode into ie8, like <meta http-equiv="x-ua-compatible" content="IE=8"/> How can I detect what document mode all ...
1
vote
0answers
134 views

Popup page, CSSLINK not working

I am on Sharepoint 2013, we migrated from Sharepoint 2010. I have custom popup page which has the following CSS declaration: <head runat="server"> <SharePoint:CssLink ...
8
votes
5answers
9k views

Sharepoint 2013 add css in a page layout

I'm trying to add my custom CSS file in my sharepoint 2013 page layout. I add it with the link tag or with CSSRegistration and when the page is rendered, the css does not appear in the source. Also I ...
0
votes
1answer
899 views

sharepoint:cssLink returns a broken link [closed]

I'm developing the master page for my company's intranet. I've read that this html will link all default and custom css files. <sharepoint:csslink runat="server" version="4" /> I get back ...
0
votes
2answers
273 views

Server Relative references INSIDE CSS?

CssRegistration does a grand job of referencing the CSS file relative to the site URL you are on. What do you do inside the CSS file? If I'm deploying assets to the /_layouts/images directory, sure ...
0
votes
2answers
510 views

Custom Visual Web Part editable CSS

I am making a custom visual web part in Visual Studio 2010 and I am trying to add a editable CSS style sheet to it. What I mean is I want to make a property that the user can access through the edit ...
2
votes
1answer
1k views

CSS link not added to master page

I have a custom CSS file is in 14\TEMPLATE\LAYOUTS\MyStuff folder. Masterpage markup contains the following: <SharePoint:CssLink runat="server" Version="4"/> <SharePoint:Theme ...
4
votes
2answers
4k views

Understanding problem: How to add a stylesheet to a web part

Well, I try to add a css stylesheet to my web part but it didn’t work… I read that there are many ways to a css file into a web part, but I didn’t understand them…. First I installed the Sharepoint ...
1
vote
1answer
360 views

Debug CSS Registration

I'm working on a custom Blog site template that's quite similar to the OOTB Blog site template. I'm having issues with CSS registration of the OOTB blog.css file. (i.e. via ...
6
votes
3answers
2k views

Problem ordering the CSS references when registering CSS files with the CssRegistration class

I'm developing a web part which needs some custom CSS files. So I'm using the CssRegistration class to add them to the page header. The code registers 4 CSS files which got deployed to the layouts ...