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
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
236 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
340 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
820 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
266 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
5k 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
517 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
1k 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
18 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
1answer
256 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
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
44 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
161 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
653 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
167 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
560 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
547 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
268 views

Making Publishing Image in Page Layout Required

How can I make the publishing Image in PageLayout Required?
2
votes
1answer
168 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
159 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
325 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
650 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
37 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
2answers
52 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 ...
2
votes
1answer
65 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
86 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
127 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
292 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
676 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
281 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
116 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
215 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
107 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
265 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
465 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
423 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 ...
2
votes
1answer
1k views

Masterpage and alignment problem using IE7 and above

I have developed a masterpage and the homepage appearing perfect when we use IE8/IE9 but there alignment problem in IE7. I am attaching screenshot of both IE7 and IE8. plz suggest why the DIV's are ...
2
votes
1answer
1k views

AspMenu does not render css-class for 'selected' element

I'm using the codeplex cross-site collection navigation project as a basis. The problem should not be related to that specifically though. I'm using Microsoft.SharePoint.WebControls.AspMenu as my ...
2
votes
2answers
460 views

Branding SharePoint 2010 CSS and Javascript - Training Courses?

I've been tasked with branding our new corporate website which will be on the SharePoint 2010 platform. Is anyone aware of some good training courses in the UK that might be able to help on the CSS ...
2
votes
1answer
3k views

Add a custom Style to Sharepoint Foundation 2010

I want to add a small snippet of CSS code to create a text block in Sharepoint Foundation 2010, so when users are creating pages, they can highlight a block of text and use the dropdown to add the ...
2
votes
0answers
26 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 ...
2
votes
1answer
29 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 ...
2
votes
1answer
19 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
1answer
59 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
40 views

Freeze list header Row while Scrolling in SharePoint [duplicate]

How to freeze list header row while scrolling in SharePoint?
2
votes
1answer
41 views

SharePoint 2013 Online (365): How can I insert html tags, such as divs and footers in the OOTB master page?

This is my first time working with SharePoint Online and I have been asked to create a master page with some custom links inside different divs and a footer. I saw another post here, but it did not ...