Tag Info

New answers tagged

0

Had to reenable feature publishing infrastructure and publishing. That fixed the problem!


1

To change the locale for a specific site, go to the Site Settings area and select Regional Settings from the Site Administration group of links. For more options you can check: http://blog.funknstyle.com/2012/08/working-with-date-formats-in-sharepoint-2010/


0

You can simple modify these CSS class and IDs to bring changes to your SharePoint 2013 Search Textbox. you can modify it according to your needs: /*######################--Sharepoint 2013 Search Box--############################*/ #searchInputBox { background: url('/_catalogs/masterpage/CSS/bg_search.png') no-repeat scroll 0 0; background:#FFFFFF; ...


4

The ID will remain the same on your single SharePoint-Environment, but it can be different on other site collections. The name and the zz are always the same, but the number will change, so you have to build your css with wildcards, e.g.: div[id^=zz][id$=_TopNavigationMenu] { display: none; }


0

You can use these IDs as it is. That will remain same every time. You can use jquery like: $("#s4-workspace").hide(); or you can also use wildcard for these Ids. You can also show hide on the basis ofcss class name. Also check: How To Hide The Last Top Nav Tab in SharePoint 2010 ...


0

This worked in my environment: #Ribbon\.ListForm\.Display\.Manage-LargeMedium-1-1{ display:none; } Use your browser's dev tools to find the exact 'id' in your instance. Here's a screenshot:


0

SharePoint 2013 by default applies corev15.css to all pages, so you don't need to make a copy and append your styles. Instead put only your custom CSS into your own corev15.css file and set the link (as you already did). SharePoint 2013 will then load the default corev15.css and afterwards load your custom one and apply the changes you made. UPDATE Just ...


0

If you want to force this type of behaviour for users, then F.Aquino's solution is what you need. Otherwise, there is one out-of-the-box solution for users: use the "Focus on Content" button on the top-right side of the ribbon.


0

The page you need to call in the Modal dialog could be invoked through JavaScript. Based on your requirement you could either pass a result back to the parent(calling) page or just close the dialog. Importantly for you, you can specify attributes on the Modal dialog such as height, width, title etc.. as parameters in the JavaScript. For an example: var ...


0

Do not do this for OOTB / application pages . If you change the OOTB sharepoint files , all the modal popups for list/doc lib would be affected by the changes and not advisable . Please follow the blog to make changes only to custom page if you have , where you need the popup size to be changed by APIs by parameters . PS: ...


0

Use this as your CSS file: /* reset styles */ html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, ...


3

In SharePoint the "page" is actually inside of a DIV and the window really never scrolls... The content inside that DIV does scrolls (unless you have a customized branded site). So although your code will work on a standalone HTML page, it will not in a standard Sharepoint site (2010 and above)... See the solution I posted here to a similar question. ...


0

First thing I see is that $('ms-breadcrumb-top').css is missing the class identifier. It should have a '.' in the front. $('.ms-breadcrumb-top').css


1

If you're using a custom stylesheet try going to Site Settings on your top level site -> Master Page (under Look and Feel) -> For Theme and Alternate CSS URL check 'Reset all subsites to inherit..'


1

Add the following CSS and reference it from your masterpage: <style> #aspnetForm[action*="Home.aspx"] #pageContentTitle {display:none;} </style> where Home.aspx is the page you want to hide the title from.


1

you can edit the page directly using sharepoint designer, then add your snippet of code directly, it will break the page definition... but that normally isn't a big deal.


-1

You could edit the page in SharePoint Designer, and add the CSS to the page.


3

You can easily add a content editor webpart and add in your CSS in the HTML editor. Or you can add your CSS to a text file, then using a content editor webpart, you can reference that text file and it will include the css in that page.


0

In short, you will need to create custom Display Templates (both a control and an item template). I would suggest the following MSDN pages: What's new in SharePoint 2013 search for developers SharePoint 2013 Design Manager display templates


2

I tried the following inside a custom css file, but this will only remove the “Documents” text , but not the whole row. Looking at your CSS, this is because you are only removing the three table cells but not the actual row, which is what you want to remove. You should be able to accomplish this using the jquery .parent() selector (since the TR does ...


3

You could either change the icon for htm pages in the hive (its ichtm.gif by default ["ic" for icon and "htm" for filetype]) or overwrite it by CSS or JS. Here's a example for plain CSS: img[src="/_layouts/15/images/ichtm.gif"] { background-image: url("http://upload.wikimedia.org/wikipedia/commons/f/f0/Pdf_16x16_Crystal_SVG.png"); height: 0px; ...


-1

It is again back to normal. It seems Microsoft has done some correction. @wjervis, Thanks for adding link which shows there are other people also affected.


0

Unfortunately SharePoint webparts share many common CSS class names. A possible workaround is to build a custom page layout with a unique CSS selector element wrapped around the webpart zone where your slideshows will be placed. Another possible solution could be to write jQuery that identifies these slideshows by the title and appends a unique CSS selector ...


0

CSS and JavaScript caching are different. CSS could be cached both on client by browser or on server. On client, using F12 to clear the cache automatically could solve the issue. On server, recycle the app pool could do it but it takes time. Try this solution for server ...


0

You could insert a Content Editor Web Part (CEWP) into the page and then create and upload a css style sheet where you assign attributes to the classes/parts you want and use "!important" -parameter on the attributes if they don't work. Example below: .class-name { attribute: value !important; } Then just enter the CEWP toolbox/options menu and ...


3

in your page make sure there is no reference to core.css.... issue is due to masterpage which has that reference that the page your using could be referencing the masterpage. several methods: 1) if its referencing a masterpage than make a custom masterpage that is almost the same only that it doesnt contain the core.css reference. 2) within your css add ...


1

I did this for a wiki. I added a new page layout instead of using a content editor, but the process should be quite similar. This will pick up any h1 - h4 header located on the page and include it in the TOC. It will add a hyperlink to the item in the TOC so you can navigate to that section directly. Place the <div> where you want the table to be. ...


0

You cannot add javascript directly to a content editor. You can add javascript to a content editor by uploading a text file to somewhere on the sharepoint site and then referring to it in the web part settings. Assuming your issue is the javascript being removed from your content editor. If you are using SP2013 you can also use a script editor web part to ...


-1

this should be done using Visual Studio 2012-2013 or you can hack at it using SharePoint Designer. I am currently doing the hacking part and believe me if i had the time i would go back and do it the visual studio way. When adding CSS to any aspx page ensure you use: If you want to apply CSS styles to a page layout per device channel use the below: ...


2

Well, since version 2013, SharePoint has implemented a new feature called the Design Manager to make it easier for people who have no experience with SharePoint to implement their own custom styles. You enable the Design Manager by enable the publishing feature. To enable the design manager follow the next steps: Click on the gear icon in the top right ...



Top 50 recent answers are included