Hot answers tagged

4

Find id of that WP. Something like WebPartTitleWPQ4. Edit that page and insert script editor WP and add <style> <style> #WebPartTitleWPQ4 h2 { background-color: #000; color: #fff; } </style> EDIT Find where is title. For ex. <style> #WebPartTitleWPQ4 h2 { background-color: #000; } #WebPartTitleWPQ4 h2 span { ...


2

OK, I completely edited my answer, see answer versioning to get the comlete previous one. Now that I've seen your markup, here what I think: You should use (note ~site instead of ~sitecollection): <SharePoint:SiteLogoImage ID="xxxxxxxxxxxxxxxxxxxx" LogoImageUrl="&lt;% $SPUrl:~site/_catalogs/masterpage/StarterBranding/logo.jpg %&gt;" ...


2

Change the background-color property for the below classes: div.ms-tileview-tile-titleTextMediumCollapsed .ms-tileview-tile-detailsBox The background-color for both these classes is rgba( 0,0,0,0.6 ) by default. Reducing the last value (0.6) changes the opacity. I have tested this on the promoted links list and it works fine.


2

Try adding a query string at the end of the style sheet reference. Like, <link rel="stylesheet" type="text/css" href="myFile.css?v=1">. That way the browser downloads it again and does not use the cached copy. Change the query string value every time you run into this issue.


1

There are two reasons that it can happen: Browser is picking up Caches CSS file If you upload file in SharePoint (not in _layouts folder), and it is not published as major version, user won't be getting CSS with latest changes. But in both cases, you need to provide some query string like version number for CSS file: <link ...


1

<asp:Content contentplaceholderid="PlaceHolderAdditionalPageHead" runat="server"> <PublishingWebControls:EditModePanel runat="server"> <!-- with the built-in control --> <SharePoint:CssRegistration Name="somepath/somecss.css" runat="server" /> <!-- classic --> <link href="<%$ ...


1

No 2007 handy but depending on your browser coverage you can easily do that with CSS: .ms-vb-icon a { pointer-events: none } .ms-vb-icon is a sample selector from icons in document libraries, you need to identify how to target the column that contains the link with the thumbnail using your Web Developer Tools/Inspector. ...


1

I would use CSS on the page like this: img[class$="contactFieldCtrl"] {width:76px; height:96px;} That should resize any that ends with the text "contactFieldCtrl" to the proper size. http://www.w3schools.com/cssref/sel_attr_end.asp


1

sharepoint has 2 master page, system and site, views and all other admin related pages uses system master page, sites pages uses site master page, make changes accordingly. see following screenshots, first screen shows site collection features need to be activated at site collection level, second screen show feature need to be activated at site level and ...


1

As @Patrick says, the code above is only for overriding SharePoints classes for setting the size of the background image in promoted links and is only necessary to use when you change the size of the links themselfs (by using more css as per the linked question)


1

If you're not going to use InfoPath then you're definitely going to be looking at creating a custom form using HTML and some other custom logic to do the submission for you. The lowest barriers to entry will be JavaScript on the client, or C# in a provider hosted Add-in or server solution. I strongly recommend you consider JavaScript (REST or the JavaScript ...


1

In the question, you have mentioned a REST API endpoint. It seems to me that your environment SharePoint 2013. So SharePoint Add-ins can solve your purpose. Also have a look on following GitHub Repository for some useful samples. https://github.com/OfficeDev



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