New answers tagged

0

Thank you for this thread. I was able to to resolve my issue by inserting the following in a content editor web part on my page where I had ben using Bootstrap. I had to match the relatedWP to the specific webpart. <div id="ms-dnd-dropbox" class="ms-dnd-dropbox" style="display: none;" relatedWP="WebPartWPQ6"></div>


1

Yes, it is possible to create custom HTML, Javascript and CSS in your SharePoint site. A tool called SharePoint Designer is also available that shall help you to perform this. It is suggested that rather than this IDE it would better if you would use SharePoint Designer as it is designed for SharePoint specifically. You would be able to download this ...


0

This is really awesome....you are doing something wrong...Try putting condition over your CSS and then check: if (BrowserDetect.browser.indexOf("chrome")>-1) { document.write('<'+'link rel="stylesheet" href="../component/chromeCSSStyles.css" />'); } else if (BrowserDetect.browser.indexOf("mozilla")>-1) { document.write('<'+'link ...


0

This should work. I faced same issue in custom Page layout and fixed it with this. <!-- MS: <style type="text/css">--> <!-- #pageContentTitle {display:none;} --> <!-- ME: </style>-->


2

One of the properties of SPSecurityTrimmedControl is PermissionContext. Not sure what the default is, but you may try and set it to "RootSite" or "CurrentSite" according to where you want the permissions to look when opening a site. Possible values are: PermissionContext.CurrentFolder PermissionContext.CurrentItem ...


1

Look for "PlaceHolderQuickLaunchBottom" content-place holder in your custom master page and comment out the DIV tag as shown in the below link. https://social.technet.microsoft.com/Forums/office/en-US/5d30118a-8be7-4ed7-9f0d-b40ecf1054fd/a-menu-item-called-site-contents-on-the-left-site-menu-of-my-site?forum=sharepointgeneral


1

This would only work as long as you have the English version going on li[text="Site contents"]{display:none;}


1

Let's see how the page should work. When you select a web part in the Add Web Part gallery, a preview of the web part is displayed on the right panel (it would appear where the error message is). This means that SharePoint has to render a part of the web part to be able to display such preview - this is why the OnInit method is run. As for the .IsPostBack ...


1

Trying setting the z-index of your dropdowns to a high value. That should allow it to show on top of the web part and the rest of the page.


3

All content editors are rendered as part of single HTML document. CSS styles don't have scope, they affect entire page. It's a common practice to use content editors to hide SharePoint UI elements (like ribbon buttons) that are not part of the web part. You can create single root elements per each CE and assign ID value: <div id="navigation-div"> ...


1

Make the menu items stretch: span.menu-item-text { display: inline-block; white-space: nowrap; } Make the container resize to fit: ul.dynamic { width: auto!important; }


2

To fix the problem with the text getting out of the box, use the following solution: ul.dynamic { width: auto !important; white-space: nowrap; } Source: http://blog.sharepointexperience.com/2014/10/increase-width-sharepoint-drop-down-navigation/


4

You need the following piece of CSS to ensure that the menu items on the global navigation menus do not break into multiple lines and that the width of the drop-down menu extends to fit the length of the menu items' text: /* Disable menu text wrapping. */ #DeltaTopNavigation ul.dynamic { white-space: nowrap; word-wrap: normal; width: auto !important; ...


0

You can do this by editing the site settings -> Look and Feel | Master Page -> CSS. Make sure you leave the reset all sub sites box unchecked. I'm a Site collection administrator for the site collection but you should be able to do this with full control or design permission.


1

Get-SPWebApplication "http://MyServer/" | Get-SPSite -Limit All | Get-SPWeb -Limit All | % { $_.AlternateCssUrl = ($_.Site.Url + "/SiteAssets/DevColorChange.css");$_.Update() }


1

You could use the audience targeting feature and only show the webpart to the audiences that are allowed to view the content: On the "advanced" section of the web part tool pane you can specify a target audience. Make sure to include any groups that have access to the underlying content in your promoted links list. With this feature configured, the webpart ...


2

Use SharePoint Designer to update files. Open your uploaded files in SharePoint Designer, Update it and save. No need to manually upload it again.


0

Is's not easy, but one option is there. Rename Infopath form template with .cab extension. There are so many files in .cab folder. Extract all files in one folder. Open your view file (ex. View1.xsl) and add custom css. Reconvert folder to .cab file using cmd command. Rename .cab to .xsn file.


0

Not really. You can apply some styling in InfoPath Designer, but that's about it. The rendered InfoPath form will have automatically generated ids with variable numbers, so it's pretty hard to track down with regular CSS. If you want to go into that direction, you may want to look into jQuery, but getting that to work inside an InfoPath form is another ...



Top 50 recent answers are included