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

how to use backgound image in a .s4-title-inner(CSS)

I'm doing some branding and i need to have a background image in a top header above the menu.I tried : .s4-title-inner{ background-image:url('../../images/cj-intranet-bkg.png'); /*When i use a normal ...
1
vote
2answers
45 views

How can I apply CSS to webparID?

how can I apply css to webpart ID. I have the following webpart: webpartid="5a399f4c-f605-409c-8e3c-55993af60c9a" I need to apply css only for this webpartID How can I do that? Thanks!
1
vote
1answer
54 views

Changing Web Part Query Link Color

I have 2 query web parts that pull some of the latest information throughout the site into the front page. Currently I have a script editor with the following code to set the background color for ...
1
vote
2answers
1k views

Edit oslo.css File

I created new custom MasterPage. I used bootstrap library for MasterPage design. But oslo.css breaks my design. How can I find oslo.css in SharePoint Designer and How can I edit the CSS file?
1
vote
2answers
658 views

How/Where to put CSS codes in Sharepoint 2013

I'm very new to sharepoint and I saw many customization on sharepoint sites using CSS codes. Where do I need to put those codes? Like, what page do I need to edit on my master pages? Is it the ...
1
vote
2answers
740 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 Page?...
1
vote
1answer
2k views

Set custom table style as default when inserting tables in content editor web part

I've created a table style ex: .testTable-default { -ms-name:"Tabell - test"; border:1px solid $borderColor; // sass syntax margin: 8px 0; width:98%; } I've removed all other table styles and ...
1
vote
1answer
3k views

SharePoint 2013 - Display templates - media queries to get image rendition on images based on screen size

I know I could use device channels to do this, but is there a way to get right image rendition with media queries? item display template <div class="image"> <style> @media only ...
1
vote
3answers
382 views

how to register a custom css with v4.master without editing the actual file

I would like to add a custom css with v4.master however do not want to edit the actual master page itself. the idea is to load the custom css on the wiki page. do we have any way of doing it?
1
vote
3answers
2k views

Add CSS Classes to ContentBySearch.getPictureMarkup

I'm trying to create a custom design on a Content Search web part. In the display template the var pictureMarkup is created using this line: var pictureMarkup = Srch.ContentBySearch.getPictureMarkup(...
1
vote
2answers
1k views

Hard Coded Navigation in Master Page - Active link not changing

Prior to my arrival it was decided that all navigation would be hard coded into the Master Page. I wish I could find a solid reason why, but for the time being it escapes me. Due to time constraints, ...
1
vote
3answers
48 views

Add custom Css file to root site and subsites

I have added a link to a custom CSS file to my master page to change the width of the navigation sub menu, but it doesn't take affect when I browse to a subsite in the site collection How can I apply ...
1
vote
4answers
593 views

Best practice location to deploy CSS/JS/image files

For SharePoint development, I am used to placing all the images/CSS/JS files into the mapped layouts folder (..\Microsoft Shared\Web Server Extensions\15\TEMPLATE\LAYOUTS) using Visual Studio. ...
1
vote
1answer
674 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.
1
vote
2answers
232 views

Can't get jquery to work

I can get this block of jquery to work on basic HTML in Codepen However, it doesn't seem to be working when I try this on a SharePoint 2013 Publishing site. I embedded the CSS and JQ in my master ...
1
vote
1answer
68 views

CSSRegistration

I am making an aspx page and need to link some css pages. From the root of the site collection the css pages are located in Style Library/CSS/files_here.css My aspx page is located at SitePages/Page....
1
vote
5answers
3k views

Hide ECB item in a sharepoint 2013 list

I am trying to hide "Workflow" from ECB menu in a sharepoint 2013 List I added this code to allitems.aspx in the PlaceHolderPageDescription tag <script src="https://ajax.googleapis.com/ajax/libs/...
1
vote
2answers
4k views

how do i control the size of the background image?

I uploaded a background image with the the "Change the look" option in site settings. It's a small image, but now it's being stretched to the entire window. Is there a way i can control how big the ...
1
vote
2answers
312 views

the color of the upper blue horizontal bar does not change in IE8

I followed the instructions in this other theard and I am having a problem with IE8. It works fine with Chrome and Firefox. I have cleaned the cache. Here's what I have done: myTest.css div#...
1
vote
2answers
1k views

How can I add some line separators to my announcement list “AllItem” View?

I have added an announcement list to my SharePoint 2013 project, but on the Allitem view I need to add a line or boarder to each announcement list item, to separate the items more clearly. currently ...
1
vote
3answers
3k views

How to hide the “About Me” link from the username drop down list

We have built our team site, for adding Apps and different contents, but for now we do not want to have About me page for each user. So is there a way to remove the “About me” link from the username ...
1
vote
2answers
1k views

Custom CSS will not work on Internet Explorer 8

I have created a custom CSS file under my (site content --> style library) and I added a reference to this CSS on my master page. I test the layout on chrome, Firefox and IE version10 and it is ...
1
vote
1answer
2k views

Sharepoint 2013 design manager - best practice to add files / css stylesheet / js javascript / images

What's best practice to add stylesheet / js / images / files in the design manager? What I have done: exported pretty mutch a standard design manager package from sharepoint (wsp) imported it into ...
1
vote
1answer
311 views

How can I add a grey shaded web part

I have added a new community site, and I want to create a web part similar to the built-in “Community Tools” grey shaded area :- I tried to add a content editor web part, but there is not an option ...
1
vote
1answer
392 views

