Tag Info

Hot answers tagged

6

I'm afraid there is no better solution than to use CSS: To fix the icon in the left corner via CSS is pretty much straight forward because it's no icon is just a character out of the Office 365 icon font. #O365_MainLink_NavMenu{ color: lime; } The small css will turn the icons into lime. (OK it doesn't look nice but shows perfectly how they are ...


6

OneDrive is different with MySites. Unless you were referring to OneDrive for business which is the same with MySites OneDrive for Business uses a platform called SharePoint to give each member of your team a place to store and work on documents with others. Because it uses SharePoint it also provides more administration option for working with documents. ...


4

Well, the best we can do is provide comparisons, and you will need to make the determination based on what you are trying to accomplish. You could obviously do a combination of both, have device channels and on the respective master pages (add responsive design principles). Comparisons Device Channels Device Management Uses the identity of ...


3

I'd use CSS based on viewport width. That way you'd have only three CSS files to edit and you'd get a more manageable solution. The only change needed in the master page would be the following just before the closing head tag: <link type="text/css" rel="stylesheet" media="only screen and (min-width: 1024px)" href="/css/desktop.css" /> <link ...


3

Kareem, Browse to Site Settings page of the subsite and click on the "Master Page" under "Look and feel" section. Select "Specify a master page to be used by this site and all sites that inherit from it:" Select the master page from the dropdown shown in the following screen grab Let me know if you have any questions


3

It is recommended not to modify the OOB things or content. I would say to go with your custom access denied page. To do this, in SP2013 we have a bug and can achieve using HTTPModule. Please look into the following URL for more details. Custom Access Denied Page Steps to create HTTP Module Please let me know if you have any queries.


3

If you are talking about the AccessDenied.aspx page, then no. The text on the page is retrieved from resource files. Unless you physically alter the page in the 15 hive on your web front-ends - which is possible, but not recommended and they can be overwritten by CU's etc.


3

In general, "My site" is a very poor term. Here are the terms that I typically use: "My Site Host" site collection. This is typically a single site collection that can allow all users to see "About Me" and allow functions such as "People Search". This site collection can exist without a single "Personal site" and without "One Drive For business libraries". ...


3

Styling using classes is usually the preferred way. Especially if you see IDs in HTML in ASP.NET control format, like "ctl00_ContentPlaceHolder1_CustomUserControl1_NestedExampleLabel", you should absolutely not bind styles to those ID's as they may change, even within the same environment, as controls get added/removed from the page. If you have control ...


3

In SharePoint the "page" is actually inside of a DIV and the window really never scrolls... The content inside that DIV does scrolls (unless you have a customized branded site). So although your code will work on a standalone HTML page, it will not in a standard Sharepoint site (2010 and above)... See the solution I posted here to a similar question. ...


2

