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

CSS and master page - Sharepoint online - Office 365

I recently created a custom .css file and dumped it in /Style Library/custom/corev15.css I just created the 'custom' folder and created a duplicate of the original ...
1
vote
2answers
16 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 ...
0
votes
1answer
6 views

Centered look for Main Content in tokyo Layout

How can I make the Main Content area centered in the tokyo layout? I tried creating a custom CSS file, adding .fullPageLayout{width:100%;} to it, but this class gets overridden by tokyo.css which ...
3
votes
1answer
391 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.
1
vote
1answer
54 views

Reusing Content (HTML/CSS)

In another question I asked about dynamically calling Lists to a page(Web Part) via a menu. A problem which I have not solved, and has since become more complicated by the following. If I create all ...
2
votes
3answers
3k 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) { ...
1
vote
3answers
40 views

Office 365 how to hide ribbion

I want to hide ribbon like :- Outlook, Calendar, People etc in below print screen marked in red round I want to hide only these options. Please advice.
0
votes
3answers
42 views

Change the colour of the upper blue horizontal bar

Can I change the default blue bar and remove the words SharePoint from the top blue bar? Masterpage?
6
votes
1answer
657 views

CSS Sprite table

Is there any table or list to help reuse SharePoints Sprite images? I'd like to reuse e.g. icons from /_layouts/15/images/spcommon.png?rev=23 Edit after Tiago's answer Thanks for the anwser to use ...
0
votes
1answer
29 views

Huge padding in powershell created webparts

I add a webpart page via powershell like this: $idLayout = 2 $list = $oSP.GetList( $sList ) $xml = "<?xml version=""1.0"" encoding=""UTF-8""?><Method ID=""0,NewWebPage""><SetList ...
0
votes
1answer
6 views

SharePoint 2013 Troubles changing Share and Edit button colors

I am trying to change the color of the Share and Edit buttons in the top right corner of my SharePoint 2013 site. I was able to change the text color but I am unable to change the buttons next to ...
0
votes
1answer
26 views

Applying common styles to multiple HNCS: What is the best practice?

Adhering to best practices, we have built a SharePoint 2013 intranet with multiple Host Named Site Collections all accessible via HTTPs, for example https://home.domain.com - Landing Page ...
1
vote
1answer
328 views

CSS for all picture Library Slideshow webparts

I am using the v4 master page and noticed a vertical alignment issue on my picture Library Slideshow webparts. I manage to fix this issue by adding the css code display:block !important;. the problem ...
0
votes
1answer
23 views

In a table aligning two TDs vertically to start at same location [closed]

Align two TDs to start at same location vertically. I have a table with 5 rows, each row has two columns(TDs). Below is my HTML And CSS for that <style type=text/css> .projectImages { height: ...
1
vote
0answers
11 views

Make CSS changes to osssearchresults page only

Is there a way to make CSS changes to the osssearchresults page without it affecting all other pages on the site? Specifically, for this site collection the left navigation is hidden. I want this to ...
1
vote
1answer
342 views

Search box web part query suggestion display

2 questions pertaining to the search box web part display: 1) I have configured the search box web part to show query suggestions. My issue is when I type for example "ca" I not only get suggestions ...
0
votes
2answers
835 views

SharePoint Foundation 2013, branding search results page?

How I can brand search results page in SharePoint Foundation 2013? I have brand other sites using custom.css file, however it dosen't work in search result page at all. What am I missing here? How I ...
0
votes
2answers
510 views

Site Theme Not Updating Correctly Via Look and Feel

This question is in regards to SharePoint 2010. It would appear that when a page renders under a site using the uncustomized v4.master we get the following code: <link rel="stylesheet" ...
0
votes
1answer
67 views

CSS - Deal With Margin And Padding On Top Of Page

I am trying to get rid of the top area of a page completely, using CSS: I have the following CSS, pieced together from articles, which gets rid of everything: <style type='text/css'> ...
1
vote
1answer
40 views

SharePoint 2013- Using CSS to fix padding and margins after hiding Title, Logo, and Search box

I have used CSS to hide the Title, Logo, and Search box for the site. I would like to remove the padding so that the new site title is closer to the top. I imagine that I would need to go into SP ...
0
votes
0answers
28 views

Customize the size and position of background color in webpart?

I have used the following code to format the background color of a webpart but you can still see a little bit sticking out on the sides. <div style="background: #e5e5e5;"> <style> ...
2
votes
2answers
38 views

CSS and SP Designer to create fixed background image

I am trying to create a background image that is placed behind a specific title image. I want the background image to stay with that title image so that when I scroll down the page, it stays fixed ...
0
votes
0answers
11 views

Changing the column padding of Three Columns with Header Layout

I would like to adjust the amount of padding between each of the three different columns in my SharePoint Page. Is there a CSS script that would allow me to do this?
0
votes
0answers
19 views

Double scroll bar on pages

Recently double scroll bars have appeared. Is this caused by the masterpage or style.css?
0
votes
1answer
13 views

SP 2010 main area padding cut off

I have custom CSS for my SP collaboration site so that it has a fixed width and it's centered. This code does that: #s4-bodyContainer { width: 950px !important; height: 100% !important; ...
0
votes
0answers
20 views

CSS working home page but not others

I have a SharePoint 2010 site collection and I've modified the master page so that the site will support CSS3. I'd like to make use of CSS3 by adding some tables with rounded corners, among other ...
0
votes
2answers
40 views

Unable to replace the default search icon using CSS in Sharepoint 2013

I tried to replace the default search icon in the search box by using the following code .ms-InlineSearch-DivBaseline .ms-InlineSearch-Outline-Baseline .ms-inlineSearch-searchImgSpanBase > img{ ...
0
votes
1answer
47 views

jQuery to Reset sharepoint Dropdown value to empty in

Can you please let me know how to reset Dropdown value to empty using jQuery. I tried using like this on Dropdown doen changed event but it is not working. Can you please help me. Below is the code i ...
1
vote
1answer
786 views

SharePoint 2010 Listview creates “Unable to display…” error after adding inline style

First let me say I have been all over the web looking for a fix and keep finding references to the XsltTransformTimeOut value. I have already had our admins set ours from 1 to actually 10 seconds and ...
2
votes
2answers
75 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 ...
1
vote
2answers
46 views

Custom CSS not applied after changes

I have made changes to my custom CSS on the sharepoint portal using sharepoint designer. then I saved it. I went to check on the protal, however The changes I made were not applied. I check the CSS ...
1
vote
1answer
840 views

How can I resize a web part to be the size of a div it is sitting in

I am trying to put some final touches on our main portal page. We are using a wiki page with a 2 column text layout. The left column is 75% of the page and the right column is 25%. In the right ...
2
votes
1answer
609 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 ...
-1
votes
2answers
29 views

Apply CSS to Specific Field Contents in List Display Form

I'm trying to target some .CSS styling to the contents of a specific field on the display form of a list, but I can't get the right syntax. The style changes work fine in IE developer, but I can't ...
0
votes
1answer
13 views

CEWP blocked access to SP pages

While I was working on my department SP 2013 page and trying to modify a Gantt view list with a piece of css placed in hidden CEWP. I saved the page and the browser showed a blank white page, not only ...
0
votes
1answer
9 views

Thumbnail view not working properly with custom Master page

The Picture library thumbnail view is not working properly after applied our custom Master page. It is the expected outcome (with Seattle Master page): It is the outcomes of custom Master page. ...
1
vote
2answers
41 views

Apply script to a calendar view every date navigation

I have a calendar view in Sharepoint Online and my user wants the time hidden. I manage to hide this using Javascript but the problem is that when I navigate to another month view, the script no ...
0
votes
0answers
9 views

How to edit the UI of my Page Viewer wep part?

I created a new page on my SharePoint 2010 site, added a Page Viewer web part, and have linked the page viewer to an SSRS site, to display the report manager. Now I want to edit the UI of the web ...
1
vote
1answer
22 views

SP2013: Changing Width to Home Page Web Parts

The issue that I'm having is that I would like to change the width to the web part zone on my site home page. I want to change the width of the left web part zone so that it moves a few inches from ...
2
votes
1answer
22 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 ?
0
votes
0answers
40 views

FontAwesome icons not displaying

Am using Font Awesome search icon on the web site using the icons at the local level as shown below, but it does not appear when. How do I solve it? The link to the Awesome Font style: ...
1
vote
1answer
41 views

How to add a link to an external stylesheet in SharePoint 2013

I would like to add Font Awesome External StyleSheet () to SharePoint Online so that I can use the icons on my Quick Launch.
2
votes
3answers
217 views

SPWeb.AlternateCSSUrl equivalent Client Side Object Model

Does someone know the equivalent of SPWeb.AlternateCssUrl in the client side object model? Thanks
0
votes
1answer
66 views

Reference a custom CSS file inside my seatle.html

I want to reference a custom CSS file inside my seatle.html file. currently I find the following in the default seatle.html master page:- <link ...
0
votes
0answers
36 views

Building a creative top link navigation bar SP2013

We want to build a navigation bar like this in SharePoint Online without editing the master pages for now. A CSS snippet is highly appreciated. Especially spacing the links and having then in block ...
0
votes
1answer
31 views

align a column in SharePoint list?

Is it possible to align columns in a SharePoint list? maybe using CSS? The months are single lines of text. The figures are currency. this makes the months left aligned and the currency right ...
0
votes
0answers
9 views

Customizing the Two-Columns with header layout

I want to change the size of left column to be smaller than the right column in the Two-Columns Layout. If there is a CSS script I can input in the content editor, I will highly appreciate.
0
votes
1answer
26 views

Master page Header

I wish to customize my master page, just adding a simple header and removing the standarda SharePoint toolbars. How can I do it easly? Thanks
1
vote
3answers
173 views

Custom CSS Heading Styles in SharePoint Ribbon?

I have custom heading styles (h1,h2,h3) displaying in the SharePoint Ribbon to choose from on the front-end. SharePoint picks up on this from my css file. Is it possible to get this in the back-end as ...
0
votes
1answer
22 views

Link to different css files for each sub site

I have a main portal with different sub sites. I want to add link to different css file for each subsite. One way of doing it would be creating different masterpages for each subsite, which doesnt ...