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
4answers
12k views

How can I hide the page header (title) for just a specific page

I'd like to hide the header on my homepage (the <h1 id="pageContentTitle" .. > element.) I could use some CSS like #pageContentTitle{ display:none; } But because my CSS is referenced in the ...
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
4k 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
633 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
2answers
44 views

Footer not at the bottom for users with read rights

I have a footer applied via CSS to my pages. If I log in as me (Admin) the footer is at the bottom of the page. If I log on as a test user with read rights the footer is always directly under where ...
2
votes
1answer
44 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
205 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
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
351 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 functionality....
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
1answer
44 views

How to move breadcrumb bar to the left

I removed the logo from the sharepoint using below CSS. <style> .ms-siteicon-img {Display:none; } .ms-siteicon-img {margin-left: 0px } </style> how do i remove the white space and move ...
2
votes
2answers
54 views

Hiding the Ribbon in an IFrame

I have a JQuery UI Tab Web Part which loads iframe pages on demand. I want to hide the ribbon in each of these pages but the problem is the delay which makes the page jump function setFrameStyle()...
2
votes
2answers
108 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
762 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
2k 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
273 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
446 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
842 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
285 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
563 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
84 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
27 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
85 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
133 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
886 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
375 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 sitecollection.sharepoint.com/topsite/...
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
172 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" type="...
2
votes
3answers
800 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
613 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
607 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
304 views

Making Publishing Image in Page Layout Required

How can I make the publishing Image in PageLayout Required?
2
votes
1answer
201 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
162 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
2k 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
331 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
684 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" href="...
2
votes
2answers
39 views

TileView: How to set a Return in the displayed title

I'm trying to layout the text of the first Tile (see my first Screenshot) like the second one (simply moving up the text part "gelenkte" and aligning the "Dokumente" to the left) I didn't find any ...
2
votes
2answers
74 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
122 views

Freeze list header Row while Scrolling in SharePoint [duplicate]

How to freeze list header row while scrolling in SharePoint?
2
votes
1answer
182 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
116 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
169 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 ...