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

1
vote
2answers
71 views

How do I add custom CSS and JavaScript to the System Master Page?

I'm using Seattle for our System Master Page. This is working fine, except now I need to insert some custom JavaScript and CSS into it. How do I add custom JavaScript and CSS to the System Master ...
1
vote
0answers
34 views

I'm having trouble with basic layout using html/css with Sharepoint

first time poster here so I'd like to apologize if I do this wrong. I'm new to Sharepoint, so I'm having difficulty with some basic stuff. My end goal is to basically make something that looks like ...
2
votes
3answers
1k 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
2answers
46 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 ...
3
votes
1answer
406 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
63 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
45 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
72 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?
7
votes
1answer
827 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
34 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
28 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
369 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
31 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
17 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 ...
0
votes
2answers
1k 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
1answer
113 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
103 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
30 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
68 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
27 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
33 views

Double scroll bar on pages

Recently double scroll bars have appeared. Is this caused by the masterpage or style.css?
0
votes
1answer
30 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
24 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
114 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
128 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 ...
2
votes
2answers
113 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
53 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
votes
2answers
67 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
15 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
14 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
53 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
11 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
29 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
25 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 ?
1
vote
0answers
89 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
76 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
327 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
188 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
76 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
68 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
17 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
36 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
231 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
30 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 ...
9
votes
4answers
8k views

How to avoid caching issue when using custom JavaScript and CSS deployed under _layouts?

On our farm, I'm deploying some JavaScript and CSS files under the _layouts folder. I'm then referencing them, where it's required using a <SharePoint:ScriptLink> or a ...
0
votes
0answers
100 views

Background image loads slow

I have tried to methods to add background image to my SharePoint site. But both of the methods loads very slow. the background loads white first then picture after a few seconds. Methode 1: Using ...
2
votes
1answer
58 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 ...
0
votes
1answer
22 views

Can you upload custom html in subsite different from master page?

I have sharepoint 2010 with a masterpage template. I have a custom html/css naviation bar I want to add to my subsite only. Does the subsite have its own master page to upload its own html/css? the ...
0
votes
1answer
224 views

left navigation bar using css at sharepoint 2013

how to add custom left navigation bar using css at sharepoint 2013. Does this custom bar apply to all sharepoint pages?