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

3
votes
1answer
639 views

How to reference the Site Collection URL inside the src attribute

I added a custom script to my "Style Library" folder under a site collection. The site collection URL is http://servername/HR. So to reference the script inside my master page I wrote the following: ...
3
votes
2answers
624 views

include multiple CSS in sharepoint

What the best possible way to include multiple CSS in Sharepoint .master. my approch: Site sitting> Master Page> Alternate CSS URL I tried this before register CSS directly in master page, but ...
3
votes
1answer
40 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
206 views

Sharepoint 2010 CSS - Quick Way to Clear all old template styles?

I am a web developer who doesn't typically work with SharePoint but I was asked to style up an existing site that uses one of the default v4 templates (blue/light blue). I have been changing over the ...
3
votes
2answers
417 views

Can all the /_layouts/xxx.debug.js files not be served to end users?

I'm working with a 3rd party vendor who has done the SP 2010 integration of a small site. I've noticed that our incredibly simple login page is nearly 3.2 megabytes. The users of this site are the ...
3
votes
2answers
657 views

CSS (progid:dximagetransform.microsoft) not working after upgrading to SharePoint 2013

We are in process of upgrading from SP2010 to SP2013. There is a webpart with the foll. code:- <table> <tr> <td style="height:20px; FONT-SIZE: ...
3
votes
4answers
525 views

Attaching CSS to only one html welcome page

I am trying to set a html homepage to a sharepoint page, The html is based off a bootstrap template as it felt the best to fit the purpose. My problem is that once uploaded to the sharepoint server ...
3
votes
1answer
1k views

Add Vertical Scroll in IE9

I'm re-branding an Intranet publishing site for SharePoint 2013 using VS2012 - I'm creating project as a Feature and deploying the .wsp file locally. Using IE9, short pages have no vertical scroll ...
3
votes
2answers
828 views

Tricky error in dialogbox styling

This question is related to this: Customize Sharepoint 2010 Ribbon in Dialog ONLY I did what suggested there and it works fine, but with a small problem shown on the screenshot below. My Ribbon html ...
3
votes
1answer
2k views

CSSRegistration and revision numbers?

I'm currently using cssregistration to add css to sharepoint pages. All is working until I need to do an upgrade of the css. The context is: I used a delegate control in a feature containing the ...
3
votes
1answer
2k views

How to change the color of the current location in Quick Launch?

I'm very new to SharePoint, so I need y'alls' help. I am desperately trying to change the color of the selected navigation in the Quick Launch. Right now, it is a baby-blueish kinda' color. No problem ...
3
votes
1answer
314 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 ...
3
votes
1answer
141 views

Modify the “Select People” dialog height

I am using IE 10 32-bit & windows 7 . now the "Select People dialog" will look as follow: where only part of the first user will be displayed! Now the whole problem is with the inner style ...
3
votes
2answers
415 views

Apply custom css to Sharepoint 2013 page

I'm very new to Sharepoint programming so I appologize if my question sounds stupid. How can I add a custom css stylesheet to my site's pages? Are there any free tools to help me customize my site ...
3
votes
1answer
185 views

Script editor webpart ribbon problems

I added a script editor web part (javascript code) to a view page (/Forms/AllItems.aspx). After that I can not see anymore the File and List category in the ribbon bar. I read somewhere that ...
3
votes
2answers
659 views

Hiding SkyDrive link from My Sites

I'm trying to hide only the SkyDrive link from the blue menu bar on My Sites. I thought this would be fairly simple, so I opened the master page (mysite15.master) in designer and added a reference to ...
3
votes
1answer
3k views

How can I get rid of the columns header when the style 'Boxed' was selected?

I created a new list view with style = 'Boxed' in SP2013. The problem is that this view is showing the columns header in the top when there's no need to do it. So, how can I remove or hide it? I tried ...
3
votes
2answers
55 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: ...
3
votes
1answer
28 views

(How) can I reference a theme color in my inline CSS?

I'm planning to use the "Preview Pane" list view style to create a much easier-to-maintain version of a carousel that's currently built in code. I've created a list with just a Title column and a ...
3
votes
3answers
820 views

How to style the quick launch bar div to extend to the length of the page? (SP2013)

We want the quick launch bar to extend to the height of the page. At the moment there are little contents in the quick launch and as the contents increase the height of it increases. We want to always ...
3
votes
1answer
1k views

SharePoint 2013 Datepicker Not Rendering Correctly

I’m having a problem with my Calendar datepicker in Sharepoint 2013. It’s like it is missing some CSS. And I get the below error in my console : Resource interpreted as Stylesheet but ...
3
votes
1answer
1k views

Word-Wraping for the calendar

The first image named calendarSample1 is a screenshot of the sharepoint calendar in IE10. The second image named calendarSample2 is from Google Chrome. I am trying to make the text within the ...
3
votes
1answer
463 views

Get rid of Horizontal Scrollbar on SharePoint Online Public Website?

On my out of the box public website have a horizontal scrollbar I can't find the source of. No matter how I try to find it's origin, I'm having trouble getting rid of it. It may be an error in the ...
3
votes
3answers
6k views

How to modify width of standard dialog form sharepoint 2010

Please, help me! I need to modify width of standard dialog form for adding element into library. If I click to ribbon button for adding element, form opened with width=402px: <div ...
3
votes
1answer
455 views

