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

1
vote
0answers
60 views

CSS not applying to a Web Part

I have several web parts on a page, 2 of them are CEWPs. 1 links to the CSS and 1 links to a text file. The CSS is applied to all other web parts on the page but it will not apply to the CEWP ...
0
votes
1answer
25 views

Attached css only seen by AdminsGroup

Working on a SP2013 migrated from 2010. I added a custom css to the seattle.master using the Designer, the result: <link rel="stylesheet" href="/SiteAssets/CustomStyles.css" /> It works, even ...
1
vote
2answers
44 views

The bootsrap glyphs not displayed on SharePoint public site

I recently connected a domain to my public website on SharePoint Online (Developer tenant). When I connected the template with the master page and page layout works flawlessly on: ...
3
votes
2answers
114 views

How to design the SharePoint List NewForm.aspx?

In the SharePoint List NewForm.aspx I have to design the form like two text boxes side by side with the headings? Is it Possible to design like that? Can any one help me on this issue?
3
votes
2answers
1k views

Setting SPWeb.AlternateCssUrl via CSOM or JS

According to this Microsoft Office 365 Blog post the SharePoint CSOM (.Net, REST, JS) has been enhanced to support setting SPWeb.AlternateCssUrl: ...
0
votes
2answers
42 views

How to change a web part's div ID?

I have a webpart in my Sharepoint and the div ID for that is MSOZoneCell_WebPartWPQ4 due to some reasons I need to change it. Is there any way to change it? or how can I modify only a single webpart ...
6
votes
4answers
20k views

What is the proper way to add custom CSS/JavaScript SharePoint 2013 site?

I would like to tweak the default layout in SharePoint, e.g. add... .ms-number { white-space: nowrap; } ... to all pages. I know it is possible to modify a master page directly, but is it the ...
5
votes
1answer
398 views

SharePoint 2010 Site Actions menu items hidden in IE9

I poked around a bit for the answer but didnt find anything. I have a site in which the Site Actions menu items are hidden in IE (all version). Some background on the site: I am currently working on ...
2
votes
3answers
52 views

Hiding some elements from ribbon only for Read Only (non admins) with custom css

I am trying to make some page corrections only for some groups of site ins Sharepoint. I can check admin user in master page with SPSecurityTrimmedControl, but how can I insert custom css into master ...
0
votes
1answer
20 views

CSS File conflict from SPD and browser

After the major publishing-overwrite in SPD am confuse why the CSS file from browser contains the updated lines while the CSS file from SPD are old version. The checkbox in SPD file remains and ...
1
vote
1answer
33 views

How to apply font style to entire sharepoint site text?

I want to apply common font style to entire text of SharePoint 2013 site. Is any easy way for that?
0
votes
1answer
37 views

unable to attached a custom CSS on a site page using “code snippet”

I have added a new aspx site page inside my team site and I want to reference a custom style sheet inside this site page only. So what I did is I edited the page then I chose to add a code snippet, ...
1
vote
2answers
39 views

How can I apply CSS to webparID?

how can I apply css to webpart ID. I have the following webpart: webpartid="5a399f4c-f605-409c-8e3c-55993af60c9a" I need to apply css only for this webpartID How can I do that? Thanks!
5
votes
1answer
121 views

Refer to css in root style library in master page - only root

How do I add a css that are located in root style library in a master page? <SharePoint:CssRegistration ID="CssRegistration1" Name="<% $SPUrl:~Site/Style Library/awesome.css%>" ...
2
votes
1answer
23 views

CSS Select ListView by id

I started with a blank ASPX page and added two list views to it. I am using CSS to modify some of the styles on the page, and I have been relatively successful; however, I am now trying to change the ...
0
votes
1answer
1k views

How to hide the search box sharepoint 2013 in style sheet

How is it possible to hide the search the site box by amending just the style sheet.
0
votes
0answers
18 views

multiple content search on same page

