CSS is the abbreviation for Cascading Style Sheets. CSS is a language used to control the presentation (including colors, layout, and fonts) of HTML and XHTML documents.

learn more… | top users | synonyms

2
votes
1answer
47 views

Make CSS changes to osssearchresults page only

Is there a way to make CSS changes to the osssearchresults page without it affecting all other pages on the site? Specifically, for this site collection the left navigation is hidden. I want this to ...
1
vote
1answer
54 views

Why does ElementById return null for a Sharepoint app?

I'm trying to get the an element's ID tag using JavaScript in order to manipulate the styles. The element is created by an app from the Office Store but I would like to change the look. <div class=...
0
votes
1answer
217 views

Update to Custom CSS in Master Page Not Reflected

This is a follow up to my question here. A custom CSS file is referenced in my customer master page, like this: <SharePoint:CssRegistration Name="/_catalogs/masterpage/custom.css" runat="server"&...
0
votes
0answers
25 views

Masterpage template not loading completely

We recently migrated our SharePoint server to a new server. After the migration the site showed correctly, but after we attempedt to modify the masterpage the custom css files are no longer being ...
1
vote
1answer
55 views

Add divs on the SP master page header?

I am new to sharepoint design or design in general and I have just started learning css. Can someone show me how to insert divs in the master page's header as it is shown in the print screen below? ...
0
votes
0answers
41 views

DOM Manipulation Improvement

I am using jQuery selectors as post processors in my SharePoint application - jQuery post processing works out well in terms of DOM manipulation but the performance is extremely slow. Can anyone ...
1
vote
0answers
107 views

CSS not rendering in SharePoint 2010

I have created a CEWP in which I have been displaying custom page. I have created a library within which I have stored all my text, css, js, img (separate folder). To call all these files, I have ...
0
votes
1answer
66 views

AspNet TreeView - UI Issues

I must admit I don't take pride in my UI skills - I have been working towards a SP Webpart functionality that involves 3 custom Treeviews of varying document libraries. Issue with AspNet TreeView is ...
1
vote
0answers
54 views

Page view in normal Chrome browser and as SharePoint site page

I have created a page using HTML and CSS table and tried to display this page as a SharePoint site page. However when i viewed this page as SharePoint site page all the divs got jumbled up and was ...
0
votes
1answer
64 views

How do I stop a list overflowing its webpart and overwriting the webparts below it?

I am using SharePoint 2010. I created three linked lists and they worked fine. Especially the first list, as it displayed all the records with a scroll bar. This allowed the user to search all the ...
0
votes
2answers
217 views

Reset/Remove Masterpage style on page layout

I have a problem that requires me to remove all masterpage styles from my layout page and add custom css styles to the layout. I have been able to add the custom css to the layout but don't know how ...
0
votes
1answer
731 views

jQuery to Reset sharepoint Dropdown value to empty in

Can you please let me know how to reset Dropdown value to empty using jQuery. I tried using like this on Dropdown doen changed event but it is not working. Can you please help me. Below is the code i ...
0
votes
0answers
8 views

Unable to add custom css rules or referecne a custom css file inside a site page using “code snippet” [duplicate]

I have added a site page inside my team site. For this site page i want to reference a custom css file. so i did the following :- 1.i upload the custom css (s.css) file inside my "Style library" on a ...
0
votes
1answer
46 views

custom CSS file

I created a custom CSS file and I linked the file using "Master Page Setting" alternate CSS URL option to the SharePoint 2013 site. It works fine in my computer but it doesn't work from an user's ...
3
votes
1answer
169 views

SharePoint 2013 - Load JavaScript or CSS file only if not in edit mode

From a custom page layout, for a publishing site collection, how can I tell SharePoint 2013 to display... <script> console.log('this should display in non-edit window'); </script> ......
4
votes
3answers
5k views

How to make changes to CSS file stored in Style Library in 2013

I am trying to edit a CSS file inside the 'Style Library'. For some reason 'Edit document' in the web interface ribbon is greyed out when I select the file. It seems to only be enabled for some file ...
0
votes
1answer
137 views

How do I implement CSS that only effects Wiki pages?