In the latest version (16.0.3104.1200) of SharePoint Online Client Components SDK available for download currently, Web object exposes AlternateCssUrl and SiteLogoUrl properties: using (var context = new ClientContext(webUri)) { var web = context.Web; web.AlternateCssUrl = web.ServerRelativeUrl + "/SiteAssets/contoso.css"; web.SiteLogoUrl ...


2

You just need to create a new search display template. The essential steps are: Copy an existing template Rename the template file Change the look and feel as you need Copy the file back to the Display Templates library Create a result type rule for your content All of this is detailed here: ...


2

The quick and dirty version (no external CSS file) $webApp = Get-SPWebApplication http://****:26611/ $webApp.SuiteBarBrandingElementHtml = '<div class="ms-core-brandingText"> <a class="ms-core-brandingText" style="color:white" href="/" >Wp</a></div>' $webApp.Update() Might need an !important, I'm not connected to a farm to try it ...


1

I solved it this way: Create a site collection feature which is responsible for deploying font/spcolor files, master page, Background Image etc. Create a web scoped Feature which sets the theme, masterpage, font and the Background image in FeatureActivated-Method. Establish a Feature dependency, so the web Feature can only be activated when the site ...


1

A alternate solution is to use CSS instead of jQuery. To change a standard loading spinners in SharePoint 2010 you could implement css to replace the gif with a different one. The old gif will still load but will be displaced and give room for the new spinner. [src*='loadingcirclests16.gif']{ display: block; -moz-box-sizing: border-box; ...


1

Microsoft had solve this well known bug with the November 2014 CU.It's included in the Foundation Update of the November 2014 CU KB2899508. Please try updating the farm with the SharePoint Foundation Update of the November 2014 CU (KB2899508)


1

Currently changing the colors listed in the drop down box within one site theme is not available, both in SharePoint Online and SharePoint .ms-acal-color# { BACKGROUND-COLOR: #xxxxxx } .ms-acal-selcolor# { BACKGROUND-COLOR: #xxxxxx } .ms-acal-apanel-color# { BORDER-COLOR: #xxxxxx; BACKGROUND-COLOR: #xxxxxx; } The above 3 classes of styles ...


1

So i think, you can use "Feature Stapling / Feature Site Template Association" options. this way you can associate it to a site template. We had the same thing for our SP 2010 deployment for mysite, i am not developer so i dont know insider information. Here are good resource: Feature Stapling / Feature Site Template Association Feature/Site Template ...


1

You can use pure css using media queries. You do have to consider points per pixel(retina displays) in addition to regular pixel resolution settings (1024 x768, etc.)


1

You can also use the same master page on multiple device channels. You then will use CSS to control the presentation layout and optimise the user experience according to the screen resolution. If you have in a page layout a fixed image control you can use a device panel to optimise the page load. You can the use the image rendition to show different image ...


1

What you're seeing is correct url (a subsite). From your debug image, it looks like you have apps. Apps in SP 2013 get their own site where the naming convention is ' https://domain-XXXXXXXXXXXXXXXXXX.sharepoint.com/sites/site1/subsite1' To exclude the app sites (example): while (webEnumerator.moveNext()) { var newweb = webEnumerator.get_current(); ...


1

You can use the the CSS positioning property position: fixed on the web part to keep the web part in a static position on the page. First, add the web part you're using to wherever you want it to be on the page, then find the ID of the web part using Chrome, Firefox, or Internet Explorer developer tools, and then set the CSS property either through a ...


1

This might not be a standard/recommended practice, but might work in your case.Try giving the link to the css file directly using the <link> tag rather than the <SharePoint:CssRegistration> tag


1

You can create a new display template.The display template defines what we want our results to look like. To check all available search display template go to Site settings --> Master pages and page layouts. In the Master Page Gallery, click Display Templates --> Search. Check these examples for more granular steps. ...


1

If the page in question is a custom page, then you can use class to target the styles. That is the best practice. On the other hand if you are talking about SharePoint elements, then we should be careful with using class, because it might be used across and will have a global impact. In those cases we used to target the control's id for styling purpose. In ...


1

You have to switch to an ASP.net master page. All placeholder that are unknown to SharePoint will be removed during the conversation from the html master page to the asp.net master page. The registration can be done using the following tags: <asp:ContentPlaceHolder id="NewPlaceHolder" runat="server"> </asp:ContentPlaceHolder>


1

You can use the AlternateCSS property on each site. Which can be set by code or manually but you need to have the publishing feature turned on in order to make it work.


1

HTML5 is newer than these versons of Internet explorer so it is not supported. Not fully anyway. You may want to use Javascript libraries to enable support for older browsers like HTML5shiv at https://github.com/aFarkas/html5shiv/ You may also want to take a look at http://www.sitepoint.com/html5-older-browsers-and-the-shiv/ Depending on your master page ...


1

I suggest investigating JSLink to see if that will do what you want. You can take a standard list table and using JSLink provide custom Client Side rendering. My suggested resource list includes: http://msdn.microsoft.com/en-us/magazine/dn745867.aspx https://code.msdn.microsoft.com/office/Client-side-rendering-JS-2ed3538a ...


1

Step 1: Get SharePoint collection path. Log in as an administrator at your site collection. (VERY IMPORTANT! to mark the "remember me" checkbox before pressing Login button). Go to site settings -> Design manager -> upload designfiles and copy the linkadress that's in there. Step2: Map network drive Go to File explorer on your computer and rightclick on ...



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