I am using SP2013 to create a site. I have used 2 diffrent webparts & 2 different content search on same page now when I tried to apply some CSS height & width , it gets applied to both. How ...
0
votes
0answers
19 views

Why is the SPGridView doesn't display the collapse button when there is a single group?

The question sums up the situtuation. I have an SPGridView that return search results and I would like to grouping on them. When having more than 1 group, I got the little plus sign (+) in front of ...
0
votes
1answer
39 views

SP 2007 - Make picture library thumbnail unclickable

SP 2007 / Moss: I have a picture library where I want to show the thumbnail in the list view but make it unclickable. Right now when I click on it, it goes to the display form. When I go into the ...
0
votes
1answer
40 views

calculated column javascript css cewp

Embedding javascript into a Calculated column works well, such as in this case Using HTML to recalculate calculated column However, where the following code ="function setTaskID(TR){" &" var ...
0
votes
1answer
103 views

Change promoted tile hover over size

I want move the opaque black mouse over hover tile in promoted links lower down as it is covering my images in the tile (user pictures). Ideally I would like to increase the opacity so that only the ...
1
vote
1answer
24 views

How to insert CSS styling for sharepoint editing mode

I would like to insert a piece of CSS to a Page Layout, to let it style the page but only when it is in the editing mode. Is there anyway to achieve that? I know there is a Editing mode Panel, but how ...
0
votes
3answers
37 views

Browsers are not able to show changes made in .css file

I have made some changes in Myfile.css file in my sharepoint project. after making changes to Myfile.css file. I right click the file and do "copy to sharepoint root". I see the message in out put ...
0
votes
1answer
29 views

How can I remove the quick launch and ribbon row for all pages without affecting the _layouts views?

I would like to hide these features on the Site pages, but not have them be hidden when in a folder (when I go to View All Site Content, ie _layouts/viewlsts.aspx). If I add some css to the ...
2
votes
0answers
76 views

Prevent SharePoint from using custom CSS-classes when using RichText editing

We have a number of Rich-Text fields (multi-line) that users type data into. So they might format the color of the text, the font size etc. The formatting looks like this in SharePoint: We have a ...
0
votes
1answer
27 views

Resizing a Contact Details webpart image

We have a custom library for all of our user's profile pictures. They have recently been updated to High res photos. Now, within the Contact Details webpart, they are displaying their original size ...
1
vote
0answers
67 views

SharePoint - Messed Up Page Layout

I was editing one of the web pages I created. Just one of many, in SharePoint Designer, and after dragging the edge of what I thought was just a table cell (td) all pages no longer display all the ...
1
vote
2answers
35 views

Centering webpart

I am looking to center a webpart, and I was wondering if there was a way to center it within the zone it resides? I assume I can add CSS of some sort somewhere?
1
vote
1answer
218 views

Content editor webpart code to add a background image in SharePoint 2013?