Dropdown menu doesn't fit in form

I have a problem with the way Internet Explorer displays the drop down menu from a look up column in a form. I have a list that contains the names of US, Mexican and Canadian states. In State Folder ...
1
vote
2answers
3k views

Subsite in Sharepoint Foundation 2010 - Applying CSS

I am just getting started with SPD 2010/Foundation 2010 and having trouble applying a CSS file. On the home site I am using a custom master page that uses this code to load a stylesheet to override ...
1
vote
1answer
374 views

Anyone using 960 Grid System or YUI 2 Grids CSS

Anyone having experience with 960 Grid system and getting it to play nicely with SharePoint? I am intrested in experience from other CSS Framework and how successfull was your team in implementing ...
1
vote
4answers
2k views

How to set CSS class of a ContentByQueryWebpart?

Is there any way to specify a CSS class for a Content Query web part? I tried setting its CssClass property but it didn't do anything.
1
vote
3answers
7k views

How to brand the top link bar?

I created a SharePoint Foundation site and want to brand the top link bar. How do I do that?
1
vote
1answer
51 views

How do I alter the CSS for a page's title?

I have been using an outside CSS file to change the look of our SharePoint sites. Where I have run into an issue is changing the title font. /*============= Title Changes =============*/ .ms-...
1
vote
1answer
37 views

Inserting CSS in top navigation bar

I would like to alter the look of the top navigation bar, but I am not sure how to insert the CSS into the page. I know all the elements' class names, but changing their default styles seems to be ...
1
vote
2answers
67 views

Increase the width of a column in SharePoint 2013 List

How can I increase the width of a column in SharePoint 2013 list, without increasing the entire width of the page. Such that the if Column 4 width is increased it squeezes the other column to ...
1
vote
2answers
58 views

How to disable “Site Content” in SharePoint 2013?

How can I disable Site content from this place: I want to be disable for non-admin users. I am not using Seattle.masterpage but instead I am using bootrap.masterpage. This means that i DO NOT HAVE ...
1
vote
2answers
49 views

The bootsrap glyphs not displayed on SharePoint public site

I recently connected a domain to my public website on SharePoint Online (Developer tenant). When I connected the template with the master page and page layout works flawlessly on: https://domain-...
1
vote
1answer
88 views

Custom Master page dynamic logo using Visual studio SharePoint 2013

We have used a starter master page and created a visual studio master page solution. The master page has OOB global level navigation. These navigation have sites(Site A, Site B, SIte C) in them and ...
1
vote
1answer
206 views

Oslo Navigation Dropdown Issues

we are running into an issue with the Oslo layout when we try and use a drop down navigation header and it gets stacked on top of another. The issue is that before the mouse picks up the drop down ...
1
vote
1answer
266 views

Changing background color on content query web-part?

Is there any way to change the background color on the query web part shown above?
1
vote
1answer
215 views

Add an image to web part header - SP online

I would like to modify the look of my web part so there is an image next to the text - this is an example of a search box I have with how I would like the end result to look - I can modify the text ...
1
vote
1answer
75 views

Branding the list Search Box

I'm building a site collection in SharePoint OnI want to apply some custom css rules to the List Search Box that you can enable in the List Web Part edit menu. I've tried using the element inspector ...
1
vote
1answer
53 views

Why does ElementById return null for a Sharepoint app?

I'm trying to get the an element's ID tag using JavaScript in order to manipulate the styles. The element is created by an app from the Office Store but I would like to change the look. <div class=...
1
vote
1answer
94 views

Css File not shown for some users

I have the following site collection: https://mytenant.sharepoint.com/sites/site1 On this site collection on the Style Library we have a folder and a few .css inside. http://screencast.com/t/...
1
vote
1answer
42 views

Custom style sheet - css

I've created a custom CSS file and added it to a Style Library. In my Master page I've referenced it. I am enable to see the styles from the CSS file because i am in the SharePoint Owner group. ...
1
vote
1answer
172 views

Make list view drop-down sort permanently visible

is there a way to make the drop-down arrow permanently visible on a SharePoint list header instead of only having it on mouse hover? If i remove the "img style="visibility: hidden;" tag in IE ...
1
vote
2answers
49 views

Moving wepart down while scrolling

We have a wepart page with 2 sections. On the left side is a big task list and on the right side is a short list with informations to complete the task. Both lists are list view webparts. Is it ...
1
vote
3answers
230 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?
1
vote
2answers
3k 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?
1
vote
1answer
306 views

Automatic Bootstrap Tabs in SharePoint

I'm trying to implement this solution to a SharePoint public facing site. The timer seems to be working as I'm getting errors in browser consoles at every interval but nothing is happening: '...
1
vote
1answer
363 views

CSS Class for page title

SharePoint 2013 I need to edit a master page so that when the title of the page is displayed the font size is smaller than the default. Can someone give me the code?
1
vote
1answer
129 views

How to hide “Documents” library from my tree view

I am working on an enterprise wiki site collection, and I have enabled tree view. Which will display the Pages & Documents in the left side navigator, as follow:- But I want to hide the “...
1
vote
1answer
5k views

Change Suite Bar Color On Master page

I am completely new to SharePoint. We have SharePoint 2013 on premises and i'd like to change the color of the top bar on the master page as well as get rid of the Newsfeed, OneDrive and Sites links. ...