Questions tagged [css]

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.

Filter by
Sorted by
Tagged with
0
votes
1answer
2k views

List of reusable CSS classes for Modern UI

Is there a table of all re-usable mdoern CSS classes? That would be useful to have in one place so that we can use them for JSON column formatting or in our custom SPFx webparts? For example, I am ...
0
votes
0answers
15 views

How to add an alert box with Icon in SPFX

Is there any way to add Extra icon on the default alert Popup box? I have also used BootBox alert but getting error: Error: "$.fn.modal" is not defined; please double check you have ...
0
votes
1answer
9 views

How to update margins in SharePoint list

I have received a very weird request from a user today. She wants no space in SharePoint list when they create a new item. Please see below screenshot for more information:
2
votes
1answer
1k 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 ...
0
votes
1answer
31 views

SharePoint Online - Modern Site, Can you add a custom Background Image behind Webparts

I am looking for some assistance - I currently have a request from the CEO to create a custom SharePoint site, which will be used to embed a Microsoft Stream video, however he wants the site to be ...
1
vote
2answers
3k 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 portal, however the changes I made were not applied. I checked the CSS ...
0
votes
1answer
975 views

Change column width in SharePoint 2013 newform, editform, and dispform

I have found many people asking about changing the column width on a list view, but couldn't find much of anything on changing the column width on a form. Essentially, for longer questions, the "title"...
1
vote
1answer
774 views

Fixed Width Master Page Issue: List Item Drop Down Menu Gets Cropped / Cutoff

We have a custom master page that is setup in a Fixed Width format. On pages that have a lot of columns we get overflow scroll bars on the x axis which we are fine with. The issue is that the list ...
0
votes
1answer
25 views

CSS styles are not working in Sharepoint 2016 Server On Premises

I'm working in Sharepoint Server 2016 On Premises site. I edit the site html, css and js in Sharepoint Designer 2013. When I add custom CSS style properties like transform, webkit transform, ms ...
4
votes
1answer
1k views

Modern Site “Highlighted Content” web Part links not working properly

This seems to be a known issue on Microsoft's website. When a new link is created and a filter is added to the highlighted content web part to pull that link it seems to pull the link in a card layout....
1
vote
2answers
38 views

Hide Sharepoint row with JSON

I have a list of people with some data in the columns. I have managed to mark my own row, with my name in one of the columns, to have grey background. Now any one who views the list can find them self ...
1
vote
1answer
45 views

SP2013 List: Hide Total of ms-gb. Show Total of ms-gb2

In a SP2013 List that is grouped by field 1 and then field 2, I need css or jquery help to hide the column totals at the first .ms-gb level but show the totals at the .ms-gb2 level. Thank you!
0
votes
1answer
782 views

Changing the Pagetitle colour will not take effect for the Library titles or when the page title is rendered as <a> link

I have modified my pagetitle tag style colour to be white inside my seatle.master page, using the following CSS :- <h1 id="pageTitle" class="ms-core-pageTitle" style="color:white;float:left;text-...
0
votes
2answers
1k views

Hide nearly all page elements except when user is site admin

I'm feeling my way through being a site collection admin. I have a home page I wish to remove all sharepoint elements and just have a table of buttons. I've done this by added this CSS to a CEWP: <...
0
votes
1answer
29 views

Sharepoint Online Survey | Yes/No (checkbox) > Horizontal Alignment of Box and Text

I am looking for the right approach to align the style of box and text. As of now, the question is shown on top and below comes the box. Taking a look at the underlying HTML, it looks like the two ...
0
votes
1answer
1k views

Allow a SharePoint document to be displayed in a frame

I have a SharePoint list with attachment, I want to display these attachment in a Frame for preview but I get this error: This content cannot be displayed in a frame To help protect the security of ...
0
votes
1answer
814 views

How do I hide some of the questions in the Graphical Summary of Sharepoint 2013 Survey?

