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
3answers
3k 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
342 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
3answers
2k views

Issue with standard navigation in Chrome

The standard <SharePoint:AspMenu navigation on our SharePoint 2010 site works fine in all browser but Chrome. When I hover over a menu item I can't see the sub menu items like Contact Us -> ...
3
votes
1answer
230 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
156 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
294 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
1answer
155 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
14k views

Where is the _layouts directory on the server?

I'm editing a file using SharePoint Designer. Where is the folder url("/_layouts/images/) stored on the server?
2
votes
1answer
1k 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
3answers
5k 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
4answers
1k 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
2answers
6k 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 ...
2
votes
1answer
422 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
4answers
5k 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 ...
2
votes
1answer
2k 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
3answers
201 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
453 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
257 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
2k 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

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 ...
2
votes
1answer
49 views

Count characters in text field

I have a simple custom developed list that contains three columns, one of these columns should take maximum 7 characters, otherwise problems are caused, thus I want to make the user aware of the ...
2
votes
2answers
434 views

Remove Sharepoint2013 top bar in SP App

I am deploying a SharePoint2013 App (SharePoint hosted). How can I remove the SharePoint2013 top bar (site name, NewsFeed,OneDrive Sites) by JavaScript/CSS? I need to print tha page. Thanks,Nk
2
votes
1answer
108 views

CSS changes after SharePoint 2010 to 2013 upgrade

We have SP2010 project with CSS applied to SharePoint page CSS classes. Now in SP2013 we notice that few CSS classes like 'quick-launch' no longer exist. That means we will have to change the CSS ...
2
votes
1answer
310 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 ...
2
votes
2answers
573 views

Blue bar in the header disappearing on zoom in Sharepoint 2013

