Tag Info

Hot answers tagged

8

For a comprehensive list see Rajesh's answer. It's pretty much a 2010 version of Heather Solomons. This site has several of the base classes explained and displayed: http://erikswenson.blogspot.com/2010/01/sharepoint-2010-base-css-classes.html And this site will give you a ton of CSS and branding resources (many SharePoint, some general ones) ...


8

The image is rendered using an tag which you cannot modify using just CSS. You could either A - Use some jQuery to modify the HTML for the searchbox. You can target the srch-gosearchimg CSS class to modify the image tag and point it to another source image. B - Use a delegate control to replace the entire searchbox My vote usually goes for option B ...


8

You can either replace the DelegateControl (if you have farm access) http://msdn.microsoft.com/en-us/library/ms463169.aspx <asp:ContentPlaceHolder id="PlaceHolderSearchArea" runat="server"> <SharePoint:DelegateControl runat="server" ControlId="SmallSearchInputBox" Version="4"/> </asp:ContentPlaceHolder> Or you can override the ...


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


7

Yep the place to do it is the feature activated portion of the feature receiver. You can check if one of your others are already activated and throw an exception if they are. Certain exceptions when thrown will display the message to the end user, others will just say an unexpected event occurred. I think if you throw an applicationexception it will ...


6

You can create a theme very easily by using Microsoft Theme Builder. But to do a complete look and feel you are going to have to look at time vs effort vs effectiveness. Branding SP 2010 is very feasible. If your site is a company Intranet, try using a custom theme and then adding a picture banner, this is minimal work and can make a site look very nice. ...


6

You need to move the list Url to your module definition: <Module Name="Style Library" Url="Style Library" RootWebOnly="true"> for GhostableInLibrary to work properly. You should of course then remove it from the File Url, since it is now defined on module level. If you have no Url in the Module tag you can only use type="Ghostable" on your File ...


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

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

If you want to copy your master page to another site collection you can download your master page from the master page gallery and upload it to the the master page gallery of the second site collection. From the root site Site Actions > Site Settings > (Galleries)Master pages and page layouts If you want to deploy the same master page to multiple site ...


5

The site will feature regular logon (forms) For this I would recommend to use the Forms base or windows authentication The site will contain some lists where the content is either retrieved from local database or backoffice system OOTB SharePoint Lists can be use to save and retrieve the data (local i.e. saved in SharePoint ContentDB) while ...


5

In SharePoint Foundation you don't have the option to set the master page through the browser UI. You can change it either through SharePoint Designer, using PowerShell, or using custom code. Example using PowerShell: $web.MasterUrl = "/_catalogs/masterpage/my.master"; $web.CustomMasterUrl = "/_catalogs/masterpage/v4.master"; $web.update()


5

James, what Sig posted works for both things that you are looking for. The only change I would suggest would be to omit the use of !important in the style statements. You want to try to avoid using that as much as possible. /* Hide web part title border on hover */ .s4-wpcell:hover .ms-WPHeader td, .s4-wpActive .ms-WPHeader td, .s4-wpcell .ms-WPSelected ...


5

Use an EditModePanel to display two different controls when editing and displaying: <PublishingWebControls:EditModePanel runat=server PageDisplayMode="Edit"> <SharePointWebControls:TextField FieldName="Title" CssClass="emedia-spwc-global" runat="server" /> </PublishingWebControls:EditModePanel> <PublishingWebControls:EditModePanel ...


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

My first thought here would be to see if you can do this using jQuery if you don't want to go in and create your own custom masterpage. I know that there are several posts on making the left nav accordion style here: http://www.endusersharepoint.com/?s=jquery+for+everyone. You might be able to modify this and use it to affect the styles of the left nav to ...


4

This is typical of a SharePoint implementation. If you think of SharePoint more as a platform than just an application, customization is expected and desired. Whether you proceed with SharePoint as your platform or choose another platform most likely will depend on the resources you can secure to implement this. As SharePoint customization help is in ...


4

The best approach is to use main master page (with only test pages attached) placed in a document library, and track changes to the file made using SPD and if any changes are made - update ghosted master page in file system accordingly, all other master pages are deployed via modules and are ghosted versions of one in files system. After changing file ...


4

In the head section of the master page you need to define a tag prefix in the style of: <%@ Register Tagprefix="Yourwebpart" Namespace="yournamespace" Assembly="yourassemblyname, Version=1.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> Also don't forget to change the PublicKeyToken and version number. In the location where you want to ...


4

Untested across the whole gamut of browsers, but if you're using the OOTB DOM, you have to do much more than just set the quick launch height. The #s4-leftpanel-content div contains the content and background color of the quick launch, so this has to be given a height of 100% (which sizes it to the height of the #s4-leftpanel div. #s4-leftpanel needs to be ...


4

Basically, it can be done with css with header and table changing: .s4-wpTopTable { background: #FEE; } .ms-WPHeader { background: #FEE; } If you want to apply this to particular web-part, you can add additional css-marker class on you web-part render methods to find you web part instance later or use js/jQuery-client bases techniques to apply/change ...


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

You can create an Authoring Site and extend this site and create a public website. Check out Publishing and Content Deployment Check out this article as well. This is pretty old but you will get some ideas.


3

If you look in the MasterPage you will see that there is a DelegateControl called SmallSearchInputBox. DelegateControls let you swap out controls for controls defined in features at a web/site/application/farm level. For more details see the linked blog post, it's Targetted at SP2007, but the concept is the same in 2010. ...


3

They should be in a site collection so that css designers can change them without having to go through a system modification process with the server admins. Even though the files cannot hurt anything, typical sys mod procedures require multiple approvals and scheduling which is excessive and unnecessary for style sheet changes.


3

I have a blog post from a few years ago explaining how to create a httpmodule that sets your normal masterpage to be the one for the application pages. You can check it out here: http://www.thelineberrys.com/default-category/using-your-sharepoint-sites-master-page-on-all-application-pages-3.html. This is a supported scenerio.


3

Features and solutions is the way to go when deploying your custom branding. When branding SharePoint also remember the option of using Themes. Themes gives you a way to brand across application pages, standard master pages / page layouts in a consistent manner. Branding with SharePoint Themes Master Pages vs. Themes: Which Do You Choose? hth Anders ...



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