I have a css file referenced in my site's master page that changes the header margins. However, I only want this CSS to affect headers on Wiki pages. I also want to avoid having to use a special class ...
3
votes
1answer
73 views

Change color using CSS Sharepoint Online

I am using one of the default templates for SharePoint branding. How do I easily tweak the color as shown below in SharePoint Online? I Googled with no help. So far I changed the background using a ...
0
votes
0answers
77 views

Picture Library SlideShow - Images off center

I added a Picture Library Slideshow web part, but the images it plays are not aligned properly. There's a giant whitespace between the Web Part title and the image. Does anyone know how to eliminate ...
0
votes
0answers
48 views

Cannot save edited file css/js under SiteAssets

For SharePoint development, we only use client side programming (Javascript). I am used to place js or css files under SiteAssets. I have problem with only one of my site. When we upload or copying ...
0
votes
1answer
471 views

Change menu text color on hover

I am trying to get the colour of all text to change when I hover over the menu item/sub-menu item (it goes down multiple levels). Currently it works only when I hover over the text it's self which ...
5
votes
4answers
11k views

How to add javascript and css to a SharePoint 2010 webpart?

What is the proper way (i.e. without having to manually copy the assets to any sharepoint folder or anything like that) to add custom javascript and CSS to a SP 2010 web part? I would like them to be ...
0
votes
0answers
75 views

How to add custom css to a Sharepoint App (iframe)

I add the contact us form app from the store and I have a custom template in my site collection but the app see so bad, so I need to shande the colors of the app. How can I do that? This is how it ...
0
votes
0answers
66 views

SharePoint 2010 background image

