Tag Info

New answers tagged

0

This seems similar to this other question. By looking at your styles, I would say that you have an SP2010 site and the styles are matching properly. The possible caveats are: a) you will have to add the CEWP on each page b) your css file may not fully checked in and/or published so that all users can see it (or the page itself) c) if you have anything ...


0

Using SharePoint designer, select the image and click the "center" button in the Paragraph section of the Home ribbon. That may not work depending on how your image was inserted, so the alternative is to find the image in the code view (shortcut: use the split view and select the image in design view window to get it selected in the code view window). Wrap ...


0

If you are not using Quick Launch then it is better to remove from the Master Page instead of hiding. There is no problem doing that.


0

It might be getting overridden somewhere else. You can try #resultcontent { height:350px !important; } Also, the x64 version of IE typically does not play well with SharePoint. Try the 32 bit version.


0

According to the specification you cant match content within an element. jQuery solution You could use the :contains selector to get elements based on their content, the following example demonstrates how to hide question: var q = $('h3.ms-standardheader,.ms-vb:contains("the next question")'); q.hide(); //hide question caption q.next().hide(); //hide ...


0

I agree with the previous answers ! I have recently started using CSR to style both lists and some basic modifications to new / edit / display forms. Once you get going with it, there is quite a bit you can do. The links provided are excellent, I just wanted to add one of my own with a working script as I struggled to find examples that showed how to ...


1

You can achieve this with what is called Client Side Rendering (CSR). These are the best articles I have come across on CSR and how to use it: SharePoint 2013 Client Side Rendering: List Views SharePoint 2013 Client Side Rendering: List Forms Note: Some people use the terms CSR and JSLink interchangeably, but they are NOT one and the same thing. CSR is a ...


2

You should be able to do this using custom js link for the default list view, check out these sample it will direct you on how to implement it. Client-side rendering (JS Link) code samples There is an awesome post which describes the appraoaches for JS Link check out: SP 2013: Using the JSLink property to change the way your field or views are rendered in ...


1

If you have publishing features enabled for this site collection you can push the master pages, theme, and alternate CSS down to all sub sites very easily following these steps: Go to Site Settings -> Look and Feel -> Master Page. There are four different things you can modify here (Site Master Page, System Master Page, Theme, & Alternate CSS URL). For ...


0

try to add body tag in front: body *, body *:before, body *:after{ ... }


0

A correct way to reference a CSS from your master page is: <SharePoint:CssRegistration Name="&lt;% $SPUrl:~sitecollection/_catalogs/masterpage/MyStyles/Stylesheet1.css %&gt;" runat="server" After="corev15" /> Yup, surprising, but fully functionnal on my side! This is the only way to set a dynamic reference to a CSS...


1

You can use script Web part and insert a tag style .ms-headerSortArrowLink{visibility:visibility !important; } The important should override the in line style


2

Ideally, you would start by creating a copy, rather than editing one of the existing master pages. Which one you choose is purely up to your own aesthetics. Once you're familiar with their creation, you can create one from scratch and with the built in design tools (available through the front end, generates web parts and unique content). As to where to ...


1

You can directly embed the css on your page as mentioned in this blog : http://techwirenews.com/2013/04/15/embed-your-css-in-sharepoint-2013-web-pages/ Other way is edit the master page and embed your css their. A guide to quick SharePoint 2013 branding Refer Scripts and CSS Style Sheet in SharePoint 2013 Visual Web Part and Master Page


0

This works fine for me, in the html master file : <!--SPM:<SharePoint:CssRegistration ID="CustomCSS" name="&#60;% $SPUrl:~SiteCollection/_catalogs/masterpage/css/custom.css%&#62;" After="corev15.css" runat="server"/>-->


0

It is clearly a CSS issue. One or more of your CSS rule is overriding SharePoint styles. To track down and fix the issue Find the file which is causing this Then add one style at a time and see which style is causing this. For example, instead of applying style to all elements (say div) try to target the particular div using Id etc.


0

I'm pretty sure the culprit is in your custom changes to the master page somewhere. (Hopefully you backed up Seattle before changing it...) I would suggest using your browser's developer tools (Ctrl+Shift+i for FireFox/Chrome or F12 for IE) to inspect the "bad" elements and look at where they are inheriting their styles from. It's likely that your custom ...


0

You can't directly link to the file system file, it would need to be http://your.spdomain.com/sites/yoursite/_layouts/mycss/mycss.css or something to that affect.



Top 50 recent answers are included