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
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
5k 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
349 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
5k 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
2k 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
2answers
67 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
737 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 ...
2
votes
1answer
2k 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
1answer
260 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
1answer
400 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
2answers
837 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
275 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
3answers
6k 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
546 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
1answer
52 views

Apply Alternate CSS to all site collections via Powershell in SharePoint 2013

I have a SharePoint 2013 environment where I want to apply a single Alternate CSS file across all site collections and subsites. I am using the following method. When I run this I receive a single ...
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 ...
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 ...
2
votes
1answer
100 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 ...
2
votes
2answers
660 views

How to remove whitespace caused by hiding Title

I have a SharePoint site which I have used the following CSS in a Script Editor Web Part to hide the Top Navigation and page Title as I do not want these elements to appear on the page. However, now ...
2
votes
1answer
323 views

Relative path for img src

I'm trying to get my relative path for my image, as this site will be re-used on different sites on the site collection. and the sharepoint url would been this ...
2
votes
1answer
46 views

Is it possible to handle file management in a Sharepoint Online team site?

I've been tasked with implementing a full-blown SharePoint website using SharePoint Online, but I am still quite new and I need some help. The design team has sent us a layout completely different ...
2
votes
2answers
167 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
752 views

SPWeb.AlternateCSSUrl equivalent Client Side Object Model

Does someone know the equivalent of SPWeb.AlternateCssUrl in the client side object model? Thanks
2
votes
3answers
185 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
2answers
1k views

SP13 Accordian View (HTML Script)

I am working with SP2013. My objective is to add an accordion View to a Summary Link Web Part. I added the Summary Link Web Part. Within the Summary Link Web Part, I created groups. Then I added a ...
2
votes
1answer
595 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
583 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
3answers
2k 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
294 views

Making Publishing Image in Page Layout Required

How can I make the publishing Image in PageLayout Required?
2
votes
1answer
193 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
161 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
1answer
1k 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 ...
2
votes
1answer
328 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
675 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
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 ...
2
votes
1answer
138 views

Customizing SearchBox in SharePoint 2013 Online

My customer is not happy with the current position of the SearchBox. So My job is to move it in the X (o365cs-nav) or in the Y (ms-cui-TabRowRight) position. I am looking for these positions in ...
2
votes
1answer
101 views

How I can reset the People Picker height on IE

I am facing a problem on IE 10 32-bit, where the People Picker will not show the people correctly, as the area seems to be minimized. Here is what I get from IE developer tools:- Now if I manually ...
2
votes
2answers
149 views

CSS File being loaded twice

From firebug I can see that in our SharePoint 2013, tokyo.css is being loaded twice. Once before my custom.css is loaded and once after. This is causing my customization to be overridden by default ...
2
votes
2answers
315 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
2answers
748 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
308 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
125 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
220 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
115 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
282 views

Footer does fill the whole width. Scrolling in document library

I have a problem with the footer not extending to the right side when scrolling to the right. (In a document library with way to many columns). Meaning the footer have a blank spot in the right side ...
2
votes
1answer
482 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
466 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
1k 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 ...