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
1answer
2k 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
2answers
3k 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 ...
1
vote
3answers
220 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
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
1answer
538 views

SharePoint Web Part Development - Server Side vs Client Side

I am developing a web part in SharePoint 2010. I consulted with someone well versed in SharePoint development who told me that, beginning with SP2010, server-side code is discouraged. The problem is ...
1
vote
2answers
114 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
36 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 ...
1
vote
2answers
2k 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
219 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 ...
1
vote
2answers
1k 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 = ...
1
vote
3answers
2k 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
1answer
1k 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
195 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
357 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
2k 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
367 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
46 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. ...
1
vote
1answer
28 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
2answers
31 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
1answer
178 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
1answer
150 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
39 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
3answers
502 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 ...
1
vote
1answer
77 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
2k 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. ...
1
vote
2answers
444 views

Customising the style of a document library/list

I am trying to change the default styling for some of my document libraries and lists. I've got a decent understanding of CSS and HTML, but never in the SharePoint sphere. What is the best way in ...
1
vote
2answers
625 views

Why don't people pickers work when you set a master page to work with HTML5 and CSS3

I'm working on a web part for which I've customised the master page to work with both HTML5 and CSS3. The problem in doing this is people pickers now no longer work as they have to be set to master ...
1
vote
4answers
399 views

Is it possible to change Web Part attributes via CSS or XSLT?

I am working on a dynamic SharePoint design using DVWPs. I have a hidden DVWP which controls other webparts based on values in a list. I'm running into a slight snag, though. I need to know if it's ...
1
vote
2answers
92 views

Custom CSS shows in IE10's IE7 emulator, but not in actual IE7

I'm at wit's end here and looking for help. I have a SharePoint 2007 page that uses some home-made JavaScript CEWPs and custom CSS files. When I open the page in IE10 and push it back to IE7 using ...
1
vote
1answer
341 views

CSS and js UX optimization for 2013 master page

I've been trying to optimize the user experience of a 2013 site that has an entirely custom responsive-design master page. So far, the only recommendation I've come up with is "Put your CSS links at ...
1
vote
1answer
426 views

Can I add hide/show list to my Quick launch links

I have parent/child links hierarchy inside my Quick Launch links, but is there a way to be able to hide/show the child links, instead of always showing the child links? ::EDIT:: I have modified my ...
1
vote
1answer
356 views

Moving the calendar from left side of the page to the right hand side of the page

I have a calendar App, but is there a way to move the calendar and the calendar in view section, from the left hand side of the screen to the right hand side of the screen, as the red arrow mentioned ...
1
vote
2answers
797 views

How can I change the background color for the welcome menu

I have changed the color for the upper suite to be blue and the color for the username text to be white. But I have faced problem , since when the user hover over the username the menu will become ...
1
vote
2answers
2k views

Css class that overrides a web part share point 2010

Hi all here is my problem. I need to make style changes to a Webpart but I cant change the css file that it is currently using because it will affect other webpart to. Ok so I know that I need to make ...
1
vote
2answers
751 views

How to embed resources in a visual web part

I am creating a visual web-part that has a few images, a CSS file and a java-script file, but i'm having issues. Can someone please tell me what I am missing or doing wrong? I have added the files ...
1
vote
1answer
129 views

Page layout for community page in SP213 online (365)

Our content editors have created a new community subsite and whilst it has adapted to the master page i have created it seems to have its own page layout...but i can't find this anywhere or work out ...
1
vote
1answer
233 views

do css media queries work on sharepoint 2010?

having trouble getting this to work and I thought I would ask if this is even supported in SharePoint 2010(or is it a problem in my css)?
1
vote
1answer
314 views

Detect only ie8 document mode , give users IE8.css file

I'm having problem with document mode. In workspaces we force to document mode into ie8, like <meta http-equiv="x-ua-compatible" content="IE=8"/> How can I detect what document mode all ...
1
vote
1answer
122 views

Site Template with Custom Pages: css, javascript?

If I create some custom pages that include custom html, css and jquery and this page exists within a site that is used as a site template, will that cause issues? From my limited experience with this ...
1
vote
1answer
64 views

Sharepoint Model Box Height On Custom Master Page

We have a custom master page, the orignaly did'nt have this tags in it <div id="s4-workspace"> <div id="s4-bodyContainer"></div> </div> However, someone wanted to use ...
1
vote
3answers
128 views

Minimizing the loadtime

I work with a sandboxed solution which is deployed in a .wsp file. The solution mostly contains our webparts. The pages that contains these webparts, are slow at startup, but it seems that there is ...
1
vote
2answers
303 views

Implementing a CSS Framework in Sharepoint

I've seen a post from you remarking on implementing a CSS framework in the Page Layouts, rather than the Master Pages, which when I think about it makes sense. However, how do you include the ...
1
vote
1answer
823 views

How to make top ribbon visible on all accounts - My Sites

So I've spent a lot of time customizing the look and feel of My Sites using feature stapling but I had been checking the changes using the Administrator account...now I logged in as a test user with ...
1
vote
3answers
2k views

Adding CSS file to a master page - illegal characters in path?

I'm making a custom master page with a custom CSS file, being deployed in a feature form VS2010. I'm using the CssRegistation control to add the new CSS, but whenever I try to load a page that uses ...
1
vote
1answer
83 views

Is it possible to write a feature to inject a custom control into a masterpage?

I have 3 site collections that need a specific css file, and to not have to make changes in multiple places our team has opted for a single masterpage. Instead of creating a second masterpage with a ...
1
vote
4answers
989 views

Changes to top bar

Hi guys, I want to remove this Home -> Home thing next to logo throughout the site collection. This should also not appear even navigating to site settings. Secondly, I want to add an image next ...
1
vote
3answers
903 views

font sizing and sharepoint em px pt

How are you handling font sizing with Sharepoint? Just curious on how things are working out. We seem to have a mix of px, pt, and em scattered everywhere among our CSS. I'm trying to clean things ...
1
vote
6answers
2k views

What are best practices for designing Sharepoint sites?

I'm putting together a document for our Art Directors and Creatives for what works best and what might not work best when designing for a sharepoint site. Sharepoint obviously lets you customize CSS ...