I noticed this in IE8. In Chrome it seems to be working fine. When I zoom in or out the page (CTRL+mouse wheel scroll or using the buttons in the browser's menu) the blue bar of the header disappears. ...
2
votes
1answer
190 views

Use different masterpage for pages library

How do I go about applying a custom masterpage just to "front end" pages? i.e. I want all of the administration parts of the SharePoint site to follow default look and feel (viewlsts.aspx, managing ...
2
votes
1answer
408 views

How do I trigger off of the ribbonbar being shown/hidden?

When the ribbon bar is visible (i.e., not in Browse mode), I want certain things to happen on my page (mostly involving changing styles of some items). How do I determine if it's visible or not or ...
2
votes
2answers
792 views

Can I attach an external Stylesheet to browser enabled InfoPath 2007 form?

First, I apologize if this is the wrong forum; however, I believe someone here may have the answer. I have no problems associating the resource css file and calling it within the view.xml file. The ...
2
votes
1answer
40 views

Use calculated column to add target“_blank” at the end of a Web field URL

It appears I cannot configure a hyperlink column to open in a new window. I read in this post that you can concatenate a hard coded url with the title field of an item to achieve this. However, that ...
2
votes
2answers
78 views

Image not loading in SharePoint 2013

We are in process of upgrading SP2010 project to SP2013. There is an issue loading an image in a webpart. In the SP2013 master page we have added before head tag:- <link rel="stylesheet" ...
2
votes
3answers
94 views

@import, not working in css of sharepoint 2010

seen like this is the easy way, but I am facing some issue, I separated style sheet according to the section like layout.css typo.css element.css and sooo on and then from the masterpage ...
2
votes
1answer
278 views

how to display the current year in my maste page

I have the folloiwng footer, inside my custom master page:- <div id="customFooter" class="noindex">&copy; .. Group 2013</div> but is there a way to dynamically access the current ...
2
votes
1answer
189 views

Changing the original calendar colour (blue) to match the overlay colour

I have 5 calendars where I have overlayed 4 of them inside a general calendar, and for each of the overlayed calendars I have defined a different color (red, green , pink, etc) which worked well. But ...
2
votes
1answer
744 views

Does SharePoint HTML Edit Source allow any css?

I'd like to edit a page's html source to remove boxes around images with links. In CSS you can simply assign text-decoration:none to the element. I'd like that flexibilty within the SharePoint ...
2
votes
1answer
141 views

Making Publishing Image in Page Layout Required

How can I make the publishing Image in PageLayout Required?
2
votes
1answer
102 views

Storing JS/CSS/HTML for a sub-site

I am building out a Single Page Application using knockout.js on a sub-site which I do have control of the parent site collection. I know most people recommend storing JS and CSS files in the Style ...
2
votes
1answer
142 views

RichHtmlField: Using :first-of-type (and other pseudo-classes) causes blank entries in Markup Styles menu

I've set up a RichHtmlField like so: <PublishingWebControls:RichHtmlField PrefixStyleSheet="sbg" id="SomethingUseful" FieldName="SomethingUseful" HasInitialFocus="False" MinimumEditHeight="200px" ...
2
votes
3answers
3k views

How do remove space at top of web part zone?

In my SharePoint Foundation site, I have a page with Text Layout set to "One column with sidebar". The left-hand column has a list web part, as does the right-hand column. However, the web part in the ...
2
votes
1answer
255 views

Disable fonts in SharePoint 2010

To be able to keep our company style, we would to restrict the usage of different fonts. We would like everyone to use only the Arial font. I was wondering if anyone knows of a simple way to do this. ...
2
votes
2answers
588 views

What do you do to enable Auto-Versioning of custom CSS and Javascript in SharePoint 2010?

I want to be able to auto-version these in SharePoint and I'm looking for the best solution. SharePoint does it with some of it's files. For example: <link rel="stylesheet" type="text/css" ...
2
votes
2answers
52 views

Override default css files without registering new css file

I am trying to override a class that is used in the following file: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\XLViewer.aspx Unfortunately this file ...
2
votes
1answer
128 views

Display templates - style block / media queries - remove //<![CDATA[

I'm having trouble inserting style block inside a display template. See code below: <a class="articleListing" href="_#= linkURL =#_" title="_#= $htmlEncode(carouselHeading) =#_"> ...
2
votes
1answer
104 views

How to add class to list view colum in webpart or hide column

This is Sharepoint 2010. I have a list view webpart(calendar) with title and date. I am using Jquery to filter dates shown (workaround for limitations in filtering on reoccurring event). I need to ...
2
votes
1answer
70 views

Background image transition SP2013 - is it possible?

We are attempting to use SP2013 as our corporate external website and are required to have a homepage that has a transitioning background image. Simple enough for a 'normal' website but successful ...
2
votes
1answer
163 views

Changing the username color to be white

I have a SharePoint web application which contains both a team site & a community site. I have changed the upper left suite bar colour to be blue, but this will make the username not very ...
2
votes
1answer
53 views

Custom styling on sharepoint.com

Is there any way to override styles for a sharepoint.com site? For example, I want H3 elements to be the same color as the H2 elements. I've seen threads about how to do this for a site sitting on ...
2
votes
1answer
271 views

Color coded background on calculated column using Designer

I am aware of the various methods to colorcode columns (jquery, formula) I choose here to use designer on allitems.aspx on a list (im lazy and its easy). I have given various columns background ...
2
votes
1answer
179 views

modifying css for modal dialogue

I have a page which can be opened as a pop up page in sharepoint .Now when the page is opened as pop up I want some css to be modified.What is happening is that the code is able to successfully modify ...
2
votes
1answer
924 views

Master Page background picture change

I am creating a blog in sharepoint 2007 and i need to change the blue background that is standard on the masterpage. so far I have not been successful with this. I have read posts that say each ...
2
votes
1answer
886 views

CSS inheritance rules and AlternateCSS

I put a CssRegistration tag in my v4.master master page in SP 2010. I expected that subsites would inherit, but newly created subsites do not inherit from this master page. How can I force them to ...