I am having some trouble in applying a background image to my SharePoint home page. I have been able to use the following code on my page to add the image (I have been playing with bits to try and get ...
0
votes
2answers
125 views

CSS strage behaviour: style title with background changes colour according to other elements

I managed to change the style Title with background (of the summary links) by changing one color in the file //domain/_catalogs/theme/Themed/141089E3/controls15-51FFDD78.themedcss The color was ...
0
votes
0answers
92 views

Select2 in Sharepoint Application Page

Have a Sharepoint application Page where I use Select2 4.0 for Searchable Dropdown List. On my development PC everythink works fine but on any Client the CSS seems to be broken (Both use IE11). On ...
0
votes
1answer
26 views

Block css on a menu generated from XML

I have this XML statement for a menu <MenuItem> <Title>Group</Title> <Url>#</Url> <Items> <MenuItem> <Title>HR</Title> <...
1
vote
0answers
255 views

How to prevent column filter/sort PopUp menu in List View (XsltListViewWebPart) from being “cut off” when the web part has a fixed width/height

(This is for SharePoint 2013.) I am having a hard time figuring out the "css magic" to prevent the "Pop Up" menu (than appears when you click on a Column in a List View) from "cut off". Basically, ...
0
votes
3answers
149 views

Sharepoint CSS : dynamically add SharePoint:CssLink using javascript/jquery

How to add CSS Link dynamically to elements? $('head').append('<link type="text/css" rel="stylesheet" href="my css path">'); The below code doesnt work because we need to specify the url/...
0
votes
0answers
71 views

How to remove Master Page for treeview picker or date time picker controls in sharepoint? ms-dialogHidden is not working for such controls

The style ms-dialogHidden is used for hiding the unwanted master page header elements in modal dialog boxes. For more information: http://ericoverfield.com/sharepoint-2013-tricks-hide-elements-in-...
0
votes
1answer
96 views

Editing the CSS of a Form.aspx that has a custom WebPart

I have a rich text field that is displaying in small font and light gray. This needs to be dark and larger. Here is the FormField on the customNewForm.aspx. <td width="400px" valign="top" ...
1
vote
1answer
41 views

Custom Header for SP10

I'm trying to create a custom header without using SharePoint designer. I am trying to use CSS currently but I when use this code the picture repeats more than once and the header is too narrow. .ms-...
1
vote
1answer
31 views

Language independent use of the cssregistration control

Is it possible to use the cssregistration control but not let it reference to a language folder? I want to use the cssregistration control to be able to use revisions for my stylesheets. This way, ...
0
votes
2answers
2k views

How to Reference a Custom .CSS File on the Master Page in Foundation with SPD

I am using SharePoint 2013 Foundation and SharePoint Designer. I have a site collection with a subsite that contains wiki pages. I'm trying to change some of the styles on the wiki pages (like header ...
0
votes
1answer
440 views

The condition Greater Than (>) cannot work in my jquery code [closed]

I need to check the number of characters in class span, then change CSS according to the number. For example, if length of title is less than 29, the title color should be yellow. If length of title ...
0
votes
1answer
25 views

How to select entire texts in class span [closed]

I have an array title value with the class .block .title h2 span, I want to select entire texts in this class and check every title length. my script is x=$(".block .title h2 span").text()[i]; y=x....
2
votes
1answer
44 views

Padding or margin for CEWP

I have added a link to another page via a CEWP but I need to move the position of the link to the top of the web part. I have attached a screenshot which will demonstrate the issue better. I need ...
5
votes
2answers
119 views

How to display counter

Is there a way to use jQuery and Css to pop up notification to user's breadcrumb area for user's open Tasks. I can drop a web part which gets all the pending tasks for browser's user. I see following ...
0
votes
0answers
85 views

Can I customize Alert Me setup dialog

I am working on SP2013 on-premise standard edition. When clicking "Alert Me" button on ribbon, the default SubNew.aspx form will be called. I need to customize the form a bit so that: When setup ...
1
vote
1answer
254 views

Set subsites to inherit custom css/masterpage from site collection level

Is there a way to have all subsites inherit a custom master page/css styling from a site collection location? The inherited master page / css will be placed at the site collection level but won't be ...
0
votes
1answer
212 views

Group by field using jQuery

Say I didn't want to use the Group By option in an out of the box view to group my list by a certain field. Is there a way to achieve this using jQuery, JavaScript or something other front-end code?
0
votes
1answer
109 views

Content Editor - ordered list second level

I wanted to create multilevel ordered list in SharePoint 2013 Content Editor, with continuous counting, including numbers from upper levels. 1. Planes 2. Cars 2.1. Ferrari 2.2. BMW 3. Trains ...
0
votes
2answers
88 views

How to remove default zones (or change layout) from blog default homepage?

Yes, i can use css .ms-blog-MainArea {max-width:100%;} .ms-blog-LeftColumn {display:none;} .ms-blog-postList {max-width:100%;margin-right:0px;} but that is looks like "Piece of kludge". PS Is ...
3
votes
2answers
202 views

The same CSS displays different view in SharePoint 2013

I have a customed CSS file. I add it in my farm solution and then deploy. And it works well. But some persons do not have same view as me. I don't know why. We are in the same company, have the same ...
0
votes
1answer
865 views

Import CSS File to Jslink

How can i import .css file to .js file ? I m not talking about html page. Html page is not in our control. i m using share point inbuilt page Newform.aspx and applying jslink on this page. in jslink ...
0
votes
1answer
187 views

Themed CSS missing

I've been having several problems with Themes in 2013 with respect to missing images and resources between environments. They seem to use a theme GUID in paths which isn't the same across environments....
0
votes
1answer
123 views

Hide some folders from my “Tree View”

I am working on an enterprise wiki site collection inside SP 2013.now i have enabled tree view which display all the folders as follow:- But i only need to show the folder named "HR" and its ...
1
vote
1answer
526 views

Add css to masterpage (SharePoint Online/Office 365)

I have a css to hide list search box on document libraries. It's in the SiteAssets library. I can edit a document library view and add Content Editor webpart and add css reference and able to hide. ...
3
votes
1answer
394 views

SharePoint 2013 Quick Edit Header Issue

I am using Quick Edit view to add data in list. but when i entered more data like more than 10 or 15 then i can not see header of the column. so i need to scroll up the page and again scroll down to ...
0
votes
1answer
62 views

Select ID and class at the same time in CSS in SharePoint 2013

I have a page as blow: <ul class="ms-cui-tabBody ms-cui-tabBody-or" id="Ribbon.EditingTools.CPInsert" role="tabpanel" aria-labelledby="Ribbon.EditingTools.CPInsert-title" unselectable="on"> ... ...