Tag Info

New answers tagged

2

It appears that this has to do with IE9, IE10, IE11 document standards for the client's browser. The problem is in the pickerdialog.master. As the People Picker is using the pickerdialog.master file, you need to add the following line in the head element. meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" Find the pickerdialog.master file in ...


0

I am using PeoplePicker with HTML5and CSS3, this is my function to inizialie it and get the value: Use the function initializePeoplePicker to inizialize the picked. The argument is the DIV id. To get the value of the picker, use the fucntion getUserInfo(). function initializePeoplePicker(peoplePickerElementId) { Create a schema to store picker ...


0

Here's what I did to solve my problem: IgnoreIfAlreadyExists Needs to be set to TRUE everywhere in the Elements.xml files Upgrade solution Deactivate the Feature Delete the CSS folder Reactivate the Feature VoilĂ ! Thanks to all for your great advices!


1

IgnoreIfAlreadyExists needs to be set to TRUE. IgnoreIfAlreadyExists="FALSE" => Don't update if file already exists. IgnoreIfAlreadyExists="TRUE" => Do update even though file already exists.


0

It sounds like you need to active or re-activate the feature. Try running install-spsolution after you have added it to the solution store. If it's site or web scoped feature you need to activate it on the appropriate site collection or sub site.


2

Try the following in powershell to see whether your CSS file is customized: $web = get-spweb http://yourweb $f = $web.GetFolder("Style Library/folder/css") $f.Files |? {$_.CustomizedPageStatus.ToString() -eq "Customized"} |% {$_.Name} If it's customized, use the following to revert back to unghosted mode: $f.RevertContentStream() Reference here.


1

I managed to remove a lot of space adding this css code: .ms-rtestate-field { padding-right: 0px !important; } .ms-rte-layoutszone-inner { padding-right: 0px; padding-left: 0px; margin-left: 0px; margin-right: 0px; border-left-width: 0px; border-right-width: 0px; } However I still have 1px of white space on both left and ...


0

I believe the s4-workspace hard-coded resizing might have something to do with this. A JavaScript code runs on SharePoint to give width and height to this container, so this would be one of my initial candidates for investigation. If the left menu is showing, there is another container "s4-tablerow" (or alike) that is given a left margin to simulate a ...


0

In SharePoint Designer 2010, turns out you just go to Data View Tools > Web Part > Width, and type in the new width of the form. In the code, it looks like: <WebPartPages:DataFormWebPart runat="server" ...... Width="1000">


0

To use the host web's colours you'll need to dynamically load the host web's style sheet with some JavaScript. If you're using jQuery on the page, then you can use following block of JavaScript to inject the host web's style sheet onto your page. (function () { // Retrieve the host web's URL from the query string var scriptbase = ...


0

Use CSS to create 2 column equal height (Ex. http://matthewjamestaylor.com/blog/equal-height-columns-2-column.htm) This would require changes to your master page (restructure the sidebar and main content area). A jQuery plugin called equalHeights may be the solution you're looking for. Be aware that SharePoint 2010/2013 may resize the div#s4-workspace ...


0

Or you can print only needed element by using this JavaScript code: <script type="text/javascript"> function printPartOfPage(elementId) { var printContent = document.getElementById(elementId); var windowUrl = ''; var uniqueName = new Date(); var windowName = 'Print' ; var printWindow = ...


3

To hide it during Print, you can use the following CSS: @media print { div#suiteBar { display: none; } }


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


0

which sharepoint logo were you trying to replace? Try the code below. It will replace the logo in the suitebar after the page has finished loading. $(window).load(function() { //change suitebar logo hack var suitebar = $("#suiteBar"); var branding = suitebar.find(".ms-core-brandingText"); branding.html("<a href='/' title='Suitebar ...


0

Create a Display Template for the content type and change the title style the way others have indicated. Create a copy of an existing Display Template Rename the file and edit the file in your favorite HTML editor Inside the file rename the Title attribute to something you will recognize later Edit the Title styling (or add a new attribute) Save the file ...


2

The correct syntax is either $(".severity").css({"color" : "blue"}); OR $(".severity").css("color", "blue"); The first syntax is used mostly to edit multiple css properties (separated by comma). Source


1

This is the correct syntax $(".severity").css("color", "blue");


0

You may go ahead by targeting the div elements and then specifying CSS for them. Something like - .ms-srch-item-summary { color:blue; } Otherwise, you might be better of by creating your own display templates to cater to your requirements and changing what and all is required.


0

There are many ways of changing the Search in SharePoint . 1. Add a Content Editor Web Part on the page and added the following CSS in its HTML Source Editor. <style> .srch-results { background-color:red; }</stlye> Refer : ...



Top 50 recent answers are included