Does anyone have 960 Grid Template to be used on sharepoint 2010 site?

I am working on design of portal in sharepoint 2010. I need to implement 960 grid system there.It will be very helpfull if anybody have template or related link to it.
3
votes
1answer
282 views

What's the correct CSS for loading a font for IE9

I have the following CSS for loading a font which works fine in Chrome but the font doesn't load in IE9: @font-face { font-family: Adelle; src: url('AdelleBasic_BoldItalic.eot'); /* for IE */ } ...
3
votes
1answer
166 views

Themable CSS: attribute name being replaced as well as color

I have added the following to one of my themable CSS files, which has been working absolutely fine until now: .ICS_footer_side a:hover{ /* [ReplaceColor(themeColor:"Light2")] */ background:#ddd; } ...
3
votes
2answers
303 views

SP2010 splistitem AND accessing css or style

I have an event receiver which adds splistitems from child sites to the parents site list (in a calendar). How do I access the css or style of an splistitem? I am wanting to color code the different ...
3
votes
0answers
51 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). ...
3
votes
1answer
68 views

Sharepoint Date Picker cuts off at the bottom of the page

In Sharepoint 2010, when I create a new task the date picker at the bottom of the page cuts the month in half and not showing all the days. Is there a way to solve this may be with css ?
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: ...
3
votes
1answer
744 views

How to check Reset all subsites to inherit this alternate CSS URL Programitically?

I had set Alternate CSS URL programmatically. But next CheckBox of "Reset all subsites to inherit this alternate CSS URL" is not checked it self. I want to check it programmatically. Please Suggest ...
2
votes
3answers
4k 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 ...
2
votes
3answers
2k views

Masterpage and CSS are not applied in IE 8

In SharePoint 2013, I have my custom masterpage. Masterpage uses custom CSS. Inside of my custom CSS I have: #suiteBarLeft, #suiteBarRight { background-color:#004250; ...
2
votes
3answers
6k views

Master Page how to specify correct Path for CSS and Images

1) In My custom master page I have registered my CSS as follows, <SharePoint:CssRegistration name="/mycssfolder/css/mycss.css" After="corev4.css" runat="server"/> Now I have my folder ...
2
votes
2answers
278 views

Which is best practice to add custom css to SharePoint site?

Foll. are approaches I am aware off. Please add if there are any more, and let me know which is the best approach. Go to SharePoint designer. Take backup of existing master page. Create new master ...
2
votes
1answer
2k views

Customize Sharepoint 2010 Ribbon in Dialog ONLY

In the screenshoot below I pasted the Dialog of the NEW ITEM on top of our website. The ribbon bar selected in red, we want to change it, but it should be different to the ribbon bar in the normal ...
2
votes
4answers
3k views

Web Parts overlapping undesirably

On our SharePoint 2010 Enterprise environment, every page is having some strange behavior with the web part zones. In Edit mode, it essentially looks like this: In non-edit mode, it looks even ...
2
votes
1answer
583 views

SharePoint 2013 Global Navigation Branding

How can I get the Global navigation to ignore the core4.css and take up my custom styles. Thanks
2
votes
1answer
3k views

How can I override default css in SharePoinrt 2010 web parts

I would like all my custom webpart and default webparts to look the same. I know css classes like: ms-vh and ms-vb are used for the fonts, anchors and cell backgrounds. What would be the best way to ...
2
votes
1answer
38 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 ...
2
votes
2answers
198 views

Best practice to target an element during SharePoint branding

When we customize the SharePoint site and brand it, we sometimes need to do CSS styling for the elements of the page. What is the best practice to target an element? Is it by id or class or other ...
2
votes
3answers
2k views

Error when deploying SharePoint feature: The specified list does not exists

I'm using SharePoint 2010 Foundation and Visual Studio 2010 Ultimate. I'm working on a Web Parts with two features: Feature1 - My Web Parts Feature2 - Contains two Visual Studio module with CSS and ...
2
votes
1answer
2k views

What is the way to change the top right portion of SharePoint?

we are looking at branding our SharePoint 2013 site. What is the way to clear out all the stuff on top right corner like NewsFeed, skydrive, share, follow? Is it possible via designer/VS? I have ...
2
votes
2answers
4k views

SP 2013 CCS Background Image

I've created a custom HTML and CSS file, uploaded it to SP2013 using design manager, and converted the HTML to a .masterpage. I want to set a full page background image, so I've added the following to ...
2
votes
2answers
340 views

Anatomy of a SharePoint 2010 Master Page? Resource for this?

I am interested in finding out detailed information about all the elements within the SharePoint master page v4 to start, in order to learn how to create my own while still retaining key ...
2
votes
3answers
4k views

Detect Modal Dialog Close with JQuery

In my application, I am trying to hide scrollbars in the parent window when a modal dialog is opened... I've added this to my Master Page: $(function(){ if(window.frameElement != null) { ...
2
votes
2answers
42 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
3answers
698 views

Changing bg colour on a modal dialog box - s4-ribbonrow

I have a slight css issue and was hoping someone would be able to assist. I am in danger of being blocked asking any further questions so I'll try to be as clear and concise as possible :) I would ...
2
votes
2answers
1k views

CSS not applying to table in custom SP2013 layouts page

I am creating a custom edit/display/new forms for custom lists, using custom controls. This is a VS farm solution, for an on-premises scenario. The layout is done in HTML tables, since they need to ...