Tag Info

Hot answers tagged

8

I know you asked for 2013 but I'm leaving the 2010 one here too in case anyone go crazy like you did. 2010 When any ribbon tab is open (other than the 'browse' one) it forces a 135px height on its container, which is a sibling of the #s4-workspace container, see where I am going? #s4-ribbonrow[style='height: 135px;'] ~ #s4-workspace #s4-leftpanel { ...


6

You are able to brand the My Site host itself (where Newsfeed is) with SharePoint Designer. However, each SkyDrive site (My Content site) is a separate site collection. You would need to manually apply your branding to each one individually. Not ideal, but Office 365 and SharePoint Online don't give you any other options. If you have SPO-D (SharePoint ...


6

Wael actually had the correct answer. Here is the gist of what needs to be done for packaging a Page Layout: Using Visual Studio, you can create a new Module and add your page layout to that file. Then, in the elements.xml file for that Module, here is what I typically use: <Module Name="PageLayouts" Url="_catalogs/masterpage"> <File ...


6

You can copy any of the existing MasterPage's html file (I hope you have already figured that out) and go to Site Settings -> Design Manager -> Edit Master Page Now click your copied MasterPage and at the top-right you can see Snippets.. This is newly introduced in SharePoint 2013 and further explained here Now if you click Search Box, this will give you ...


6

Hardcoding is never a nice solution! Look in to the SuiteBarBrandingDelegate control: Elements.xml: <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <!-- SuiteBarBrandingDelegate (the top-left "SharePoint" text on a page) --> <Control ...


5

You can simply do this by including the following part in your html master. <!--SPM:<SharePoint:CssRegistration Name="/_catalogs/masterpage/custom/css/custom-core.css" After="corev15.css" runat="server"/>--> In the file »custom-core.css« you can simply override existing styles.


4

