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

0
votes
0answers
39 views

Client Web Part - Use CSS from host site's SiteAssets

I'm doing many Client Web Part on a SharePoint Online site and I want to use, in my web part, the CSS file which is in the library SiteAssets of my host site. I tried with JS doing a document.write( ...
3
votes
1answer
45 views

(How) can I reference a theme color in my inline CSS?

I'm planning to use the "Preview Pane" list view style to create a much easier-to-maintain version of a carousel that's currently built in code. I've created a list with just a Title column and a ...
2
votes
1answer
160 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 ...
0
votes
1answer
97 views

Changing column list width for Box Style view

This is more of a solution which I have come across in trying to solve a small issue - adjusting the column width of the Boxed style view. A simple bit of CSS in a CEWP. Does anyone know if this break ...
0
votes
1answer
59 views

SharePoint masterpage own navigation

I have created a own navigation by using html and css. I want to add this navigation to the seattle.html masterpage, I did this by copying the html code in the seattle.html masterpage. My navigation ...
1
vote
2answers
115 views

Customize SharePoint 2013 and Office 365 suite bar without editing master page in SharePoint designer

I want to change the company logo on suite bar in SharePoint 2013, but the system administrator has turned off the Master Page editing function in SharePoint designer, I was asked to make an CSS Style ...
0
votes
2answers
106 views

CSS and JS using cached version

I have successfully deployed an Image Slider but have been asked to update some of the CSS styles. I have been trying to change some of the styles (size of containers mainly) however any changes I ...
2
votes
1answer
57 views

Sharepoint 2013 - show edit to admin only

