Tagged Questions
0
votes
3answers
515 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 ...
5
votes
2answers
660 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
267 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
107 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
81 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 ...
4
votes
3answers
2k 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
510 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
178 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
353 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
3k 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 ...
0
votes
1answer
314 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 ...
3
votes
3answers
1k 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 ...