Seems like this should be do-able using .css in a CEWP, with something like: div [#h3.ms-standardheader, .ms-vb$="the next question"] {display: none;} ##h3.ms-standardheader, .ms-vb {display: none;} ...
1
vote
1answer
1k views

Unable to Load CSS from the style library using SPFx Extension

I want to load the CSS file from Style Library of the site. I have created the SPFx extension of type Application Customizer. The purpose of the CSS loading is to change the UI of the web parts. I ...
0
votes
3answers
1k views

Modern Sharepoint and Calendar embed?

Any way to embed Modern calendars (like we use to classic) in a Modern pages? I see the events web part, but not the same? Any way to change what fields are shown in the day box in a month view? We ...
0
votes
1answer
798 views

CSS and application pages

I've deployed application page to the site collection and it is used in one modal dialog. Everything works fine, except CSS seems little bit silly. I'm quite sure CSS file is loaded and it even ...
0
votes
1answer
1k views

iframe & removing scroll bars

Hi I have an iframe and I am trying to hide the scroll bar however with the code I'm assuming it doesn't seem to disappear. Any suggestions? <div style="overflow: hidden; margin: 15px auto; max-...
1
vote
1answer
45 views

Using Json to format a columns data. Problems with the styling of a columns height

So I have a column whose data is a multi line field. The problem I am having is it contains a lot of data and stretches out the list. So I tried changing the width and height of the column, but I am ...
0
votes
2answers
2k views

Set background colour of description in tiles

my tiles look like this: I know how to change the darker background (from heading) but how can I change the background of the description (shows up when going with mouse over tile) and the ...
0
votes
1answer
23 views

SP2013 Custom List - Date & Time Column

I have created a custom list on which both date and time needs to be captured on two specific fields. To comply with existing custom formatting on the new and edit forms, I need to re-size the three ...
1
vote
3answers
1k views

Sharepoint Online - Custom CSS in Content Editor web part saves are overwritten

I'm fairly new to sharepoint customisation so have been struggling reading over some threads. I have looked at the following Posts by have been unable to figure out where / what needs to be edited to ...
1
vote
1answer
1k views

How to prevent column filter/sort PopUp menu in List View (XsltListViewWebPart) from being “cut off” when the web part has a fixed width/height

(This is for SharePoint 2013.) I am having a hard time figuring out the "css magic" to prevent the "Pop Up" menu (than appears when you click on a Column in a List View) from "cut off". Basically, ...
0
votes
1answer
19 views

SharePoint Subsite won't allow Inheritance of site master page from parent of this site

One issue I am trying to solve on my SharePoint site has to do with the Master Page itself, especially on the main site (domain.sharepoint.com). The master page contains headers (some single, some are ...
0
votes
1answer
2k views

How to make modern SharePoint site full width

Has anyone had any luck in making their modern SP site utilise the full width of the web page? I have a requirement to embed the "Planner" app onto a SP site, but would like to also remove the massive ...
1
vote
1answer
945 views

SP foundation 2013 master page to HTML

How to convert the master-page to the HTML. I've made changes to CSS (which i want to use) and i found the only way to do so by adding it to the HTML conversion of the master page. I'm new to the ...
0
votes
1answer
899 views

not able to override bootstrap css in my style sheet

I have created my own stylesheet and wish to override some bootstrap functionality. I am referencing css in my .aspx page as below <SharePoint:CssRegistration name="&lt;% $SPUrl:~...
0
votes
0answers
9 views

I need to automate a list data so that it will show a tab using details from the list

I have a custom sharepoint list where I am saving some project details(list columns). These project details, I am showing on the home page as different small tabs. for reference I am adding a paint ...
1
vote
1answer
924 views

How to show bullet for 2nd level link in current navigation?

My current navigation is like below: Page1 - Link1 - Link2 I want to show "arrow" for Page1 and "bullets" for "Link1" and "Link2". I am able to do the "arrow" part using the following code: ....
0
votes
1answer
1k views

double click on list row to open view form SharePoint 2013

Normally list items needs title field to open the item in edit/view form. I was just wondering is there any way to remove the title field and from the view and allow user to click on the row to open ...
0
votes
1answer
1k views

SharePoint 2013 - Imageslider / image are not ajusting to web part zone (width)

No. Adjust height to fit zone. - Do not work for images / imageslider. Problem: I've inserted imageslider into a web part, and using the property "no. Adjust height to fit zone". But the images do ...
1
vote
2answers
37 views

Unable to permanently change the font size and weight inside a sharepoint modern page (the class name keeps changinag)

I have added the list modern web part inside a sharepoint modern page >> and i need to change the font size and weight >> so using the F12 dev tools i inspected the related class (.root-...
2
votes
1answer
1k views

Resize content search webpart slideshow to fit across page SP2013

I would like to use a content search webpart slideshow mode as the banner across the top of my share point page. When I add in the webpart, it is aligned to the left and only half of the size of the ...
0
votes
1answer
1k views

Group by field using jQuery

Say I didn't want to use the Group By option in an out of the box view to group my list by a certain field. Is there a way to achieve this using jQuery, JavaScript or something other front-end code?
1
vote
1answer
805 views

SharePoint Online - How to display the links of a summary link web part in a Horizontal Manner?

I am trying to display links of a Summary Link web part in horizontal pattern. I am not good in CSS to make these changes. Please let me know if there is another way to do it? If the only way is ...
1
vote
2answers
1k 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" type="text/...
1
vote
2answers
1k 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 ...
1
vote
2answers
33 views

Simple Modal SP Online (2013) - not working

<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style> body {font-family: Arial, Helvetica, sans-serif;} /* The Modal (...
0
votes
1answer
26 views

SharePoint : Workflow > Send an Email > Customizations (CSS)

I'm customizing the body of an email send by SharePoint's Workflow action "Send an Email". Knowing that this action does not support what's inserted in the <"style"></&...
0
votes
1answer
21 views

Overwriting termstoremanager.css?

I have tried all solutions to overwrite the TmtTree class in the termstoremanager.css - to no avail (Can't overwrite that css right?). So I added the class to my core.css to overwrite the default ...
0
votes
1answer
2k views

Add a background image to Site Page that stretches to fill the background

I am working in SharePoint 2010. I want to show a background image on the home page, that stretches to fill the entire content area. I have this in a Content Editor web part: <style> .bgimg { ...
1
vote
1answer
505 views

Can i hide the Site Title area from our home page inside our sharepoint online team site's modern page

I am working on an online team site collection title "Sharing", and i have created a new modern page which i set as the home page for my site. so now the home page looks as follow:- but i ...
2
votes
4answers
2k views

For SPO is there currently a way to change the CSS classes for the Modern Pages?

For SharePoint Online Modern Pages, is there a way to alter existing Modern CSS on the pages (I think fabric UI is the actual style, not just the CSS style used to make classic pages look modern)? Not ...
0
votes
0answers
23 views

Lock down page and have web part zones at certain points

Need help with a layout using custom CSS and JS. Want to lock down page and have web part zones at certain points I have a standard page that was blank. On this, I added some custom CSS and JS and ...
0
votes
1answer
24 views

SharePoint Page Title Does Not Change

So I have created a bunch of SharePoint site pages where the title is just the SiteName.aspx in the Web Browser's title bar. By default, the SharePoint title also appears in the top left of the ...
1
vote
2answers
1k views

SharePoint App Subsite MIME Issue

I have a 2013 App / Add-in deployed in two places. The parent site app deploy looks good and inherits the Master Page and CSS. http://app-98619708df59c5.testapps.com/sites/testapp/AppURL/Pages/...
1
vote
2answers
2k views

Add css class to webpart cell

I'm developing my custom web part. Code generated by SharePoint is below: <div id="MSOZoneCell_WebPartctl00_ctl39_TestTile" class="s4-wpcell-plain ms-webpartzone-cell ms-webpart-cell-vertical ms-...

1
2 3 4 5
23