I have the following code to add a bg image on my Subsite home page. It does'nt seem to work and I have a solid feeling its the way I'm referring the image (stored under a picture library named 'Image ...
1
vote
0answers
14 views

Hover appears behind the Iframe in IE ,in chrome working fine [closed]

Hover appears behind the Iframe in IE ,in chrome working fine . seems z-index not working in IE .how to achieve this?? TIA
1
vote
1answer
69 views

Custom Master page dynamic logo using Visual studio SharePoint 2013

We have used a starter master page and created a visual studio master page solution. The master page has OOB global level navigation. These navigation have sites(Site A, Site B, SIte C) in them and ...
4
votes
1answer
345 views

Can we use HTML 5.0 and css 3.0 on non-publishing site e.g Team site?

in SharePoint 2013 can we use HTML 5.0 and css 3.0 on non-publishing site e.g Team site? In this case publishing feature is not activated in the team site. What is best practice? Or should we use ...
2
votes
1answer
52 views

Overriding CSS in AllItems.aspx

I want to add some CSS in my site. I read on others questions that it's better to override CSS. I'm OK with that (Tutorial here). But, I browsed every folder of my site in SharePoint Designer and I ...
1
vote
1answer
28 views

Pick up only one control from 'css' class and remove it

In my sharepoint list in the dispform.aspx , I have the headers like : title,body,send email . I want to remove only 'send email' field using css . when i checked in the developer tool , it showed ...
2
votes
1answer
22 views

Applying Custom CSS

I have a CSS file in my site assetts. I am trying to attach the CSS to a custom Edit form on a document library using SharePoint Designer. When I highlight the text and then right click on the style ...
2
votes
2answers
55 views

Best way to create a multiple item submit form

I'm looking for a way to create a form in SharePoint 2013 which will allow me to submit multiple items into a list (each line as an individual record). So, for example, i'd have a form with inputs for ...
0
votes
2answers
123 views

Javascript/CSS File Not Loading But is on the page! SharePoint 2013

I am able to see the the javascript files and css files in the code from the F12 Developer tools but the scripts/CSS files only load when i am logged in the Anonymous User it does not load. Is there ...
0
votes
1answer
49 views

Recommended height and width for promoted links background images - Why additional CSS is required for .ms-tileview-tile-conent

In the this link the author recommends this 3 lines of code below be added, but I do not understand why as similiar code is found in the CSS seen at the top of the page in the link. Can someone tell ...
1
vote
0answers
51 views

Setting alternate CSS

I'm trying to set the $web.alternateCSSUrl property, but it doesn't seem to work. It's populating the "All Channels" box with the correct URL to the CSS, and I set it in the code, but I can only ...
3
votes
1answer
58 views

How to change webpart title background for only 1 webpart?

I have three webparts and each of these have titles. I want to change the background of a single title. I have the following webparts: I want to change title background for only this Title called ...
3
votes
2answers
120 views

How to consume SP REST using only JavaScript\CSS\HTML5 (from CRM, outside Sharepoint, same AD)

How do I do to consume a REST DataSet using only something like JQuery? For example, if I have the items in a list\library and retrieve them as follows: ...
2
votes
1answer
173 views

How to center Picture Slideshow Library Web Part

I have a scenario that I'm pretty new with so I need you guys' understanding. I have a Picture Library called Cool Animals which obviously contains photos of animals. I then created a web part page ...
2
votes
1answer
75 views
5
votes
1answer
47 views

Hide quick launch for all pages in root site only

I am using the following css to hide the quick launch in SharePoint 2013, but I want it to hide the quick launch only in the root site, NOT in the subsites which inherit the same master page. ...
1
vote
1answer
95 views

Oslo Navigation Dropdown Issues

we are running into an issue with the Oslo layout when we try and use a drop down navigation header and it gets stacked on top of another. The issue is that before the mouse picks up the drop down ...
2
votes
2answers
66 views

Displaying Column Count Only

Not sure if this is possible, but I want to be able to show the total count of column without the line items present. The way I was thinking to approach is to create a calculated column then show ...
2
votes
1answer
99 views

Hiding promoted links permission message: “The list is empty. Add tiles from the All Promoted Links view.”

I have a promoted links Webpart on a page and I've configured permissions so that only certain groups can view it. However, users who are not granted access to the webpart can see a message from the ...
3
votes
2answers
63 views

Calendar view issue in tabs

I would like to display multiple calendar views in tabs. I am using jQuery for tabbing. If I set display none to other tabs, other calendar will not load all items or if I apply ms-hidden class to ...
3
votes
0answers
65 views

html page in app, reference css after corev15.css

I have a SharePoint app, where I am using an html page, not .aspx. I referenced bootstrap, but the style for the buttons is being retrieved from corev15app.css, not from bootstrap (btn-primary). ...
1
vote
1answer
40 views

Changing Web Part Query Link Color

I have 2 query web parts that pull some of the latest information throughout the site into the front page. Currently I have a script editor with the following code to set the background color for ...