Tag Info

Hot answers tagged

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


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


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.


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


1

you can use the below css code for background image: background-image: url("Image.jpg"); background-repeat:no-repeat; background-position:top; background-size:cover;


1

Did you check if it is indeed pie.htc which doesn't load or maybe the CSS file referencing it? I've been using CSSPIE for years with SharePoint 2007/2010/2013 even on sites with anonymous access enabled without issues. The first thing I would check is the HTTP request pipeline using a tool like Fiddler or the IE F12 developer tools. Since you didn't ...


1

using Jquery you can apply the CSS. $yourElement.css("font-weight","Bold"); // $(this).css("font-weight","Bold");


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/


1

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


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.



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