Hot answers tagged

4

The supported approach to customize My Sites is to design a Feature and then use Feature Stapling to associate that Feature with the site definition. For example, you might design a Feature that uploads and uses a custom master page for My Sites, and specifies certain Web Parts that you want available for users on their My Sites. I would go with ...


4

The steps for changing the colour in SharePoint Online are: Navigate to Site Content --> Style Library --> desired language Create a new CSS file (if you already have a custom file you can append to that) Add the following CSS styles #O365_NavHeader, .o365cs-nav-rightMenus, #O365_MainLink_NavMenu Change the colour to suit your theme, note because ...


4

Put in this CSS .o365cs-nav-appTitle > span{ transition:opacity 0.7s; opacity: 0; } and change your JS to jQuery( document ).ready(function() { var $title = jQuery(".o365cs-nav-appTitle > span"); $title.text("My Company Name"); $tile.css('opacity', 1); }); You see - every page has a Lifecycle. Right now you attach to the ready ...


3

Why use JavaScript at all? span.o365cs-nav-brandingText::after { content: " - Company Name"; } On some of my Tenants this looks like: There are 2 SPANs with the same class You can hide them with: span.o365cs-nav-brandingText { color: transparent; } Then overlay the two ::after elements on top of each other: span.o365cs-nav-...


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

See Downloading a google font and setting up an offline site that uses it Put the font files into you "Style Library" and reference them from there. Don't forget to configure Blob cache to make the files cachable.


2

I also faced the same issue. Please make sure that the feature id that you have mentioned in feature stapler must be exactly same as feature id by which you are deploying your event receiver. Please check the below post "http://weblogs.asp.net/sreejukg/apply-custom-theme-to-sharepoint-2013-mysite-using-feature-stapling" Point to be noticed in the above ...


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


2

In sharepoint 16, they give more powershell control for top suit's bar, I.e changing the logo, text etc If that is what you looking for then check this http://social.technet.microsoft.com/wiki/contents/articles/34202.sharepoint-2016-how-to-change-suitbars-text-powershell.aspx


1

I would customize a template (pick one as per your requirement) and then deploy the template in the farm. Then whenever I create a new site collection, I will use that custom template. But it is upto your environment.


1

In SharePoint 16, they give more PowerShell control for top suit's bar, I.e changing the logo, text etc You can follow below URL for SharePoint 2016 SharePoint 2016 How to Change SuitBar’s Text PowerShell Concept of Office 365 You can hide controls from top suit bar whatever you need. You can follow the instructions mentioned in below URL to hide the ...


1

Your styles appear to be fine, so I would say you have a problem with the CSS file reference. you can use CSS Registration <SharePoint:CSSRegistration ID="CSSReg5" name="<%$SPUrl:~SiteCollection/Style Library/CSS/styles.css%>" After="corev4.css" runat="server"/> or use AlternateCSSURl Find "Site Collection Features" setting and enable ...


1

Does using the url below get you closer to what you want? yoursite/lists/yourlist/newform.aspx so that it opens as a page instead of a dialog?


1

Create new master page for your sub site. Upload master page to master page gallery. Publish and Approve new master page. Make sure publishing feature is enabled. Open sub site change master page url (http://server/site/subsite/_layouts/ChangeSiteMasterPage.aspx) and apply new master page to your sub site.


1

If you want to Expand the scrollbar past the ribbon than please follow steps mentioned in below given URL. Expanding the scrollbar past the ribbon. It will work for sure. Thanks.


1

Please have a look at the three part series on how to customize Top Navigation: Customizing SharePoint 2010 global navigation with Css and jQuery – Part 1 Here is another great series on how to brand SharePoint 2010: Brand SharePoint: Global Navigation – The Journey Begins (Part 3) For the header like title and icon, you can create your own HTML instead ...


1

if (_spPageContextInfo.serverRequestPath.contains("DispForm.aspx")) // View form if (_spPageContextInfo.serverRequestPath.contains("EditForm.aspx")) //Edit form if (_spPageContextInfo.serverRequestPath.contains("NewForm.aspx")) //New form You can try replacing contains with endsWith(), it should work better. ExecuteOrDelayUntilScriptLoaded("SP.js", ...


1

When you update the masterpage using PowerShell, set both the web.MasterUrl and web.CustomMasterUrl. If you are just trying to change the logo, colors and hide some elements, does using the design manager and a custom CSS file give you enough options, rather than modifying the master page?


1

The page needs to be published to show up in the navigation. P.S: Sometimes, undo(ing) and redo(ing) the Show pages checkbox also makes it work.


1

You can use the !important rule of css in your custom css. if you will use the !important rule of css then the Default CSS in SharePoint 2013 won't be able to override it. For example if you have given the below CSS to your paragraph tag: p { color: red !important; } and Default CSS of SharePoint 2013 is: p { color: yellow; } Then the ...


1

The elements in positions X and Y which you are looking for are generated on the fly. You will not find the source of them in the seattle.html. Position X: Its nothing but inside the SuiteBar which lies in div with ID ms-designer-ribbon. source in seattle.html Above image clearly indicates that there is no source for what you are looking. The ...


1

Based upon the context of this article you need to overwrite the CAMopt JavaScript method in Core.JS using the following: function CAMOpt(p,wzText,wzAct,wzISrc,wzIAlt,wzISeq,wzDesc) { var mo=CMOpt(wzText,wzAct,wzISrc,wzIAlt,wzISeq,wzDesc); if(!mo)return null; if(wzText != "Delete Item") AChld(p,mo); return mo; } I found an article ...


1

Modifying or adding a custom Master Page is not recommended, but I also read a good post by Chris O'Brien about the matter where he discuss when to use a custom master page. However since you are not in control of Microsoft updates to Office 365 it is still a risky path for production environments. Best is if you can have all branding and customization via ...


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

I found an article with a successful solution for this! The article is from one Ben Haynes. Here's the link and the text from his post. It works for me. http://sharepointinguniverse.blogspot.com/2013/11/contentplaceholders-and-sharepoint-2013.html Having problems today working with overriding ContentPlaceHolders in the brave new world of HTML and Master ...



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