New answers tagged

1

Please try below CSS code. .ms-dialog #ctl00_PlaceHolderDialogBodySection_PlaceHolderDialogBodyMainSection_ctl13_tablerow1, .ms-dialog #ctl00_PlaceHolderDialogBodySection_PlaceHolderDialogBodyMainSection_ctl13_tablerow2, .ms-dialog #ctl00_PlaceHolderDialogBodySection_PlaceHolderDialogBodyMainSection_ctl13_tablerow3, .ms-dialog ...


0

<style type="text/css"> .groupheader:before{ content:"+"; font-weight:bold; padding-right:10px; } .minus:before{ content:"-"; font-weight:bold; padding-right:15px; } </style> </script> <script type="text/javascript" > $(document).ready(function(){ $('.cbq-layout-main li ul').hide(); $('.cbq-layout-main ul ...


1

Create new master page for your sub site. Upload master page to master page gallery. Publish and Approve new master page. Make sure publishing feature is enabled. Open sub site change master page url (http://server/site/subsite/_layouts/ChangeSiteMasterPage.aspx) and apply new master page to your sub site.


0

You can set your own MasterPage & CSS for Subsite using below steps. To upload the alternate style file for subsite: Choose Site Actions→All Site Settings. The Master Page link appears in the Look and Feel section. Open the Master Page settings by clicking the Master Page link. The Site Master Page Settings page opens. This page has three sections, ...


0

If you paste the code in the browser console and it works you may need to wait for the elements to appear in the DOM before attaching the click event. To do something like this you can use an timer that will check if the element is present in the DOM, when it finds the element the timer stops and attach the events to the elements. Something like this might ...


0

You will have to edit the list view that you are currently using for the announcement list. Edit the view and look for the option Tabular View and uncheck "Allow individual item checkboxes". No more hover effect.


0

One approach is to edit the master page and directly hide the parts you don't like in it. Here's the steps you can follow, without SharePoint Designer: Open the master page galery from Site settings. Download the seattle.master file. Rename the local copy. Edit the file locally as needed (remove or comment the entire <div [...] id="sideNavBox"> tag ...


0

You have to issues here: adding the custom CSS to new sites created from the Blog template and adding it on the already existing sites. The first one is actually quite easy. You need to use Feature Stapling. The basic idea is the following: Build a feature that adds in your CSS on the web site using the technique you prefer (for example using a custom ...


1

If you want to Expand the scrollbar past the ribbon than please follow steps mentioned in below given URL. Expanding the scrollbar past the ribbon. It will work for sure. Thanks.


2

Note: right-click the element in the browser and select 'inspect element' to inspect the CSS in the F12 Developer console CSS has Specificity, which is a weird word for a simple concept: More Specified CSS rules determine which selector is applied So The account with firstname Robin is a selector, and The account with firstname Robin and ...


2

First, put all the styles in a css file and upload it to the Site Assets library, then you can reference it in couple of ways to do this: Option 1: Site Settings ==> Under Look and Feel ==> Master Page ==> Alternate CSS URL and enter the URL to your custom css file, like this /SiteAssets/CSS/styles.css Option 2: Edit your master page (always make a ...


0

add this in your custom css div[id^=MSOZoneCell_] { position:relative; } #ms-dnd-dropbox{ left:0 !important; top: 0 !important; }


2

You can set the webpart to a static width and then set the width of any column that you like with a script editor webpart. <style type='text/css'> .ms-vh-div[DisplayName='<ColumnName>'] { width:250px; } </style> Just insert the display name of the column instead of <ColumnName>.


0

Please try below css: .ms-listviewtable td:nth-child(4) { width:600px; } Here, in nth-child() you have to pass number of column. Here it's for 4th column. And if its width cannot be overridden then use width:600px !important; in upper code. Hope this will help you.


0

While I haven't tried this myself I believe that answer is yes as long as you upload your custom css file to the Themable folder in the style library. From MSDN documentation: "Only CSS files that are stored in the Themable folder in the Style library are recognized by the theming engine." Something to keep in mind, when you go to change your theme it will ...


2

You can go with the following ID also AsynchronousViewDefault_CalendarView This is the ID of the Parent div of div having following class ms-acal-header


2

Not sure what you are trying to do. However, you can use: Calendar Header ms-acal-header Calendar Body ms-acal-rootdiv


1

Sorry mate but it might not be possible. You must have to change the controls settings using SharePoint designer. As you have mentioned, You do not have access to SharePoint Designer so i think it might be not possible using any script. Because you must have to change StaticDisplayLevels and MaximumDynamicDisplayLevel within V4QuickLaunchMenu to make it ...


0

You need to set "white-space: pre-wrap". Unfortunately, when I set this property on InfoPath form (view1.xsl), for some reason, this setting is not carried over in the form published to SharePoint. As a workaround, I added CSS on new/edit/display page targeting specific "texture" column with above property. ...


-1

Using class and css ended up working perfectly


1

There are many ways to achieve this: Build an html page and add your css (inline or external even) then place a content editor web part where you like the photo to appear, and reference the html page you built. Create a custom display template and your query can be customized to pull this photo and our add you can build the UI to your requirements. Place ...


1

You can upload your image to sharepoint library (Site Assets ideally if it won't be changing too often) then add CEWP (Content Editor Web Part) to your page and inside CEWP add <img src="/sites/yourSite/yourLibrary/yourImage.jpg" /> Then you can also use css to design it, for example iof you need a border: <img ...



Top 50 recent answers are included