I hope this has not been asked before (I did a few search's on here first). I need to be able to only show the Blue & Grey SharePoint Bars to admins - for all other users I want to be able to ...
0
votes
2answers
38 views

SP 2013 MP > Correct syntax - Is this right?

I need to register 3 different CSS that are in the 15 hive in the masterpage. I have it in the following format and I checked the link thru IE address bar and they seems to resolve. Why then it's not ...
1
vote
1answer
26 views

Overriding CSS for list elements

I am having trouble finding a way to override CSS for RTF unordered and ordered lists on wiki pages and web content pages, without affecting other web parts in the master page, such as the quick ...
1
vote
1answer
186 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
0answers
36 views

plz correct my validation code [closed]

<html> <head> <script type="text/javascript"> function validate() { var product1 = document.getElementById("product").value; var description1 = ...
2
votes
1answer
25 views

Default.Master for CSS reference

I am trying to find the master page my non-publishing site uses. The Home.aspx page shows a reference to Default.Master however I dont have a Default.master. I do however have to master pages that ...
1
vote
1answer
142 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
0answers
74 views

How to avoid sharepoint to override my CSS classes?

I'm struggling to avoid that sharepoint overrides my bootstrap classes, but unfortunally without succes, I've tryied many solutions found on the web and also in Sharepoint StackExchange, but no good. ...
0
votes
1answer
128 views

style a search box

I have added a search box web part in a custom page layout in SharePoint online, I am using bootstrap I am trying to make the width of the search box smaller using css but whenever I do the results ...
0
votes
0answers
28 views

Styling the content of the Title Column in a list view webpart in 2013

I have a regular ListViewWepart that uses the Title Column as the link to the list element. I really want this link to change to a specific style after a user has visited it. But it seems as if the ...
0
votes
1answer
42 views

is it wrong to use “min-Width:105%” & “max-Width:105%” to expand my list views on small sized screens

I'm working on a Team site inside SharePoint 2013, and I've defined many issue tracking lists. and for all these lists I'm showing the Description field (which is of type Enhanced Rich Text) inside ...
0
votes
1answer
36 views

How to add border around each refiner boxes - css?

How to change the look and feel on the search refiner part for each refiner box? I am trying to put border around each refiner box. I tried adding border via developer tool using css style but it ...
0
votes
0answers
22 views

Is it possible to use inline-blocks in SharePoint?

Is it possible to use inline-block in SharePoint? I am trying to use them but it keeps formatting the code, and adding a space (&#160) to my div tags which messes up the inline-blocks. Here is an ...
1
vote
1answer
55 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 ...
0
votes
1answer
58 views

Responsive Sharepoint Input Text Fields

I have designed the online SharePoint responsive with the media queries, And when i tested it with a mobile all are working perfectly without this textbox input fields issue. The issue is when i touch ...
1
vote
0answers
23 views

CSS file attached to Masterpage is causing error

The CSS file that I have linked in the head of my Masterpage is causing my home page to error. Im not using the default.aspx as my home page...not sure if that matters. When I remove the CSS link, the ...
0
votes
0answers
55 views

Table border in a dataview web part

I have created a data view list and for that when I try to add border. The border is adding up as two different cells. I need a single border line. You can have a look at the image below.
0
votes
1answer
206 views

UI-Bootstrap accordion doesn't works in SharePoint

I'm trying to do a simple UI-Bootstrap accordion in a SharePoint 2013 page. This is the markup page: <%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %> <%@ Assembly ...
0
votes
1answer
52 views

Quick Launch Menu Selector

The objective is to increase the size of the menu within the fly-out. I applied the script below. The only thing highlight that highlights the menu item when you hoover over does not appear any ...
0
votes
1answer
398 views

Make promoted links responsive

I have managed to add some JavaScript that I found here and almost get my promoted links to be responsive. The only issue is that when my screen gets below a resolution of approximately 900px the ...
1
vote
1answer
45 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 ...
0
votes
1answer
152 views

Update to Custom CSS in Master Page Not Reflected

This is a follow up to my question here. A custom CSS file is referenced in my customer master page, like this: <SharePoint:CssRegistration Name="/_catalogs/masterpage/custom.css" ...
0
votes
0answers
25 views

Masterpage template not loading completely

We recently migrated our SharePoint server to a new server. After the migration the site showed correctly, but after we attempedt to modify the masterpage the custom css files are no longer being ...
1
vote
1answer
47 views

Add divs on the SP master page header?

I am new to sharepoint design or design in general and I have just started learning css. Can someone show me how to insert divs in the master page's header as it is shown in the print screen below? ...
0
votes
0answers
41 views

DOM Manipulation Improvement

I am using jQuery selectors as post processors in my SharePoint application - jQuery post processing works out well in terms of DOM manipulation but the performance is extremely slow. Can anyone ...
1
vote
0answers
102 views

CSS not rendering in SharePoint 2010

I have created a CEWP in which I have been displaying custom page. I have created a library within which I have stored all my text, css, js, img (separate folder). To call all these files, I have ...
1
vote
0answers
51 views

Page view in normal Chrome browser and as SharePoint site page

I have created a page using HTML and CSS table and tried to display this page as a SharePoint site page. However when i viewed this page as SharePoint site page all the divs got jumbled up and was ...
0
votes
1answer
61 views

AspNet TreeView - UI Issues

I must admit I don't take pride in my UI skills - I have been working towards a SP Webpart functionality that involves 3 custom Treeviews of varying document libraries. Issue with AspNet TreeView is ...
0
votes
1answer
58 views

How do I stop a list overflowing its webpart and overwriting the webparts below it?

I am using SharePoint 2010. I created three linked lists and they worked fine. Especially the first list, as it displayed all the records with a scroll bar. This allowed the user to search all the ...
0
votes
0answers
8 views

Unable to add custom css rules or referecne a custom css file inside a site page using “code snippet” [duplicate]

I have added a site page inside my team site. For this site page i want to reference a custom css file. so i did the following :- 1.i upload the custom css (s.css) file inside my "Style library" on a ...
0
votes
1answer
39 views

unable to attached a custom CSS on a site page using “code snippet”

I have added a new aspx site page inside my team site and I want to reference a custom style sheet inside this site page only. So what I did is I edited the page then I chose to add a code snippet, ...
0
votes
0answers
21 views

original CSS of sharepoint corrupted!

I change the original CSS file of SharePoint.I know it is bad idea. now all my site are not working correctly. My question is how i can fix this files or restore to previous?
0
votes
1answer
44 views

custom CSS file

I created a custom CSS file and I linked the file using "Master Page Setting" alternate CSS URL option to the SharePoint 2013 site. It works fine in my computer but it doesn't work from an user's ...
3
votes
1answer
152 views

SharePoint 2013 - Load JavaScript or CSS file only if not in edit mode

From a custom page layout, for a publishing site collection, how can I tell SharePoint 2013 to display... <script> console.log('this should display in non-edit window'); </script> ...
0
votes
1answer
101 views

How do I implement CSS that only effects Wiki pages?

I have a css file referenced in my site's master page that changes the header margins. However, I only want this CSS to affect headers on Wiki pages. I also want to avoid having to use a special class ...
3
votes
1answer
58 views

Change color using CSS Sharepoint Online

I am using one of the default templates for SharePoint branding. How do I easily tweak the color as shown below in SharePoint Online? I Googled with no help. So far I changed the background using a ...
0
votes
0answers
71 views

Picture Library SlideShow - Images off center

I added a Picture Library Slideshow web part, but the images it plays are not aligned properly. There's a giant whitespace between the Web Part title and the image. Does anyone know how to eliminate ...
0
votes
2answers
152 views

Reset/Remove Masterpage style on page layout

I have a problem that requires me to remove all masterpage styles from my layout page and add custom css styles to the layout. I have been able to add the custom css to the layout but don't know how ...
0
votes
0answers
47 views

Cannot save edited file css/js under SiteAssets

For SharePoint development, we only use client side programming (Javascript). I am used to place js or css files under SiteAssets. I have problem with only one of my site. When we upload or copying ...
0
votes
1answer
364 views

Change menu text color on hover

I am trying to get the colour of all text to change when I hover over the menu item/sub-menu item (it goes down multiple levels). Currently it works only when I hover over the text it's self which ...
0
votes
0answers
65 views

How to add custom css to a Sharepoint App (iframe)

I add the contact us form app from the store and I have a custom template in my site collection but the app see so bad, so I need to shande the colors of the app. How can I do that? This is how it ...
0
votes
0answers
59 views

SharePoint 2010 background image

I am having some trouble in applying a background image to my SharePoint home page. I have been able to use the following code on my page to add the image (I have been playing with bits to try and get ...
0
votes
2answers
107 views

CSS strage behaviour: style title with background changes colour according to other elements

I managed to change the style Title with background (of the summary links) by changing one color in the file //domain/_catalogs/theme/Themed/141089E3/controls15-51FFDD78.themedcss The color was ...