If you don't apply any particular style to a table inserted in a CEWP, it'll get applied the class ms-rteTable-default. So, instead of what you have done, you can override -in your custom css file- that class: .ms-rteTable-default{ -ms-name:"Tabell - test"; border:1px solid $borderColor; // sass syntax margin: 8px 0; width:98%; } Just make ...


3

My personal take on this is stick to the custom VS solution. The design manager is not something that I would recommend as there are some complications when you want to remove or change the design later. The App solution is usable, but then why not just use the custom VS solution? All in all it depends on the scale of the implementation and how to structure ...


3

Best Practice is to not do it - as Microsoft doesn't support it. "In SharePoint 2013 you cannot uninstall an imported design package, and you should never attempt to deactivate a design package through the solution gallery. If you do, page layout content types are removed and users may not be able to create subsites" Reference: ...


3

The RSViewerPage.aspx is a Out the boxed application page in the _Layouts folder. Application pages, which are also known as "_layouts" pages, are stored in a site's Microsoft Internet Information Services (IIS) virtual directory and support application implementations. Application pages are shared across all sites on the server, whereas a site ...


3

Your custom master page should NOT be residing in LAYOUTS directories, but instead to inside of a custom feature destined to "GhostableInLibrary". The reason being the performance and the fact that file itself will not be stored in the content database, and hence SharePoint will continue to use a cached copy of the file from the file system until it has been ...


3

You can assign a master page in the layouts folder programmatically to a site (SPWeb). In PowerShell it would look something like: $site = Get-SPSite "http://yoursitecollection" foreach ($web in $site.AllWebs) { $web.MasterUrl = "/_layouts/15/yourfolder/themaster.master" $web.CustomMasterUrl = "/_layouts/15/yourfolder/themaster.master" ...


3

Here's the short version: Create a new blank SP project in Visual Studio. Add a new module and add your master page to this (in your case a copy of the Seattle master page with your changes). Configure this module to deploy to the master page gallery. Add a new feature (site collection scoped most likely) Include the module in the feature Add a feature ...


3

In order to overcome the tedium that ensues at the onset of every SharePoint 2010 design project, I have created a simple snippet of CSS that is intended to reset the SharePoint interface styles to inherit from your default document styles. Take a look at the SharePoint 2010 CSS Reset from Kyle Schaeffer. I didn't test it yet, but it seems to do exactly ...


2

If I where you, I would try to ignore that warning and replace <div class="ms-rtestate-field">Page Content field value. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. ...


2

You can type the url directly for lists folder : https://abc.com/Lists/ListName/NewForm.aspx?RootFolder=RootListName&Type=1&IsDlg=1 Type below url for Document Library folder: https://abc.com/DocumentlibraryName/Forms/Upload.aspx?RootFolder=%2fDocumentLibraryName&Type=1&IsDlg=1


1

If you are trying to style over the existing SharePoint CSS styles, you should create a separate stylesheet if you have not already and in your code reference it like so in the <head> tag. You should never modify the corev4.css file. <SharePoint:CSSRegistration ID="CSSRegistration1" name="/_layouts/15/MyStyles/CSS/style.css" After="corev15.css" ...


1

You need to create what is called a Smart Link. This will have the home realm discovery embedded in the request url so that the user will be directed to your local ADFS (or other federated login page). You will not be able to have users click on https://abc.sharepoint.com/* links because there is no way to communicate to the *.sharepoint.com server what ...


1

I have done this in 2010 so assume it is possible in 2013. In my case I used a CQWP to get the images from a library and then used jQuery to rotate through the images and set them to the background image of the containing DIV. I then used z-index to ensure my content was positioned over the top of the background image. Hope this helps.


1

First... are you positive that it will give your users an enhanced interaction with your site or are you doing it because it's cool? If you're doing it because you think it's neat, I'd definitely look into this article How The Web Design Trend of Parallax Scrolling Has Faded. Here are two tutorials on how to make that effect happen. Simple Parallax ...


1

The below is straight from MSDN: http://msdn.microsoft.com/en-us/library/vstudio/ee231567(v=vs.100).aspx To sum up for your convenience: Module Name is the name of the module file in your VS project which defaults to Module1. So if you have renamed it, then make sure Module Name is renamed in the elements file too. Also note backslash "\" for Path, and ...


1

If the idea is that some content should "fall behind" the Ribbon (such as a header, navigation, etc.) you can just place your markup in the with the ID "s4-titlerow". This gets automatically hidden when the Ribbon displays, giving the effect that the Ribbon falls "on top" of the content. Otherwise, I would give a try to any of the script proposed ...


1

this function: function IsRibbonHidden() { return document.getElementById('RibbonContainer_activeTabId').value == "Ribbon.Read"; } will return true when the ribbon is inactive, and false when it expanded (or null when the ribbon is absent). You can attach a javascript event receiver and hide/unhide the left menu depending on what the function returns.


1

Not that it is SharePoint specific, but you could do an inline style on the link, if you do not have the option to update the master page CSS to work as expected. To do this workaround run this command: $webApp = Get-SPWebApplication http://gvstg01:40708 $webApp.SuiteBarBrandingElementHtml = '<a href="/sites/Intranet/" style="margin-right:10px" ...


1

the only way i could think of is creating a feature that encapsulates any webpart that will add extra chrome settings that will overwrite the webpart to show your styles/branding! or for custom webparts obviously that is easy as you just add the settings in the chrome section that will ammend the title colour ect for you and will save the layouts ...


1

No. There is no easy way nor permanent way. There are workarounds and "hacks" but no specific solution as it varies from solution to solution how much tweaking the design needs. As many people have already suggested, you can create custom pagelayouts and use CSS selectors to style your web parts depending on which zone they are in. Another method which is ...


1

Sometimes when you try to extract the exact classes and IDs for webparts, it would be tough to do so using the regular css selectors, what would be better to do (in case of webparts) is to get the exact classes and IDs using JQuery. It will give you more powerful set of techniques to select individual webparts.


1

You can reset the subsites to inherit the master page of the parent site in the masterpage option located under Settings -> Site Settings -> Look and Feel -> Master Page. This option is disabled by default in the Team Sites to activate it you have first to activate the SharePoint Publishing features. Note: The Team Sites in the SharePoint 2013 inherit ...


1

You cannot do this on a farm level. You'd have to add the masterpage to each sitecollection individually. This can be done with using powershell which adds the modified masterpage to each sitecollection. Or you can develop a Visual Studio feature which is WebApplication scoped which you then install on the server. Here are some valid pointers: ...


1

Sorry I read to fast to see you didnt want a .wsp, but I cant see another way if you want it to be in several site collections, needs to be in the filesystem. Like EStruyf said. Create a new solution in VS. Add a SharePoint "Layouts" mapped folder. Add a new folder there, and put your css into it. Deploy the .wsp. Refference the CSS in the masterpage ...



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